-
Notifications
You must be signed in to change notification settings - Fork 239
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RM/HM/LIE-HM interpolated pressure #2228
Conversation
In release build they do not pass.
This is copy from LIE/HM and needs to be generalized.
Before the globbing didn't find any files because they were prefixed with expected_. Renamed. Added pressure_interpolated output.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
only minor comments.
/// | ||
/// The base nodes' values are copied. For each higher order node the shape | ||
/// matrices are evaluated for the lower order element (the base nodes), and | ||
/// used for the the scalar quantity interpolation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe it should be mentioned that the node_values belong to a scalar field.
{ | ||
// Evaluated at higher order nodes' coordinates. | ||
fe.template computeShapeFunctions<ShapeMatrixType::N>( | ||
NaturalCoordinates<HigherOrderMeshElementType>::coordinates[n] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The HigherOrderMeshElementType
is the "true" type of element
, isn't it? Maybe that could be commented
or asserted: assert(dynamic_cast<HigherOrderMeshElementType*>(&element));
.
.data(), | ||
shape_matrices, GlobalDim, is_axially_symmetric); | ||
|
||
std::size_t const global_index = element.getNodeIndex(n); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does that work with domain decomposition?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think so, because the node numbering is local for each partition, and so are the mesh properties...
OpenGeoSys development has been moved to GitLab. |
Move LIE/HM interpolate_pressure to
NumLib::interpolateToHigherOrderNodes
.Use in RichardsMechanics and HydroMechanics processes.