10 #ifdef MOOSE_MFEM_ENABLED 30 ode_solver = std::make_unique<mfem::BackwardEulerSolver>();
31 ode_solver->Init(*(
this));
33 SetImplicitVariableType(STATE);
45 gfs.GetRef(tdm.getTimeDerivativeName(trial_var_name)) = gfs.GetRef(trial_var_name);
56 (gfs.GetRef(tdm.getTimeDerivativeName(trial_var_name)) -= gfs.GetRef(trial_var_name)) /= -dt;
std::vector< std::string > _test_var_names
virtual Real & time() const
MFEMProblemData & _problem_data
std::vector< std::string > _trial_var_names
Vector of names of state gridfunctions used in formulation, ordered by appearance in block vector dur...
void SolveWithOperator(mfem::Operator &system_operator, mfem::Operator &linear_operator, const mfem::Vector &rhs, mfem::Vector &x)
Solve the current system operator using the configured nonlinear and linear solvers.
virtual void SetTrialVariablesFromTrueVectors()
virtual void Init(mfem::BlockVector &X) override
std::unique_ptr< mfem::ODESolver > ode_solver
Moose::MFEM::CoefficientManager coefficients
void FormSystem(mfem::BlockVector &trueX, mfem::BlockVector &trueRHS)
Build all weak-form components via BuildEquationSystem(), form the constrained linear part of the sys...
mfem::Vector * _trial_true_vector
virtual void SetGridFunctions() override
virtual void SetTimeStep(mfem::real_t &dt)
mfem::BlockVector _true_x
void setTime(const mfem::real_t time)
virtual void SetGridFunctions() override
mfem::BlockVector _true_rhs
virtual Moose::MFEM::TimeDependentEquationSystem * GetEquationSystem() const override
Returns a pointer to the operator's equation system.
MFEMProblem & _problem
Reference to the current problem.
virtual void Init(mfem::BlockVector &X)
const std::vector< std::string > & GetTrialVarNames() const
const std::vector< std::string > & GetTestVarNames() const
Utilities for converting between vector(s) of libMesh Points and MFEM Vector(s).
virtual void ImplicitSolve(const mfem::real_t, const mfem::Vector &, mfem::Vector &) override
Moose::MFEM::GridFunctions gridfunctions
virtual Real & dt() const
virtual void Solve() override
void FormEquationSystemOperator(mfem::real_t dt)
Form equation-system state for the current implicit time step.
Moose::MFEM::TimeDerivativeMap time_derivative_map