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

Base class for representing function at integration points. More...

#include <mtop_integrators.hpp>

Inheritance diagram for mfem::BaseQFunction:
[legend]

Public Member Functions

virtual ~BaseQFunction ()
 
virtual std::string GetType ()=0
 Returns a user defined string identifying the function.
 
virtual real_t QEnergy (ElementTransformation &T, const IntegrationPoint &ip, mfem::Vector &dd, mfem::Vector &uu)
 
virtual void QResidual (ElementTransformation &T, const IntegrationPoint &ip, mfem::Vector &dd, mfem::Vector &uu, mfem::Vector &rr)=0
 
virtual void QGradResidual (ElementTransformation &T, const IntegrationPoint &ip, mfem::Vector &dd, mfem::Vector &uu, mfem::DenseMatrix &hh)=0
 Returns the gradient of the residual at a integration point.
 
virtual void AQResidual (ElementTransformation &T, const IntegrationPoint &ip, mfem::Vector &dd, mfem::Vector &uu, mfem::Vector &aa, mfem::Vector &rr)=0
 

Detailed Description

Base class for representing function at integration points.

Definition at line 24 of file mtop_integrators.hpp.

Constructor & Destructor Documentation

◆ ~BaseQFunction()

virtual mfem::BaseQFunction::~BaseQFunction ( )
inlinevirtual

Definition at line 27 of file mtop_integrators.hpp.

Member Function Documentation

◆ AQResidual()

virtual void mfem::BaseQFunction::AQResidual ( ElementTransformation & T,
const IntegrationPoint & ip,
mfem::Vector & dd,
mfem::Vector & uu,
mfem::Vector & aa,
mfem::Vector & rr )
pure virtual

Returns the gradient of the residual with respect to the design parameters, multiplied by the adjoint.

Implemented in mfem::QLinearDiffusion.

◆ GetType()

virtual std::string mfem::BaseQFunction::GetType ( )
pure virtual

Returns a user defined string identifying the function.

Implemented in mfem::QLinearDiffusion.

◆ QEnergy()

virtual real_t mfem::BaseQFunction::QEnergy ( ElementTransformation & T,
const IntegrationPoint & ip,
mfem::Vector & dd,
mfem::Vector & uu )
inlinevirtual

Reimplemented in mfem::QLinearDiffusion.

Definition at line 34 of file mtop_integrators.hpp.

◆ QGradResidual()

virtual void mfem::BaseQFunction::QGradResidual ( ElementTransformation & T,
const IntegrationPoint & ip,
mfem::Vector & dd,
mfem::Vector & uu,
mfem::DenseMatrix & hh )
pure virtual

Returns the gradient of the residual at a integration point.

Implemented in mfem::QLinearDiffusion.

◆ QResidual()

virtual void mfem::BaseQFunction::QResidual ( ElementTransformation & T,
const IntegrationPoint & ip,
mfem::Vector & dd,
mfem::Vector & uu,
mfem::Vector & rr )
pure virtual

Implemented in mfem::QLinearDiffusion.


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