20 #ifndef LIBMESH_EULER_SOLVER_H 21 #define LIBMESH_EULER_SOLVER_H 24 #include "libmesh/first_order_unsteady_solver.h" 100 #ifdef LIBMESH_ENABLE_AMR 110 #endif // LIBMESH_ENABLE_AMR 139 #endif // LIBMESH_EULER_SOLVER_H virtual void reinit() override
The reinitialization function.
virtual bool nonlocal_residual(bool request_jacobian, DiffContext &) override
This method uses the DifferentiablePhysics' nonlocal_time_derivative() and nonlocal_constraint() to b...
virtual ~EulerSolver()
Destructor.
bool compute_second_order_eqns(bool compute_jacobian, DiffContext &c)
If there are second order variables, then we need to compute their residual equations and correspondi...
This class provides all data required for a physics package (e.g.
virtual void integrate_qoi_timestep() override
A method to integrate the system::QoI functionals.
This class implements a "brute force" goal-oriented error estimator which computes an estimate of err...
The ErrorVector is a specialization of the StatisticsVector for error data computed on a finite eleme...
Real theta
The value for the theta method to employ: 1.0 corresponds to backwards Euler, 0.0 corresponds to forw...
virtual bool element_residual(bool request_jacobian, DiffContext &) override
This method uses the DifferentiablePhysics' element_time_derivative() and element_constraint() to bui...
virtual bool _general_residual(bool request_jacobian, DiffContext &, ResFuncType mass, ResFuncType damping, ResFuncType time_deriv, ResFuncType constraint, ReinitFuncType reinit, bool compute_second_order_eqns)
This method is the underlying implementation of the public residual methods.
The libMesh namespace provides an interface to certain functionality in the library.
void(DiffContext::* ReinitFuncType)(Real)
virtual void integrate_adjoint_refinement_error_estimate(AdjointRefinementEstimator &adjoint_refinement_error_estimator, ErrorVector &QoI_elementwise_error) override
A method to compute the adjoint refinement error estimate at the current timestep.
This class provides a specific system class.
Generic class from which first order UnsteadySolvers should subclass.
virtual Real error_order() const override
Error convergence order: 2 for Crank-Nicolson, 1 otherwise.
bool(DifferentiablePhysics::* ResFuncType)(bool, DiffContext &)
Definitions of argument types for use in refactoring subclasses.
FirstOrderUnsteadySolver Parent
The parent class.
This class defines a theta-method Euler (defaulting to Backward Euler with theta = 1...
virtual bool side_residual(bool request_jacobian, DiffContext &) override
This method uses the DifferentiablePhysics' side_time_derivative() and side_constraint() to build a f...
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
EulerSolver(sys_type &s)
Constructor.