MFEM  v4.5.1
Finite element discretization library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | List of all members
mfem::ParTransferMap Class Reference

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 ()
 

Detailed Description

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 30 of file ptransfermap.hpp.

Constructor & Destructor Documentation

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.

Parameters
srcThe source ParGridFunction
dstThe destination ParGridFunction

Definition at line 22 of file ptransfermap.cpp.

ParTransferMap::~ParTransferMap ( )

Definition at line 217 of file ptransfermap.cpp.

Member Function Documentation

void ParTransferMap::Transfer ( const ParGridFunction src,
ParGridFunction dst 
) const

Transfer the source ParGridFunction to the destination ParGridFunction.

Uses the precomputed maps for the transfer.

Parameters
srcThe source ParGridFunction
dstThe destination ParGridFunction

Definition at line 100 of file ptransfermap.cpp.


The documentation for this class was generated from the following files: