MFEM  v4.6.0
Finite element discretization library
Public Member Functions | List of all members
mfem::AdvectorCG Class Reference

#include <tmop_tools.hpp>

Inheritance diagram for mfem::AdvectorCG:
[legend]
Collaboration diagram for mfem::AdvectorCG:
[legend]

Public Member Functions

 AdvectorCG (AssemblyLevel al=AssemblyLevel::LEGACY, double timestep_scale=0.5)
 
virtual void SetInitialField (const Vector &init_nodes, const Vector &init_field)
 
virtual void ComputeAtNewPosition (const Vector &new_nodes, Vector &new_field, int new_nodes_ordering=Ordering::byNODES)
 
void SetMemoryType (MemoryType mt)
 
- Public Member Functions inherited from mfem::AdaptivityEvaluator
 AdaptivityEvaluator ()
 
virtual ~AdaptivityEvaluator ()
 
void SetSerialMetaInfo (const Mesh &m, const FiniteElementSpace &f)
 
void SetParMetaInfo (const ParMesh &m, const ParFiniteElementSpace &f)
 Parallel version of SetSerialMetaInfo. More...
 
void ClearGeometricFactors ()
 

Additional Inherited Members

- Protected Attributes inherited from mfem::AdaptivityEvaluator
Meshmesh
 
FiniteElementSpacefes
 
ParMeshpmesh
 
ParFiniteElementSpacepfes
 

Detailed Description

Definition at line 24 of file tmop_tools.hpp.

Constructor & Destructor Documentation

◆ AdvectorCG()

mfem::AdvectorCG::AdvectorCG ( AssemblyLevel  al = AssemblyLevel::LEGACY,
double  timestep_scale = 0.5 
)
inline

Definition at line 36 of file tmop_tools.hpp.

Member Function Documentation

◆ ComputeAtNewPosition()

void mfem::AdvectorCG::ComputeAtNewPosition ( const Vector new_nodes,
Vector new_field,
int  new_nodes_ordering = Ordering::byNODES 
)
virtual

Implements mfem::AdaptivityEvaluator.

Definition at line 29 of file tmop_tools.cpp.

◆ SetInitialField()

void mfem::AdvectorCG::SetInitialField ( const Vector init_nodes,
const Vector init_field 
)
virtual

Implements mfem::AdaptivityEvaluator.

Definition at line 22 of file tmop_tools.cpp.

◆ SetMemoryType()

void mfem::AdvectorCG::SetMemoryType ( MemoryType  mt)
inline

Set the memory type used for large memory allocations. This memory type is used when constructing the AdvectorCGOper but currently only for the parallel variant.

Definition at line 51 of file tmop_tools.hpp.


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