Hypnotoad: add checkbox to output metrics for orthogonal coordinates#1562
Hypnotoad: add checkbox to output metrics for orthogonal coordinates#1562
Conversation
Add a checkbox to the 'Output' tab, which if selected outputs metrics for orthogonal coordinates (i.e. using ShiftedMetric), by setting the integrated shear to zero, I=0, when calculating the metric components.
|
This raises a point: Should grid files have some flag which specifies what kind of coordinate system they contain? Particularly if the g** fields are given, then these should be for shifted metric or field-aligned etc. Some kind of mesh type identifier, probably with a version number for forward compatibility. This should either specify what paralleltransform is, or at least there could be a check for consistency. |
|
I think grid files should say what type of coordinates they use for g**. I've had a stab at adding a flag to the grid file to specify the type of coordinates: hypnotoad-shiftedmetric-output...hypnotoad-shiftedmetric-output-coord-system-labelling. That branch uses 'generic' labels. It adds a Agree some kind of version numbering would be good. We could:
2's easier to check if the version is newer/older than something, but I don't see a way of making it automatic. Any preferences or other options? |
Add a checkbox to the 'Output' tab, which if selected outputs metrics for orthogonal coordinates (i.e. using ShiftedMetric), by setting the integrated shear to zero, I=0, when calculating the metric components.