Trilinos based (stochastic) FEM solvers
manufactured Class Reference

#include <manufacturedSolution.hpp>

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

Public Member Functions

 manufactured (Epetra_Comm &comm, Teuchos::ParameterList &Parameters, std::string &mesh_file)
 
 ~manufactured ()
 
Epetra_SerialDenseVector manufacturedSolution (double &x1, double &x2, double &x3)
 
Epetra_SerialDenseMatrix manufacturedDeformation (double &x1, double &x2, double &x3)
 
Epetra_SerialDenseMatrix manufacturedStress (double &x1, double &x2, double &x3)
 
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 (std::string &outPath)
 
double errorL2 (Epetra_Vector &uStandardMap)
 
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
 
Epetra_Vector * uh
 
- 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 11 of file manufacturedSolution.hpp.

Constructor & Destructor Documentation

◆ manufactured()

manufactured::manufactured ( Epetra_Comm &  comm,
Teuchos::ParameterList &  Parameters,
std::string &  mesh_file 
)
inline

Definition at line 18 of file manufacturedSolution.hpp.

◆ ~manufactured()

manufactured::~manufactured ( )
inline

Definition at line 34 of file manufacturedSolution.hpp.

Member Function Documentation

◆ apply_dirichlet_conditions()

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

Reimplemented from linearFiniteElementProblem.

Definition at line 203 of file manufacturedSolution.hpp.

◆ errorL2()

double manufactured::errorL2 ( Epetra_Vector &  uStandardMap)
inline

Definition at line 125 of file manufacturedSolution.hpp.

◆ get_elasticity_tensor()

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

Implements linearizedElasticity.

Definition at line 241 of file manufacturedSolution.hpp.

◆ get_elasticity_tensor_for_recovery()

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

Implements linearizedElasticity.

Definition at line 296 of file manufacturedSolution.hpp.

◆ get_forcing()

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

Implements linearizedElasticity.

Definition at line 92 of file manufacturedSolution.hpp.

◆ get_neumannBc()

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

Implements linearizedElasticity.

Definition at line 74 of file manufacturedSolution.hpp.

◆ manufacturedDeformation()

Epetra_SerialDenseMatrix manufactured::manufacturedDeformation ( double &  x1,
double &  x2,
double &  x3 
)
inline

Definition at line 46 of file manufacturedSolution.hpp.

◆ manufacturedSolution()

Epetra_SerialDenseVector manufactured::manufacturedSolution ( double &  x1,
double &  x2,
double &  x3 
)
inline

Definition at line 37 of file manufacturedSolution.hpp.

◆ manufacturedStress()

Epetra_SerialDenseMatrix manufactured::manufacturedStress ( double &  x1,
double &  x2,
double &  x3 
)
inline

Definition at line 58 of file manufacturedSolution.hpp.

◆ setup_dirichlet_conditions()

void manufactured::setup_dirichlet_conditions ( )
inlinevirtual

Reimplemented from linearFiniteElementProblem.

Definition at line 177 of file manufacturedSolution.hpp.

◆ solve()

double manufactured::solve ( std::string &  outPath)
inline

Definition at line 111 of file manufacturedSolution.hpp.

◆ transverse_isotropic_matrix()

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

Definition at line 252 of file manufacturedSolution.hpp.

Member Data Documentation

◆ Krylov

Teuchos::ParameterList* manufactured::Krylov

Definition at line 15 of file manufacturedSolution.hpp.

◆ uh

Epetra_Vector* manufactured::uh

Definition at line 16 of file manufacturedSolution.hpp.


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