https://mooseframework.inl.gov
Classes | Typedefs | Functions
Moose::MFEM Namespace Reference

Classes

class  CoefficientManager
 Front-end class for creating and storing MFEM coefficients. More...
 
class  CoefficientMap
 Class to manage MFEM coefficient objects representing material properties. More...
 
class  EquationSystem
 
class  EquationSystemInterface
 Interface required for: More...
 
class  EquationSystemProblemOperator
 Steady-state problem operator with an equation system. More...
 
class  NamedFieldsMap
 Lightweight adaptor over an std::map from strings to pointer to T. More...
 
class  ProblemOperator
 Steady-state problem operator with no equation system. More...
 
class  ProblemOperatorInterface
 Interface inherited by ProblemOperator and TimeDomainProblemOperator. Removes duplicated code in both classes. More...
 
class  ScaleIntegrator
 Integrator which scales its results by a constant value. More...
 
class  SuperLUSolver
 Wrapper for mfem::SuperLU solver that creates a SuperLURowLocMatrix from the operator when set. More...
 
class  TimeDependentEquationSystem
 
class  TimeDomainEquationSystemProblemOperator
 Problem operator for time-dependent problems with an equation system. More...
 
class  TimeDomainProblemOperator
 Problem operator for time-dependent problems with no equation system. More...
 

Typedefs

using FECollections = Moose::MFEM::NamedFieldsMap< mfem::FiniteElementCollection >
 
using FESpaces = Moose::MFEM::NamedFieldsMap< mfem::ParFiniteElementSpace >
 
using GridFunctions = Moose::MFEM::NamedFieldsMap< mfem::ParGridFunction >
 
using SubMeshes = Moose::MFEM::NamedFieldsMap< mfem::ParSubMesh >
 
using ScalarMap = CoefficientMap< mfem::Coefficient, mfem::PWCoefficient >
 
using VectorMap = CoefficientMap< mfem::VectorCoefficient, mfem::PWVectorCoefficient >
 
using MatrixMap = CoefficientMap< mfem::MatrixCoefficient, mfem::PWMatrixCoefficient >
 

Functions

std::string GetTimeDerivativeName (std::string name)
 
std::vector< std::string > GetTimeDerivativeNames (std::vector< std::string > gridfunction_names)
 

Typedef Documentation

◆ FECollections

using Moose::MFEM::FECollections = typedef Moose::MFEM::NamedFieldsMap<mfem::FiniteElementCollection>

Definition at line 198 of file MFEMContainers.h.

◆ FESpaces

using Moose::MFEM::FESpaces = typedef Moose::MFEM::NamedFieldsMap<mfem::ParFiniteElementSpace>

Definition at line 199 of file MFEMContainers.h.

◆ GridFunctions

using Moose::MFEM::GridFunctions = typedef Moose::MFEM::NamedFieldsMap<mfem::ParGridFunction>

Definition at line 200 of file MFEMContainers.h.

◆ MatrixMap

using Moose::MFEM::MatrixMap = typedef CoefficientMap<mfem::MatrixCoefficient, mfem::PWMatrixCoefficient>

Definition at line 168 of file CoefficientMap.h.

◆ ScalarMap

using Moose::MFEM::ScalarMap = typedef CoefficientMap<mfem::Coefficient, mfem::PWCoefficient>

Definition at line 166 of file CoefficientMap.h.

◆ SubMeshes

using Moose::MFEM::SubMeshes = typedef Moose::MFEM::NamedFieldsMap<mfem::ParSubMesh>

Definition at line 201 of file MFEMContainers.h.

◆ VectorMap

using Moose::MFEM::VectorMap = typedef CoefficientMap<mfem::VectorCoefficient, mfem::PWVectorCoefficient>

Definition at line 167 of file CoefficientMap.h.

Function Documentation

◆ GetTimeDerivativeName()

std::string Moose::MFEM::GetTimeDerivativeName ( std::string  name)
inline

Definition at line 193 of file MFEMContainers.h.

Referenced by Moose::MFEM::TimeDependentEquationSystem::AddKernel(), Moose::MFEM::TimeDependentEquationSystem::AddTrialVariableNameIfMissing(), MFEMProblem::addVariable(), and GetTimeDerivativeNames().

194 {
195  return std::string("d") + name + std::string("_dt");
196 }
std::string name(const ElemQuality q)

◆ GetTimeDerivativeNames()

std::vector< std::string > Moose::MFEM::GetTimeDerivativeNames ( std::vector< std::string >  gridfunction_names)

Definition at line 17 of file TimeDomainProblemOperator.C.

18 {
19  std::vector<std::string> time_derivative_names;
20  for (auto & gridfunction_name : gridfunction_names)
21  {
22  time_derivative_names.push_back(GetTimeDerivativeName(gridfunction_name));
23  }
24  return time_derivative_names;
25 }
std::string GetTimeDerivativeName(std::string name)