Functions | Variables
Global_Physical_Variables Namespace Reference

//////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// 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

ConstitutiveLaw * Constitutive_law_pt =0
 Pointer to constitutive law. More...
 
double Nu =0.3
 Poisson's ratio. More...
 
double Gravity =0.0
 Non-dim gravity. More...
 
double P = 0.0
 Uniform pressure. More...
 

Detailed Description

//////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////

Global variables

Function Documentation

◆ constant_pressure()

void Global_Physical_Variables::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 142 of file unstructured_three_d_solid.cc.

References P.

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

◆ gravity()

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

Non-dimensional gravity as body force.

Definition at line 125 of file unstructured_three_d_solid.cc.

References Gravity.

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

Variable Documentation

◆ Constitutive_law_pt

ConstitutiveLaw * Global_Physical_Variables::Constitutive_law_pt =0

Pointer to constitutive law.

Definition at line 116 of file unstructured_three_d_solid.cc.

Referenced by main(), and UnstructuredSolidProblem< ELEMENT >::UnstructuredSolidProblem().

◆ Gravity

double Global_Physical_Variables::Gravity =0.0

Non-dim gravity.

Definition at line 122 of file unstructured_three_d_solid.cc.

Referenced by gravity(), and main().

◆ Nu

double Global_Physical_Variables::Nu =0.3

Poisson's ratio.

Definition at line 119 of file unstructured_three_d_solid.cc.

Referenced by main().

◆ P

double Global_Physical_Variables::P = 0.0

Uniform pressure.

Definition at line 135 of file unstructured_three_d_solid.cc.

Referenced by constant_pressure(), and main().