Go to the documentation of this file.
23 #ifndef NONLINEAR_NEOHOOKE_CC_H_
24 #define NONLINEAR_NEOHOOKE_CC_H_
26 #include "libmesh/dense_vector.h"
27 #include "libmesh/dense_matrix.h"
28 #include "libmesh/vector_value.h"
29 #include "libmesh/tensor_value.h"
30 #include "libmesh/getpot.h"
45 bool calculate_linearized_stiffness_in) :
46 calculate_linearized_stiffness(calculate_linearized_stiffness_in),
49 E = args(
"material/neohooke/e_modulus", 10000.0);
50 nu = args(
"material/neohooke/nu", 0.3);
80 void calculate_stress();
81 void calculate_tangent();
82 static void tensor_to_voigt(
const RealTensor & tensor,
86 const std::vector<std::vector<RealGradient>> &
dphi;
96 #endif // NONLINEAR_NEOHOOKE_CC_H_
NonlinearNeoHookeCurrentConfig(const std::vector< std::vector< RealGradient >> &dphi_in, GetPot &args, bool calculate_linearized_stiffness_in)
The libMesh namespace provides an interface to certain functionality in the library.
This class defines a vector in LIBMESH_DIM dimensional Real or Complex space.
This class defines a tensor in LIBMESH_DIM dimensional Real or Complex space.
bool calculate_linearized_stiffness
Flag to indicate if it is necessary to calculate values for stiffness matrix during initialization.
This class implements a constitutive formulation for an Neo-Hookean elastic solid in terms of the cur...
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const std::vector< std::vector< RealGradient > > & dphi
Defines a dense vector for use in Finite Element-type computations.
DenseMatrix< Real > C_mat