MFEM v4.8.0
Finite element discretization library
Loading...
Searching...
No Matches
mfem::AdaptivityEvaluator Class Referenceabstract

#include <tmop.hpp>

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

Public Member Functions

 AdaptivityEvaluator ()
 
virtual ~AdaptivityEvaluator ()
 
void SetSerialMetaInfo (const Mesh &m, const FiniteElementSpace &f)
 
void SetParMetaInfo (const ParMesh &m, const ParFiniteElementSpace &f)
 Parallel version of SetSerialMetaInfo.
 
virtual void SetInitialField (const Vector &init_nodes, const Vector &init_field)=0
 
virtual void SetNewFieldFESpace (const FiniteElementSpace &fes)=0
 
virtual void ComputeAtNewPosition (const Vector &new_mesh_nodes, Vector &new_field, int nodes_ordering=Ordering::byNODES)=0
 Perform field transfer between the original and a new mesh. The source mesh and field are given by SetInitialField().
 
virtual void ComputeAtGivenPositions (const Vector &positions, Vector &values, int p_ordering=Ordering::byNODES)=0
 Using the source mesh and field given by SetInitialField(), compute corresponding values at specified physical positions.
 
void ClearGeometricFactors ()
 

Protected Attributes

Meshmesh
 
FiniteElementSpacefes
 
ParMeshpmesh
 
ParFiniteElementSpacepfes
 

Detailed Description

Definition at line 1404 of file tmop.hpp.

Constructor & Destructor Documentation

◆ AdaptivityEvaluator()

mfem::AdaptivityEvaluator::AdaptivityEvaluator ( )
inline

Definition at line 1418 of file tmop.hpp.

◆ ~AdaptivityEvaluator()

mfem::AdaptivityEvaluator::~AdaptivityEvaluator ( )
virtual

Definition at line 3472 of file tmop.cpp.

Member Function Documentation

◆ ClearGeometricFactors()

void mfem::AdaptivityEvaluator::ClearGeometricFactors ( )

Definition at line 3463 of file tmop.cpp.

◆ ComputeAtGivenPositions()

virtual void mfem::AdaptivityEvaluator::ComputeAtGivenPositions ( const Vector & positions,
Vector & values,
int p_ordering = Ordering::byNODES )
pure virtual

Using the source mesh and field given by SetInitialField(), compute corresponding values at specified physical positions.

Parameters
[in]positionsPhysical positions to compute values.
[out]valuesComputed field values.
[in]p_orderingOrdering of the positions Vector.

Implemented in mfem::AdvectorCG, and mfem::InterpolatorFP.

◆ ComputeAtNewPosition()

virtual void mfem::AdaptivityEvaluator::ComputeAtNewPosition ( const Vector & new_mesh_nodes,
Vector & new_field,
int nodes_ordering = Ordering::byNODES )
pure virtual

Perform field transfer between the original and a new mesh. The source mesh and field are given by SetInitialField().

Parameters
[in]new_mesh_nodesMesh node positions of the new mesh (ldofs). It is assumed that this is the field's mesh.
[out]new_fieldResult of the transfer (ldofs).
[in]nodes_orderingOrdering of new_mesh_nodes.

Implemented in mfem::AdvectorCG, and mfem::InterpolatorFP.

◆ SetInitialField()

virtual void mfem::AdaptivityEvaluator::SetInitialField ( const Vector & init_nodes,
const Vector & init_field )
pure virtual

Implemented in mfem::AdvectorCG, and mfem::InterpolatorFP.

◆ SetNewFieldFESpace()

virtual void mfem::AdaptivityEvaluator::SetNewFieldFESpace ( const FiniteElementSpace & fes)
pure virtual

Called when the FE space of the final field is different than the FE space of the initial field.

Implemented in mfem::AdvectorCG, and mfem::InterpolatorFP.

◆ SetParMetaInfo()

void mfem::AdaptivityEvaluator::SetParMetaInfo ( const ParMesh & m,
const ParFiniteElementSpace & f )

Parallel version of SetSerialMetaInfo.

Definition at line 3452 of file tmop.cpp.

◆ SetSerialMetaInfo()

void mfem::AdaptivityEvaluator::SetSerialMetaInfo ( const Mesh & m,
const FiniteElementSpace & f )

Specifies the Mesh and FiniteElementSpace of the solution that will be evaluated. The given mesh will be copied into the internal object.

Definition at line 3441 of file tmop.cpp.

Member Data Documentation

◆ fes

FiniteElementSpace* mfem::AdaptivityEvaluator::fes
protected

Definition at line 1409 of file tmop.hpp.

◆ mesh

Mesh* mfem::AdaptivityEvaluator::mesh
protected

Definition at line 1408 of file tmop.hpp.

◆ pfes

ParFiniteElementSpace* mfem::AdaptivityEvaluator::pfes
protected

Definition at line 1414 of file tmop.hpp.

◆ pmesh

ParMesh* mfem::AdaptivityEvaluator::pmesh
protected

Definition at line 1413 of file tmop.hpp.


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