MFEM v4.7.0
Finite element discretization library
Loading...
Searching...
No Matches
mfem::TMOP_LimiterFunction Class Referenceabstract

Base class for limiting functions to be used in class TMOP_Integrator. More...

#include <tmop.hpp>

Inheritance diagram for mfem::TMOP_LimiterFunction:
[legend]

Public Member Functions

virtual real_t Eval (const Vector &x, const Vector &x0, real_t d) const =0
 Returns the limiting function, f(x, x0, d).
 
virtual void Eval_d1 (const Vector &x, const Vector &x0, real_t dist, Vector &d1) const =0
 Returns the gradient of the limiting function f(x, x0, d) with respect to x.
 
virtual void Eval_d2 (const Vector &x, const Vector &x0, real_t dist, DenseMatrix &d2) const =0
 Returns the Hessian of the limiting function f(x, x0, d) with respect to x.
 
virtual ~TMOP_LimiterFunction ()
 Virtual destructor.
 

Detailed Description

Base class for limiting functions to be used in class TMOP_Integrator.

This class represents a scalar function f(x, x0, d), where x and x0 are positions in physical space, and d is a reference physical distance associated with the point x0.

Definition at line 1171 of file tmop.hpp.

Constructor & Destructor Documentation

◆ ~TMOP_LimiterFunction()

virtual mfem::TMOP_LimiterFunction::~TMOP_LimiterFunction ( )
inlinevirtual

Virtual destructor.

Definition at line 1188 of file tmop.hpp.

Member Function Documentation

◆ Eval()

virtual real_t mfem::TMOP_LimiterFunction::Eval ( const Vector & x,
const Vector & x0,
real_t d ) const
pure virtual

Returns the limiting function, f(x, x0, d).

Implemented in mfem::TMOP_ExponentialLimiter, and mfem::TMOP_QuadraticLimiter.

◆ Eval_d1()

virtual void mfem::TMOP_LimiterFunction::Eval_d1 ( const Vector & x,
const Vector & x0,
real_t dist,
Vector & d1 ) const
pure virtual

Returns the gradient of the limiting function f(x, x0, d) with respect to x.

Implemented in mfem::TMOP_ExponentialLimiter, and mfem::TMOP_QuadraticLimiter.

◆ Eval_d2()

virtual void mfem::TMOP_LimiterFunction::Eval_d2 ( const Vector & x,
const Vector & x0,
real_t dist,
DenseMatrix & d2 ) const
pure virtual

Returns the Hessian of the limiting function f(x, x0, d) with respect to x.

Implemented in mfem::TMOP_ExponentialLimiter, and mfem::TMOP_QuadraticLimiter.


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