Open tarun-mitruka opened 3 weeks ago
Attention: Patch coverage is 84.61538%
with 16 lines
in your changes missing coverage. Please review.
Project coverage is 91.37%. Comparing base (
1f6d41c
) to head (26463d8
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
globalIndexFromGlobalPosition
can be used along withfixIthDOF
to fix Dirichlet DOFs at specific Lagrange nodes.AssemblerManipulator
can be used to manipulate assembled quantities, for example to add point forcesHighlights: Introduced the function
forEachLagrangeNodePosition
that helps traversing over the local coordinates of an element and call a user-desired function. This can then be called via other helper functions likeobtainLagrangeGlobalNodePositions
to get the global coordinates or viaglobalIndexFromGlobalPosition
to the global index at a given global position. For example,These helper functions can be further be used with
AssemblerManipulator
to manipulate assembled quantities. For example, we can define the lambda functionsand bind it to the assemblers via
to manipulate the assembled quantities. Here, the scalar quantity
mechanicalPotentialEnergy
is doubled twice, point loads and additional spring stiffness are added for the DOFs at the givenpos
Python bindings for these functionalities will be added soon.