Auxiliary class to extract locations of nodes in MFEM GridFunctions and project values defined at them to set DoFs. More...
#include <MFEMNodalProjector.h>
Public Member Functions | |
| MFEMNodalProjector ()=default | |
| void | extractNodePositions (const mfem::ParFiniteElementSpace &fespace, mfem::Vector &node_positions, mfem::Ordering::Type &node_ordering) |
| Extract node positions from MFEM FESpace at which projection will take place. More... | |
| void | projectNodalValues (const mfem::Vector &nodal_vals, const mfem::Ordering::Type &nodal_val_ordering, mfem::ParGridFunction &gridfunction) |
| Project a vector of values provided at projection points (nodes) to set GridFunction DoFs. More... | |
Auxiliary class to extract locations of nodes in MFEM GridFunctions and project values defined at them to set DoFs.
Definition at line 22 of file MFEMNodalProjector.h.
|
default |
| void MFEMNodalProjector::extractNodePositions | ( | const mfem::ParFiniteElementSpace & | fespace, |
| mfem::Vector & | node_positions, | ||
| mfem::Ordering::Type & | node_ordering | ||
| ) |
Extract node positions from MFEM FESpace at which projection will take place.
Definition at line 17 of file MFEMNodalProjector.C.
Referenced by MultiApplibMeshToMFEMShapeEvaluationTransfer::transferVariables(), and MultiAppMFEMShapeEvaluationTransfer::transferVariables().
| void MFEMNodalProjector::projectNodalValues | ( | const mfem::Vector & | nodal_vals, |
| const mfem::Ordering::Type & | nodal_val_ordering, | ||
| mfem::ParGridFunction & | gridfunction | ||
| ) |
Project a vector of values provided at projection points (nodes) to set GridFunction DoFs.
Definition at line 53 of file MFEMNodalProjector.C.
Referenced by MultiApplibMeshToMFEMShapeEvaluationTransfer::transferVariables(), and MultiAppMFEMShapeEvaluationTransfer::transferVariables().
1.8.14