19#include "libmesh/fem_system.h"
43 const std::string & name_in,
44 const unsigned int number_in)
86 return i == j ? 1. : 0.;
virtual bool mass_residual(bool request_jacobian, DiffContext &context)
Subtracts a mass vector contribution on elem from elem_residual.
void set_dim(unsigned int dim)
void set_fe_type(const FEType &fe_type)
virtual void init_data()
Initializes the member data fields associated with the system, so that, e.g., assemble() may be used.
virtual bool element_time_derivative(bool request_jacobian, DiffContext &context)
Adds the time derivative contribution on elem to elem_residual.
virtual bool side_time_derivative(bool request_jacobian, DiffContext &context)
Adds the time derivative contribution on side of elem to elem_residual.
Real kronecker_delta(unsigned int i, unsigned int j)
Real elasticity_tensor(unsigned int i, unsigned int j, unsigned int k, unsigned int l)
virtual void init_context(DiffContext &context)
ElasticitySystem(EquationSystems &es, const std::string &name_in, const unsigned int number_in)
This class provides all data required for a physics package (e.g.
This is the EquationSystems class.
This class provides a specific system class.
class FEType hides (possibly multiple) FEFamily and approximation orders, thereby enabling specialize...
const boundary_id_type fixed_v_boundary_id
boundary_id_type boundary_id_max_x
boundary_id_type boundary_id_min_y
boundary_id_type boundary_id_max_z
static const boundary_id_type & traction_boundary_id
const boundary_id_type edge_boundary_id
const boundary_id_type pressure_boundary_id
const boundary_id_type node_boundary_id
boundary_id_type boundary_id_max_y
boundary_id_type boundary_id_min_z
const boundary_id_type fixed_u_boundary_id
boundary_id_type boundary_id_min_x
The libMesh namespace provides an interface to certain functionality in the library.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real