MFEM v4.7.0
Finite element discretization library
Loading...
Searching...
No Matches
mfem::electromagnetics::ScaledGFCoefficient Class Reference

#include <joule_solver.hpp>

Inheritance diagram for mfem::electromagnetics::ScaledGFCoefficient:
[legend]
Collaboration diagram for mfem::electromagnetics::ScaledGFCoefficient:
[legend]

Public Member Functions

 ScaledGFCoefficient (GridFunction *gf, MeshDependentCoefficient &input_mdc)
 
virtual real_t Eval (ElementTransformation &T, const IntegrationPoint &ip)
 Evaluate the coefficient at ip.
 
void SetMDC (const MeshDependentCoefficient &input_mdc)
 
virtual ~ScaledGFCoefficient ()
 
- Public Member Functions inherited from mfem::GridFunctionCoefficient
 GridFunctionCoefficient ()
 
 GridFunctionCoefficient (const GridFunction *gf, int comp=1)
 
void SetGridFunction (const GridFunction *gf)
 Set the internal GridFunction.
 
const GridFunctionGetGridFunction () const
 Get the internal GridFunction.
 
virtual void Project (QuadratureFunction &qf)
 Fill the QuadratureFunction qf by evaluating the coefficient at the quadrature points.
 
- Public Member Functions inherited from mfem::Coefficient
 Coefficient ()
 
virtual void SetTime (real_t t)
 Set the time for time dependent coefficients.
 
real_t GetTime ()
 Get the time for time dependent coefficients.
 
real_t Eval (ElementTransformation &T, const IntegrationPoint &ip, real_t t)
 Evaluate the coefficient in the element described by T at the point ip at time t.
 
virtual ~Coefficient ()
 

Additional Inherited Members

- Protected Attributes inherited from mfem::Coefficient
real_t time
 

Detailed Description

Definition at line 67 of file joule_solver.hpp.

Constructor & Destructor Documentation

◆ ScaledGFCoefficient()

mfem::electromagnetics::ScaledGFCoefficient::ScaledGFCoefficient ( GridFunction * gf,
MeshDependentCoefficient & input_mdc )

Definition at line 949 of file joule_solver.cpp.

◆ ~ScaledGFCoefficient()

virtual mfem::electromagnetics::ScaledGFCoefficient::~ScaledGFCoefficient ( )
inlinevirtual

Definition at line 75 of file joule_solver.hpp.

Member Function Documentation

◆ Eval()

real_t mfem::electromagnetics::ScaledGFCoefficient::Eval ( ElementTransformation & T,
const IntegrationPoint & ip )
virtual

Evaluate the coefficient at ip.

Reimplemented from mfem::GridFunctionCoefficient.

Definition at line 953 of file joule_solver.cpp.

◆ SetMDC()

void mfem::electromagnetics::ScaledGFCoefficient::SetMDC ( const MeshDependentCoefficient & input_mdc)
inline

Definition at line 74 of file joule_solver.hpp.


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