Trilinos based (stochastic) FEM solvers
linearPatchTest Class Reference

#include <linearPatchTest.hpp>

Inheritance diagram for linearPatchTest:
[legend]
Collaboration diagram for linearPatchTest:
[legend]

Public Member Functions

 linearPatchTest (Epetra_Comm &comm, Teuchos::ParameterList &Parameters)
 
 ~linearPatchTest ()
 
Epetra_SerialDenseVector get_neumannBc (Epetra_SerialDenseMatrix &matrix_X, Epetra_SerialDenseMatrix &xg, unsigned int &gp)
 
Epetra_SerialDenseVector get_forcing (double &x1, double &x2, double &x3, unsigned int &e_lid, unsigned int &gp)
 
double solve (bool doprint)
 
double errorL2 (Epetra_Vector &uStandardMap)
 
Epetra_SerialDenseVector exactSolution (double &x1, double &x2, double &x3)
 
void setup_dirichlet_conditions ()
 
void apply_dirichlet_conditions (Epetra_FECrsMatrix &K, Epetra_FEVector &F, double &displacement)
 
void get_elasticity_tensor (unsigned int &e_lid, unsigned int &gp, Epetra_SerialDenseMatrix &tangent_matrix)
 
void transverse_isotropic_matrix (Epetra_SerialDenseMatrix &C, double &c1, double &c2, double &c3, double &c4, double &c5)
 
void get_elasticity_tensor_for_recovery (unsigned int &e_lid, Epetra_SerialDenseMatrix &tangent_matrix)
 
- Public Member Functions inherited from linearizedElasticity
 linearizedElasticity ()
 
 ~linearizedElasticity ()
 
void create_FECrsGraph ()
 
void aztecSolver (Epetra_FECrsMatrix &A, Epetra_FEVector &b, Epetra_Vector &u, Teuchos::ParameterList &paramList)
 
void assemblePureDirichlet_homogeneousForcing (Epetra_FECrsMatrix &K)
 
void assembleMixedDirichletNeumann_homogeneousForcing (Epetra_FECrsMatrix &K, Epetra_FEVector &F)
 
void assembleMixedDirichletNeumann_inhomogeneousForcing (Epetra_FECrsMatrix &K, Epetra_FEVector &F)
 
void stiffness_homogeneousForcing (Epetra_FECrsMatrix &K)
 
void stiffness_inhomogeneousForcing (Epetra_FECrsMatrix &K, Epetra_FEVector &F)
 
void rhs_NeumannBoundaryCondition (Epetra_FEVector &F)
 
void compute_B_matrices (Epetra_SerialDenseMatrix &dx_shape_functions, Epetra_SerialDenseMatrix &B)
 
void compute_center_cauchy_stress (Epetra_Vector &x, std::string &filename, bool printCauchy, bool printVM)
 
void compute_deformation (Epetra_Vector &x, std::string &filename, bool printCauchy, bool printVM)
 
int print_solution (Epetra_Vector &solution, std::string fileName)
 
- Public Member Functions inherited from linearFiniteElementProblem
 linearFiniteElementProblem ()
 
 ~linearFiniteElementProblem ()
 
- Public Member Functions inherited from baseClassFEM
 baseClassFEM ()
 
 ~baseClassFEM ()
 

Public Attributes

Teuchos::ParameterList * Krylov
 
- Public Attributes inherited from linearizedElasticity
unsigned int n_bc_dof
 
int * dof_on_boundary
 
- Public Attributes inherited from baseClassFEM
meshMesh
 
Epetra_Comm * Comm
 
Epetra_Map * OverlapMap
 
Epetra_Map * StandardMap
 
Epetra_Import * ImportToOverlapMap
 
Epetra_FECrsGraph * FEGraph
 

Detailed Description

Definition at line 10 of file linearPatchTest.hpp.

Constructor & Destructor Documentation

◆ linearPatchTest()

linearPatchTest::linearPatchTest ( Epetra_Comm &  comm,
Teuchos::ParameterList &  Parameters 
)
inline

Definition at line 16 of file linearPatchTest.hpp.

◆ ~linearPatchTest()

linearPatchTest::~linearPatchTest ( )
inline

Definition at line 32 of file linearPatchTest.hpp.

Member Function Documentation

◆ apply_dirichlet_conditions()

void linearPatchTest::apply_dirichlet_conditions ( Epetra_FECrsMatrix &  K,
Epetra_FEVector &  F,
double &  displacement 
)
inlinevirtual

Reimplemented from linearFiniteElementProblem.

Definition at line 152 of file linearPatchTest.hpp.

◆ errorL2()

double linearPatchTest::errorL2 ( Epetra_Vector &  uStandardMap)
inline

Definition at line 62 of file linearPatchTest.hpp.

◆ exactSolution()

Epetra_SerialDenseVector linearPatchTest::exactSolution ( double &  x1,
double &  x2,
double &  x3 
)
inline

Definition at line 114 of file linearPatchTest.hpp.

◆ get_elasticity_tensor()

void linearPatchTest::get_elasticity_tensor ( unsigned int &  e_lid,
unsigned int &  gp,
Epetra_SerialDenseMatrix &  tangent_matrix 
)
inlinevirtual

Implements linearizedElasticity.

Definition at line 190 of file linearPatchTest.hpp.

◆ get_elasticity_tensor_for_recovery()

void linearPatchTest::get_elasticity_tensor_for_recovery ( unsigned int &  e_lid,
Epetra_SerialDenseMatrix &  tangent_matrix 
)
inlinevirtual

Implements linearizedElasticity.

Definition at line 245 of file linearPatchTest.hpp.

◆ get_forcing()

Epetra_SerialDenseVector linearPatchTest::get_forcing ( double &  x1,
double &  x2,
double &  x3,
unsigned int &  e_lid,
unsigned int &  gp 
)
inlinevirtual

Implements linearizedElasticity.

Definition at line 40 of file linearPatchTest.hpp.

◆ get_neumannBc()

Epetra_SerialDenseVector linearPatchTest::get_neumannBc ( Epetra_SerialDenseMatrix &  matrix_X,
Epetra_SerialDenseMatrix &  xg,
unsigned int &  gp 
)
inlinevirtual

Implements linearizedElasticity.

Definition at line 35 of file linearPatchTest.hpp.

◆ setup_dirichlet_conditions()

void linearPatchTest::setup_dirichlet_conditions ( )
inlinevirtual

Reimplemented from linearFiniteElementProblem.

Definition at line 122 of file linearPatchTest.hpp.

◆ solve()

double linearPatchTest::solve ( bool  doprint)
inline

Definition at line 46 of file linearPatchTest.hpp.

◆ transverse_isotropic_matrix()

void linearPatchTest::transverse_isotropic_matrix ( Epetra_SerialDenseMatrix &  C,
double &  c1,
double &  c2,
double &  c3,
double &  c4,
double &  c5 
)
inline

Definition at line 201 of file linearPatchTest.hpp.

Member Data Documentation

◆ Krylov

Teuchos::ParameterList* linearPatchTest::Krylov

Definition at line 14 of file linearPatchTest.hpp.


The documentation for this class was generated from the following file: