MFEM  v4.6.0
Finite element discretization library
Public Member Functions | List of all members
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 double Eval (const Vector &x, const Vector &x0, double d) const =0
 Returns the limiting function, f(x, x0, d). More...
 
virtual void Eval_d1 (const Vector &x, const Vector &x0, double dist, Vector &d1) const =0
 Returns the gradient of the limiting function f(x, x0, d) with respect to x. More...
 
virtual void Eval_d2 (const Vector &x, const Vector &x0, double dist, DenseMatrix &d2) const =0
 Returns the Hessian of the limiting function f(x, x0, d) with respect to x. More...
 
virtual ~TMOP_LimiterFunction ()
 Virtual destructor. More...
 

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 1167 of file tmop.hpp.

Constructor & Destructor Documentation

◆ ~TMOP_LimiterFunction()

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

Virtual destructor.

Definition at line 1184 of file tmop.hpp.

Member Function Documentation

◆ Eval()

virtual double mfem::TMOP_LimiterFunction::Eval ( const Vector x,
const Vector x0,
double  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,
double  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,
double  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: