ENH: add directionalMeshWave functionality
Summary
For a given point within a given mesh, the existing meshWave
method gives
the orthogonal distance to a patch. In meshes with very steep terrain (e.g.
a hill of 90 [deg]), this might be problematic for the fields that require
the distance to the patch associated with the terrain surface.
directionalMeshWave
is a variant of meshWave
distance-to-patch method,
which ignores the component in the specified direction. Can be used e.g. to
calculate the distance in the z-direction only.
Requirement by CENER Implementation by Mattijs Janssens
Resolved bugs (If applicable)
None
Details of new models (If applicable)
meshWave
directionalMeshWave
Risks
None
Merge request reports
Activity
changed milestone to %v2006
added enhancement label
no output difference in
tutorial/mesh/moveDynamicMesh/SnakeCanyon
withmeshWave
. I think its effect will only be present when there will be escarpments or steep slopes in mesh domain.changed
contiguous
funcs based on Mark's warnings, with 'is_contiguous' structs, and removedtensor*
variants ofcontiguous
there. plus, some cosmetics.compiled with gcc7.4.
if everything is fine for you as well, it is good to go.
mentioned in commit aeebdc3c