20 #ifndef LIBMESH_DIFF_PHYSICS_H 21 #define LIBMESH_DIFF_PHYSICS_H 99 virtual std::unique_ptr<DifferentiablePhysics>
clone_physics() = 0;
126 return request_jacobian;
144 return request_jacobian;
173 return request_jacobian;
193 return request_jacobian;
211 return request_jacobian;
229 return request_jacobian;
248 #ifdef LIBMESH_ENABLE_DEPRECATED 251 libmesh_deprecated();
268 virtual void time_evolving (
unsigned int var,
unsigned int order);
296 return request_jacobian;
320 return request_jacobian;
337 return request_jacobian;
376 return request_jacobian;
393 return request_jacobian;
408 return request_jacobian;
592 libmesh_experimental();
658 #endif // LIBMESH_DIFF_PHYSICS_H bool is_second_order_var(unsigned int var) const
virtual bool side_constraint(bool request_jacobian, DiffContext &)
unsigned int get_mesh_x_var() const
bool is_first_order_var(unsigned int var) const
const unsigned int invalid_uint
virtual bool element_time_derivative(bool request_jacobian, DiffContext &)
virtual bool eulerian_residual(bool request_jacobian, DiffContext &)
virtual bool side_damping_residual(bool request_jacobian, DiffContext &)
std::set< unsigned int > _second_order_vars
const System * get_mesh_system() const
virtual bool nonlocal_time_derivative(bool request_jacobian, DiffContext &)
virtual bool damping_residual(bool request_jacobian, DiffContext &)
std::map< unsigned int, unsigned int > _second_order_dot_vars
virtual bool nonlocal_constraint(bool request_jacobian, DiffContext &)
bool _eulerian_time_deriv(bool request_jacobian, DiffContext &)
virtual void set_mesh_x_var(unsigned int var)
virtual bool mass_residual(bool request_jacobian, DiffContext &)
bool have_second_order_vars() const
unsigned int get_mesh_y_var() const
const std::set< unsigned int > & get_second_order_vars() const
const std::set< unsigned int > & get_first_order_vars() const
virtual void set_mesh_y_var(unsigned int var)
Manages consistently variables, degrees of freedom, and coefficient vectors.
virtual void time_evolving(unsigned int var)
bool have_first_order_vars() const
virtual void init_context(DiffContext &)
bool compute_internal_sides
virtual bool nonlocal_damping_residual(bool request_jacobian, DiffContext &)
virtual bool nonlocal_mass_residual(bool request_jacobian, DiffContext &c)
virtual void set_mesh_z_var(unsigned int var)
unsigned int get_mesh_z_var() const
virtual std::unique_ptr< DifferentiablePhysics > clone_physics()=0
virtual void init_physics(const System &sys)
bool is_time_evolving(unsigned int var) const
virtual bool side_mass_residual(bool request_jacobian, DiffContext &)
std::set< unsigned int > _first_order_vars
virtual bool side_time_derivative(bool request_jacobian, DiffContext &)
virtual void clear_physics()
virtual void set_mesh_system(System *sys)
virtual bool element_constraint(bool request_jacobian, DiffContext &)
std::vector< unsigned int > _time_evolving
virtual ~DifferentiablePhysics()