MFEM
v4.6.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 ParGridFunction &src, const ParGridFunction &dst) | |
Construct a new ParTransferMap object which transfers degrees of freedom from the source ParGridFunction to the destination ParGridFunction. More... | |
void | Transfer (const ParGridFunction &src, ParGridFunction &dst) const |
Transfer the source ParGridFunction to the destination ParGridFunction. More... | |
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 ParGridFunction & | src, |
const ParGridFunction & | dst | ||
) |
Construct a new ParTransferMap object which transfers degrees of freedom from the source ParGridFunction to the destination ParGridFunction.
src | The source ParGridFunction |
dst | The destination ParGridFunction |
Definition at line 22 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 159 of file ptransfermap.cpp.