Trilinos based (stochastic) FEM solvers
hyperelasticity.hpp
Go to the documentation of this file.
1 /*
2 Brian Staber (brian.staber@gmail.com)
3 */
4 
5 #ifndef HYPERELASTICITY_HPP
6 #define HYPERELASTICITY_HPP
7 
9 
11 {
12 public:
15 
16  void create_FECrsGraph();
17  void compute_B_matrices(Epetra_SerialDenseMatrix & F, Epetra_SerialDenseMatrix & dx_shape_functions, Epetra_SerialDenseMatrix & B, Epetra_SerialDenseMatrix & BG);
18 
19  int compute_green_lagrange(Epetra_Vector & x, double & xi, double & eta, double & zeta, std::string & filename);
20  void compute_center_cauchy_stress(Epetra_Vector & x, std::string & filename);
21  void compute_gauss_vonmises(Epetra_Vector & x, std::string & filename);
22 
23  unsigned int n_bc_dof;
25 
26  virtual void get_material_parameters(unsigned int & e_lid, unsigned int & gp) = 0;
27  virtual void get_material_parameters_for_recover(unsigned int & e_lid) = 0;
28  virtual void get_stress_for_recover(Epetra_SerialDenseMatrix & deformation_gradient, double & det, Epetra_SerialDenseMatrix & piola_stress) = 0;
29 };
30 #endif
virtual void get_stress_for_recover(Epetra_SerialDenseMatrix &deformation_gradient, double &det, Epetra_SerialDenseMatrix &piola_stress)=0
unsigned int n_bc_dof
void compute_center_cauchy_stress(Epetra_Vector &x, std::string &filename)
void compute_gauss_vonmises(Epetra_Vector &x, std::string &filename)
filename
Definition: costFunction.m:44
int compute_green_lagrange(Epetra_Vector &x, double &xi, double &eta, double &zeta, std::string &filename)
void compute_B_matrices(Epetra_SerialDenseMatrix &F, Epetra_SerialDenseMatrix &dx_shape_functions, Epetra_SerialDenseMatrix &B, Epetra_SerialDenseMatrix &BG)
virtual void get_material_parameters_for_recover(unsigned int &e_lid)=0
virtual void get_material_parameters(unsigned int &e_lid, unsigned int &gp)=0
output eta
Definition: costFunction.m:33