103 ResFuncType time_deriv,
104 ResFuncType constraint,
105 ReinitFuncType reinit_func,
106 bool compute_second_order_eqns)
112 for (
unsigned int i=0; i != n_dofs; ++i)
113 old_elem_solution(i) =
139 if (request_jacobian)
155 (context.*reinit_func)(1.);
160 bool jacobian_computed =
180 jacobian_computed = (
_system.
get_physics()->*constraint)(jacobian_computed, context) &&
191 if (request_jacobian)
202 (context.*reinit_func)(0.);
240 (context.*reinit_func)(1.);
244 if (request_jacobian)
246 if (jacobian_computed)
254 if (jacobian_computed)
257 return jacobian_computed;
virtual unsigned int size() const override
virtual bool side_constraint(bool request_jacobian, DiffContext &)
const DenseMatrix< Number > & get_elem_jacobian() const
bool compute_second_order_eqns(bool compute_jacobian, DiffContext &c)
Real fixed_solution_derivative
void swap(DenseMatrix< T > &other_matrix)
void prepare_accel(DiffContext &context)
virtual bool _general_residual(bool request_jacobian, DiffContext &, ResFuncType mass, ResFuncType damping, ResFuncType time_deriv, ResFuncType constraint, ReinitFuncType reinit, bool compute_second_order_eqns)
Euler2Solver(sys_type &s)
const DenseVector< Number > & get_elem_fixed_solution() const
const DenseVector< Number > & get_elem_solution_rate() const
virtual bool side_damping_residual(bool request_jacobian, DiffContext &)
Number old_nonlinear_solution(const dof_id_type global_dof_number) const
virtual bool nonlocal_time_derivative(bool request_jacobian, DiffContext &)
virtual bool damping_residual(bool request_jacobian, DiffContext &)
virtual bool nonlocal_constraint(bool request_jacobian, DiffContext &)
virtual void elem_reinit(Real)
bool _eulerian_time_deriv(bool request_jacobian, DiffContext &)
void swap(DenseVector< T > &other_vector)
virtual bool mass_residual(bool request_jacobian, DiffContext &)
const std::set< unsigned int > & get_second_order_vars() const
Real elem_solution_rate_derivative
const DenseVector< Number > & get_elem_solution() const
virtual bool element_residual(bool request_jacobian, DiffContext &) override
Real elem_solution_derivative
virtual bool nonlocal_residual(bool request_jacobian, DiffContext &) override
const std::vector< dof_id_type > & get_dof_indices() const
virtual bool side_residual(bool request_jacobian, DiffContext &) override
bool have_second_order_scalar_vars() const
const DifferentiablePhysics * get_physics() const
const DenseVector< Number > & get_elem_residual() const
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual void elem_side_reinit(Real)
virtual bool nonlocal_damping_residual(bool request_jacobian, DiffContext &)
virtual bool nonlocal_mass_residual(bool request_jacobian, DiffContext &c)
virtual bool side_mass_residual(bool request_jacobian, DiffContext &)
virtual bool side_time_derivative(bool request_jacobian, DiffContext &)
virtual bool element_constraint(bool request_jacobian, DiffContext &)
virtual Real error_order() const override
virtual void nonlocal_reinit(Real)