MFEM v4.7.0
Finite element discretization library
Loading...
Searching...
No Matches
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, real_t pp=1.0, real_t minrho=1e-7, real_t betac=4.0, real_t etac=0.5)
 
virtual std::string GetType () override
 Returns a user defined string identifying the function.
 
virtual real_t 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.
 
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.
 
- 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,
real_t pp = 1.0,
real_t minrho = 1e-7,
real_t betac = 4.0,
real_t 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 real_t 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: