You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This means that if you load in a nonorthogonal grid, Hermes-3 will crash with the message:
====== Exception thrown ======
g22 is not finite at (0, 2)
I have to admit I don't know what we use loadmetric.cxx for. Is it when we don't have metric coefficients already, for example if someone defines the grid in the input file instead of reading it from Hypnotoad? If this is true, then I guess I shouldn't be using it.. and maybe it shouldn't be the default, or there should be some verbosity to prevent this issue happening in the future.
The text was updated successfully, but these errors were encountered:
If
loadmetric.cxx
is used to recalculate the metric coefficients, it will calculateg22
fromhthe
:hermes-3/src/loadmetric.cxx
Line 48 in 784d621
But if you create a nonorthogonal grid with Hypnotoad,
hthe
will not be saved and will be zero when read into Hermes-3:https://github.com/boutproject/hypnotoad/blob/d8e6be6086b9c27aa1e1011713e10d829e5dc6d2/hypnotoad/core/mesh.py#L3745-L3747
This means that if you load in a nonorthogonal grid, Hermes-3 will crash with the message:
I have to admit I don't know what we use
loadmetric.cxx
for. Is it when we don't have metric coefficients already, for example if someone defines the grid in the input file instead of reading it from Hypnotoad? If this is true, then I guess I shouldn't be using it.. and maybe it shouldn't be the default, or there should be some verbosity to prevent this issue happening in the future.The text was updated successfully, but these errors were encountered: