Functions | Variables
Global_Parameters Namespace Reference

Namespace for global parameters. More...

Functions

std::complex< double > Nu (0.3, 0.05)
 Define Poisson's ratio Nu. More...
 
std::complex< double > E (1.0, 0.01)
 Define the non-dimensional Young's modulus. More...
 
std::complex< double > Omega_sq (10.0, 5.0)
 Define the non-dimensional square angular frequency of time-harmonic motion. More...
 
const std::complex< double > I (0.0, 1.0)
 Define the imaginary unit. More...
 
void boundary_traction (const Vector< double > &x, const Vector< double > &n, Vector< std::complex< double > > &result)
 The traction function at r=rmin: (t_r, t_z, t_theta) More...
 
void body_force (const Vector< double > &x, Vector< std::complex< double > > &result)
 The body force function; returns vector of complex doubles in the order (b_r, b_z, b_theta) More...
 
void exact_solution (const Vector< double > &x, Vector< double > &u)
 The exact solution in a flat-packed vector: More...
 
std::complex< double > Omega_sq (10.0, 0.0)
 Define the non-dimensional square angular frequency of time-harmonic motion. More...
 

Variables

std::complex< double > lambda = E*Nu/(1.0+Nu)/(1.0-2.0*Nu)
 
std::complex< double > mu = E/2.0/(1.0+Nu)
 
int Fourier_wavenumber = 3
 Define Fourier wavenumber. More...
 
double Lr = 1.0
 Length of domain in r direction. More...
 
double Lz = 2.0
 Length of domain in z-direction. More...
 
double rmin = 0.1
 
double zmin = 0.3
 
double rmax = rmin+Lr
 
double zmax = zmin+Lz
 
double P =1.0
 

Detailed Description

Namespace for global parameters.

Function Documentation

◆ body_force()

void Global_Parameters::body_force ( const Vector< double > &  x,
Vector< std::complex< double > > &  result 
)

The body force function; returns vector of complex doubles in the order (b_r, b_z, b_theta)

Definition at line 92 of file cylinder.cc.

References Fourier_wavenumber, I(), lambda, mu, and Omega_sq().

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

◆ boundary_traction()

void Global_Parameters::boundary_traction ( const Vector< double > &  x,
const Vector< double > &  n,
Vector< std::complex< double > > &  result 
)

◆ E()

std::complex< double > Global_Parameters::E ( 1.  0,
0.  01 
)

◆ exact_solution()

void Global_Parameters::exact_solution ( const Vector< double > &  x,
Vector< double > &  u 
)

◆ I()

const std::complex< double > Global_Parameters::I ( 0.  0,
1.  0 
)

Define the imaginary unit.

Referenced by body_force(), and boundary_traction().

◆ Nu()

std::complex< double > Global_Parameters::Nu ( 0.  3,
0.  05 
)

◆ Omega_sq() [1/2]

std::complex<double> Global_Parameters::Omega_sq ( 10.  0,
0.  0 
)

Define the non-dimensional square angular frequency of time-harmonic motion.

◆ Omega_sq() [2/2]

std::complex< double > Global_Parameters::Omega_sq ( 10.  0,
5.  0 
)

Variable Documentation

◆ Fourier_wavenumber

int Global_Parameters::Fourier_wavenumber = 3

◆ lambda

std::complex< double > Global_Parameters::lambda = E*Nu/(1.0+Nu)/(1.0-2.0*Nu)

Definition at line 51 of file cylinder.cc.

Referenced by body_force(), and boundary_traction().

◆ Lr

double Global_Parameters::Lr = 1.0

Length of domain in r direction.

Definition at line 62 of file cylinder.cc.

Referenced by main().

◆ Lz

double Global_Parameters::Lz = 2.0

Length of domain in z-direction.

Definition at line 65 of file cylinder.cc.

Referenced by main().

◆ mu

std::complex< double > Global_Parameters::mu = E/2.0/(1.0+Nu)

Definition at line 52 of file cylinder.cc.

Referenced by body_force(), and boundary_traction().

◆ P

double Global_Parameters::P =1.0

Definition at line 75 of file pressure_loaded_cylinder.cc.

◆ rmax

double Global_Parameters::rmax = rmin+Lr

◆ rmin

double Global_Parameters::rmin = 0.1

◆ zmax

double Global_Parameters::zmax = zmin+Lz

◆ zmin

double Global_Parameters::zmin = 0.3