MFEM  v4.6.0
Finite element discretization library
Public Member Functions | List of all members
mfem::QLinearDiffusion Class Reference

#include <mtop_integrators.hpp>

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

Public Member Functions

 QLinearDiffusion (mfem::Coefficient &diffco, mfem::Coefficient &hsrco, double pp=1.0, double minrho=1e-7, double betac=4.0, double etac=0.5)
 
virtual std::string GetType () override
 Returns a user defined string identifying the function. More...
 
virtual double QEnergy (ElementTransformation &T, const IntegrationPoint &ip, Vector &dd, Vector &uu) override
 
virtual void QResidual (ElementTransformation &T, const IntegrationPoint &ip, Vector &dd, Vector &uu, Vector &rr) override
 Returns the derivative of QEnergy with respect to the state vector uu. More...
 
virtual void AQResidual (ElementTransformation &T, const IntegrationPoint &ip, Vector &dd, Vector &uu, Vector &aa, Vector &rr) override
 
virtual void QGradResidual (ElementTransformation &T, const IntegrationPoint &ip, Vector &dd, Vector &uu, DenseMatrix &hh) override
 Returns the gradient of the residual at a integration point. More...
 
- Public Member Functions inherited from mfem::BaseQFunction
virtual ~BaseQFunction ()
 

Detailed Description

Definition at line 69 of file mtop_integrators.hpp.

Constructor & Destructor Documentation

◆ QLinearDiffusion()

mfem::QLinearDiffusion::QLinearDiffusion ( mfem::Coefficient diffco,
mfem::Coefficient hsrco,
double  pp = 1.0,
double  minrho = 1e-7,
double  betac = 4.0,
double  etac = 0.5 
)
inline

Definition at line 72 of file mtop_integrators.hpp.

Member Function Documentation

◆ AQResidual()

virtual void mfem::QLinearDiffusion::AQResidual ( ElementTransformation T,
const IntegrationPoint ip,
Vector dd,
Vector uu,
Vector aa,
Vector rr 
)
inlineoverridevirtual

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

Implements mfem::BaseQFunction.

Definition at line 126 of file mtop_integrators.hpp.

◆ GetType()

virtual std::string mfem::QLinearDiffusion::GetType ( )
inlineoverridevirtual

Returns a user defined string identifying the function.

Implements mfem::BaseQFunction.

Definition at line 79 of file mtop_integrators.hpp.

◆ QEnergy()

virtual double mfem::QLinearDiffusion::QEnergy ( ElementTransformation T,
const IntegrationPoint ip,
Vector dd,
Vector uu 
)
inlineoverridevirtual

Reimplemented from mfem::BaseQFunction.

Definition at line 85 of file mtop_integrators.hpp.

◆ QGradResidual()

virtual void mfem::QLinearDiffusion::QGradResidual ( ElementTransformation T,
const IntegrationPoint ip,
Vector dd,
Vector uu,
DenseMatrix hh 
)
inlineoverridevirtual

Returns the gradient of the residual at a integration point.

Implements mfem::BaseQFunction.

Definition at line 140 of file mtop_integrators.hpp.

◆ QResidual()

virtual void mfem::QLinearDiffusion::QResidual ( ElementTransformation T,
const IntegrationPoint ip,
Vector dd,
Vector uu,
Vector rr 
)
inlineoverridevirtual

Returns the derivative of QEnergy with respect to the state vector uu.

Implements mfem::BaseQFunction.

Definition at line 108 of file mtop_integrators.hpp.


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