Functions | Variables
Global_Parameters Namespace Reference

Global variables. More...

Functions

void gravity (const double &time, const Vector< double > &xi, Vector< double > &b)
 Non-dimensional gravity as body force. More...
 
void constant_pressure (const Vector< double > &xi, const Vector< double > &x, const Vector< double > &n, Vector< double > &traction)
 Constant pressure load. The arguments to this function are imposed on us by the SolidTractionElements which allow the traction to depend on the Lagrangian and Eulerian coordinates x and xi, and on the outer unit normal to the surface. Here we only need the outer unit normal. More...
 

Variables

double Nu =0.3
 Poisson's ratio. More...
 
ConstitutiveLaw * Constitutive_law_pt =new GeneralisedHookean(&Nu)
 Create constitutive law. More...
 
double Gravity =0.0
 Non-dim gravity. More...
 
double P = 0.0
 Uniform pressure. More...
 

Detailed Description

Global variables.

Function Documentation

void Global_Parameters::constant_pressure ( const Vector< double > &  xi,
const Vector< double > &  x,
const Vector< double > &  n,
Vector< double > &  traction 
)

Constant pressure load. The arguments to this function are imposed on us by the SolidTractionElements which allow the traction to depend on the Lagrangian and Eulerian coordinates x and xi, and on the outer unit normal to the surface. Here we only need the outer unit normal.

Definition at line 118 of file unstructured_three_d_solid.cc.

References P.

Referenced by UnstructuredSolidProblem< ELEMENT >::create_traction_elements().

void Global_Parameters::gravity ( const double &  time,
const Vector< double > &  xi,
Vector< double > &  b 
)

Non-dimensional gravity as body force.

Definition at line 101 of file unstructured_three_d_solid.cc.

References Gravity.

Referenced by UnstructuredSolidProblem< ELEMENT >::UnstructuredSolidProblem().

Variable Documentation

ConstitutiveLaw* Global_Parameters::Constitutive_law_pt =new GeneralisedHookean(&Nu)

Create constitutive law.

Definition at line 95 of file unstructured_three_d_solid.cc.

Referenced by UnstructuredSolidProblem< ELEMENT >::UnstructuredSolidProblem().

double Global_Parameters::Gravity =0.0

Non-dim gravity.

Definition at line 98 of file unstructured_three_d_solid.cc.

Referenced by gravity(), and main().

double Global_Parameters::Nu =0.3

Poisson's ratio.

Definition at line 92 of file unstructured_three_d_solid.cc.

double Global_Parameters::P = 0.0

Uniform pressure.

Definition at line 111 of file unstructured_three_d_solid.cc.

Referenced by constant_pressure(), and main().