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
mpc_coupled_transport hard-codes the "surface" region as the coupling region for surface flow. Typically "surface" is a 3D face region in the subsurface mesh, and is not valid in the 2D surface mesh. Changes to Amanzi seem to have exposed this error in both ATS code and tests.
Instead, "surface domain" is typically used to indicate the entire 2D surface domain.
That said, this is not required, so this MPC should get this region name from the user (defaulting to "surface domain") rather than hard-coding it.
The text was updated successfully, but these errors were encountered:
ecoon
added a commit
to amanzi/ats-regression-tests
that referenced
this issue
Jan 26, 2022
I fixed the incorrect name, changing "surface" --> "surface domain".
This mpc still needs some cleanup:
mpc_coupled_transport.cc:33 -- what happens when we try to use transport on subdomains, and "domain" is not the subsurface? This cannot be hard-coded. We can expect the user to provide the PKs in the correct order, e.g. pk_order[0] is the surface or subsurface, but it isn't ok to select this based on a magic domain name.
line 113: hard-coded names must go
lines 162 & 173: ask the user for the names of these regions. They can default to "surface" and "surface domain", respectively, but they should be settable on the input spec.
mpc_coupled_transport hard-codes the "surface" region as the coupling region for surface flow. Typically "surface" is a 3D face region in the subsurface mesh, and is not valid in the 2D surface mesh. Changes to Amanzi seem to have exposed this error in both ATS code and tests.
Instead, "surface domain" is typically used to indicate the entire 2D surface domain.
That said, this is not required, so this MPC should get this region name from the user (defaulting to "surface domain") rather than hard-coding it.
The text was updated successfully, but these errors were encountered: