LifeV
|
#include <NeoHookean.hpp>
Public Member Functions | |
NeoHookean (const commPtr_Type &communicator) | |
~NeoHookean () | |
void | setCoefficients (const Real density, const Real young, const Real poisson) |
Set the physical parameters of the structure. More... | |
void | setup (const meshPtr_Type &mesh, const std::string dOrder) |
Setup: build the FE space and the ETA fespace. More... | |
void | evaluate_residual (const vectorPtr_Type &solution, const Real &coefficient, const vectorPtr_Type &csi, vectorPtr_Type &residual) |
Evaluate the residual of the problem. More... | |
void | update_jacobian (const vectorPtr_Type &solution, const Real &coefficient, matrixPtr_Type &jacobian) |
Updates the Jacobian matrix. More... | |
const std::shared_ptr< FESpace< mesh_Type, map_Type > > & | fespace () const |
Getter of the standard FE space. More... | |
const std::shared_ptr< ETFESpace_displacement > & | et_fespace () const |
Getter of the ETA FE space. More... | |
Private Types | |
typedef Epetra_Comm | comm_Type |
typedef std::shared_ptr< comm_Type > | commPtr_Type |
typedef VectorEpetra | vector_Type |
typedef std::shared_ptr< vector_Type > | vectorPtr_Type |
typedef MatrixEpetra< Real > | matrix_Type |
typedef std::shared_ptr< matrix_Type > | matrixPtr_Type |
typedef std::shared_ptr< BCHandler > | bcPtr_Type |
typedef RegionMesh< LinearTetra > | mesh_Type |
typedef std::shared_ptr< mesh_Type > | meshPtr_Type |
typedef MapEpetra | map_Type |
typedef ETFESpace< mesh_Type, map_Type, 3, 3 > | ETFESpace_displacement |
typedef ExpressionDefinitions::deformationGradient_Type | tensorF_Type |
typedef ExpressionDefinitions::determinantTensorF_Type | determinantF_Type |
typedef ExpressionDefinitions::rightCauchyGreenTensor_Type | tensorC_Type |
typedef ExpressionDefinitions::minusTransposedTensor_Type | minusT_Type |
typedef ExpressionDefinitions::traceTensor_Type | traceTensor_Type |
Private Attributes | |
commPtr_Type | M_comm |
Real | M_density |
Real | M_bulk |
Real | M_mu |
Real | M_offset |
matrixSmall_Type | M_identity |
std::string | M_dOrder |
std::shared_ptr< FESpace< mesh_Type, map_Type > > | M_displacementFESpace |
std::shared_ptr< ETFESpace_displacement > | M_displacementFESpace_ETA |
matrixPtr_Type | M_jacobian |
Definition at line 62 of file NeoHookean.hpp.
|
private |
Definition at line 65 of file NeoHookean.hpp.
|
private |
Definition at line 67 of file NeoHookean.hpp.
|
private |
Definition at line 69 of file NeoHookean.hpp.
|
private |
Definition at line 71 of file NeoHookean.hpp.
|
private |
Definition at line 73 of file NeoHookean.hpp.
|
private |
Definition at line 75 of file NeoHookean.hpp.
|
private |
Definition at line 77 of file NeoHookean.hpp.
|
private |
Definition at line 79 of file NeoHookean.hpp.
|
private |
Definition at line 81 of file NeoHookean.hpp.
Definition at line 83 of file NeoHookean.hpp.
|
private |
Definition at line 85 of file NeoHookean.hpp.
|
private |
Definition at line 87 of file NeoHookean.hpp.
|
private |
Definition at line 89 of file NeoHookean.hpp.
|
private |
Definition at line 91 of file NeoHookean.hpp.
|
private |
Definition at line 93 of file NeoHookean.hpp.
|
private |
Definition at line 95 of file NeoHookean.hpp.
NeoHookean | ( | const commPtr_Type & | communicator | ) |
communicator | Epetra communicator |
Definition at line 6 of file NeoHookean.cpp.
~NeoHookean | ( | ) |
Definition at line 27 of file NeoHookean.cpp.
Set the physical parameters of the structure.
density | Density of the structure |
young | Young modulus of the structure |
poisson | Poisson ratio of the structure |
Definition at line 31 of file NeoHookean.cpp.
void setup | ( | const meshPtr_Type & | mesh, |
const std::string | dOrder | ||
) |
Setup: build the FE space and the ETA fespace.
mesh | Computational mesh |
dOrder | Degree of the finite element used |
Definition at line 49 of file NeoHookean.cpp.
void evaluate_residual | ( | const vectorPtr_Type & | solution, |
const Real & | coefficient, | ||
const vectorPtr_Type & | csi, | ||
vectorPtr_Type & | residual | ||
) |
Evaluate the residual of the problem.
solution | Solution vector at the previous Newton iterate |
coefficient | Coefficient which goes in front of the mass matrix depending on the time discretization scheme used |
csi | Vector containing the solution at the previous time steps which depends on the time discretization scheme used |
residual | Residual vector to be assembled |
Definition at line 61 of file NeoHookean.cpp.
void update_jacobian | ( | const vectorPtr_Type & | solution, |
const Real & | coefficient, | ||
matrixPtr_Type & | jacobian | ||
) |
Updates the Jacobian matrix.
solution | Solution vector at the previous Newton iterate |
coefficient | Coefficient which goes in front of the mass matrix depending on the time discretization scheme used |
jacobian | Jacobian matrix to be updated |
Definition at line 107 of file NeoHookean.cpp.
Getter of the standard FE space.
Definition at line 145 of file NeoHookean.hpp.
|
inline |
Getter of the ETA FE space.
Definition at line 152 of file NeoHookean.hpp.
|
private |
Definition at line 152 of file NeoHookean.hpp.
|
private |
Definition at line 160 of file NeoHookean.hpp.
|
private |
Definition at line 163 of file NeoHookean.hpp.
|
private |
Definition at line 164 of file NeoHookean.hpp.
|
private |
Definition at line 165 of file NeoHookean.hpp.
|
private |
Definition at line 167 of file NeoHookean.hpp.
|
private |
Definition at line 170 of file NeoHookean.hpp.
Definition at line 173 of file NeoHookean.hpp.
|
private |
Definition at line 176 of file NeoHookean.hpp.
|
private |
Definition at line 179 of file NeoHookean.hpp.