MFEM v4.8.0
Finite element discretization library
Loading...
Searching...
No Matches
mfem::InterpolatorFP Class Reference

#include <tmop_tools.hpp>

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

Public Member Functions

 InterpolatorFP ()
 
void SetInitialField (const Vector &init_nodes, const Vector &init_field) override
 
virtual void SetNewFieldFESpace (const FiniteElementSpace &fes) override
 
void ComputeAtNewPosition (const Vector &new_mesh_nodes, Vector &new_field, int nodes_ordering=Ordering::byNODES) override
 
void ComputeAtGivenPositions (const Vector &positions, Vector &values, int p_ordering=Ordering::byNODES) override
 Direct interpolation of field0_gf at the given positions.
 
const FindPointsGSLIBGetFindPointsGSLIB () const
 
 ~InterpolatorFP ()
 
- 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.
 
void ClearGeometricFactors ()
 

Additional Inherited Members

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

Detailed Description

Definition at line 72 of file tmop_tools.hpp.

Constructor & Destructor Documentation

◆ InterpolatorFP()

mfem::InterpolatorFP::InterpolatorFP ( )
inline

Definition at line 82 of file tmop_tools.hpp.

◆ ~InterpolatorFP()

mfem::InterpolatorFP::~InterpolatorFP ( )
inline

Definition at line 112 of file tmop_tools.hpp.

Member Function Documentation

◆ ComputeAtGivenPositions()

void mfem::InterpolatorFP::ComputeAtGivenPositions ( const Vector & positions,
Vector & values,
int p_ordering = Ordering::byNODES )
overridevirtual

Direct interpolation of field0_gf at the given positions.

Implements mfem::AdaptivityEvaluator.

Definition at line 416 of file tmop_tools.cpp.

◆ ComputeAtNewPosition()

void mfem::InterpolatorFP::ComputeAtNewPosition ( const Vector & new_mesh_nodes,
Vector & new_field,
int nodes_ordering = Ordering::byNODES )
overridevirtual

Perform interpolation-based remap. Assumptions when SetNewFieldFESpace() has not been called: new_field is of the same FE space and mesh as field0.

Implements mfem::AdaptivityEvaluator.

Definition at line 386 of file tmop_tools.cpp.

◆ GetFindPointsGSLIB()

const FindPointsGSLIB * mfem::InterpolatorFP::GetFindPointsGSLIB ( ) const
inline

Definition at line 107 of file tmop_tools.hpp.

◆ SetInitialField()

void mfem::InterpolatorFP::SetInitialField ( const Vector & init_nodes,
const Vector & init_field )
overridevirtual

Implements mfem::AdaptivityEvaluator.

Definition at line 347 of file tmop_tools.cpp.

◆ SetNewFieldFESpace()

virtual void mfem::InterpolatorFP::SetNewFieldFESpace ( const FiniteElementSpace & fes)
inlineoverridevirtual

Must be called when the FE space of the final field is different than the FE space of the initial field. This also includes the case when the initial and final fields are on different meshes.

Implements mfem::AdaptivityEvaluator.

Definition at line 90 of file tmop_tools.hpp.


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