Access getMesh() protected method for non meshgenerators #31131
Unanswered
lipohlmann
asked this question in
Q&A General
Replies: 1 comment 1 reply
-
|
Hi Liam Are you using multiple meshes? If not, then use the If so, then you can use the "save_in" option of mesh generators to save a mesh, and then retrieve it using the MeshGeneratorSystem::getSavedMesh |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Check these boxes if you have followed the posting rules.
Question
Hello all!
I am working to develop a SurfaceFluxGenerator in Magpie. To do this, I am having the user specify the boundary and the mesh on which the boundary exists. Within the class, methods have been developed to determine the boundary surface area and a weighted CDF for particle sampling. The issue is that the
getMesh()method is not available because this userobject does not inherit from MeshGenerator. Would anyone have any suggestions for how to go about getting access to this and its dependent methods in order to pull in the mesh correctly? Or would there be a better way to access the boundary mesh?Header file:
Source File:
Beta Was this translation helpful? Give feedback.
All reactions