![]() |
MFEM v4.8.0
Finite element discretization library
|
ParTransferMap represents a mapping of degrees of freedom from a source ParGridFunction to a destination ParGridFunction. More...
#include <ptransfermap.hpp>
Public Member Functions | |
| ParTransferMap (const ParFiniteElementSpace &src, const ParFiniteElementSpace &dst) | |
| Construct a new ParTransferMap object which transfers degrees of freedom from the source ParFiniteElementSpace to the destination ParFiniteElementSpace. | |
| ParTransferMap (const ParGridFunction &src, const ParGridFunction &dst) | |
| Construct a new ParTransferMap object which transfers degrees of freedom from the source ParGridFunction to the destination ParGridFunction. | |
| void | Transfer (const ParGridFunction &src, ParGridFunction &dst) const |
| Transfer the source ParGridFunction to the destination ParGridFunction. | |
ParTransferMap represents a mapping of degrees of freedom from a source ParGridFunction to a destination ParGridFunction.
This map can be constructed from a parent ParMesh to a ParSubMesh or vice versa. Additionally one can create it between two ParSubMeshes that share the same root parent. In this case, a supplemental ParFiniteElementSpace is created on the root parent ParMesh to transfer degrees of freedom.
Definition at line 31 of file ptransfermap.hpp.
| ParTransferMap::ParTransferMap | ( | const ParFiniteElementSpace & | src, |
| const ParFiniteElementSpace & | dst ) |
Construct a new ParTransferMap object which transfers degrees of freedom from the source ParFiniteElementSpace to the destination ParFiniteElementSpace.
| src | The source ParFiniteElementSpace |
| dst | The destination ParFiniteElementSpace |
Definition at line 22 of file ptransfermap.cpp.
| ParTransferMap::ParTransferMap | ( | const ParGridFunction & | src, |
| const ParGridFunction & | dst ) |
Construct a new ParTransferMap object which transfers degrees of freedom from the source ParGridFunction to the destination ParGridFunction.
Equivalent to creating the ParTransferMap using the spaces on which the ParGridFunctions are defined.
| src | The source ParGridFunction |
| dst | The destination ParGridFunction |
Definition at line 137 of file ptransfermap.cpp.
| void ParTransferMap::Transfer | ( | const ParGridFunction & | src, |
| ParGridFunction & | dst ) const |
Transfer the source ParGridFunction to the destination ParGridFunction.
Uses the precomputed maps for the transfer.
| src | The source ParGridFunction |
| dst | The destination ParGridFunction |
Definition at line 142 of file ptransfermap.cpp.