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 |
Namespace for global parameters.
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().
void Global_Parameters::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)
Definition at line 77 of file cylinder.cc.
References Fourier_wavenumber, I(), lambda, and mu.
Referenced by FourierDecomposedTimeHarmonicLinearElasticityProblem< ELEMENT >::complete_problem_setup(), and FourierDecomposedTimeHarmonicLinearElasticityProblem< ELEMENT >::FourierDecomposedTimeHarmonicLinearElasticityProblem().
std::complex< double > Global_Parameters::E | ( | 1. | 0, |
0. | 01 | ||
) |
Define the non-dimensional Young's modulus.
Referenced by FourierDecomposedTimeHarmonicLinearElasticityProblem< ELEMENT >::complete_problem_setup(), and FourierDecomposedTimeHarmonicLinearElasticityProblem< ELEMENT >::FourierDecomposedTimeHarmonicLinearElasticityProblem().
void Global_Parameters::exact_solution | ( | const Vector< double > & | x, |
Vector< double > & | u | ||
) |
The exact solution in a flat-packed vector:
Definition at line 114 of file cylinder.cc.
Referenced by FourierDecomposedTimeHarmonicLinearElasticityProblem< ELEMENT >::doc_solution(), and FourierDecomposedTimeHarmonicLinearElasticityProblem< ELEMENT >::FourierDecomposedTimeHarmonicLinearElasticityProblem().
const std::complex< double > Global_Parameters::I | ( | 0. | 0, |
1. | 0 | ||
) |
Define the imaginary unit.
Referenced by body_force(), and boundary_traction().
std::complex< double > Global_Parameters::Nu | ( | 0. | 3, |
0. | 05 | ||
) |
std::complex<double> Global_Parameters::Omega_sq | ( | 10. | 0, |
0. | 0 | ||
) |
Define the non-dimensional square angular frequency of time-harmonic motion.
std::complex< double > Global_Parameters::Omega_sq | ( | 10. | 0, |
5. | 0 | ||
) |
Define the non-dimensional square angular frequency of time-harmonic motion.
Referenced by body_force(), FourierDecomposedTimeHarmonicLinearElasticityProblem< ELEMENT >::complete_problem_setup(), and FourierDecomposedTimeHarmonicLinearElasticityProblem< ELEMENT >::FourierDecomposedTimeHarmonicLinearElasticityProblem().
int Global_Parameters::Fourier_wavenumber = 3 |
Define Fourier wavenumber.
Definition at line 55 of file cylinder.cc.
Referenced by body_force(), boundary_traction(), FourierDecomposedTimeHarmonicLinearElasticityProblem< ELEMENT >::complete_problem_setup(), and FourierDecomposedTimeHarmonicLinearElasticityProblem< ELEMENT >::FourierDecomposedTimeHarmonicLinearElasticityProblem().
Definition at line 51 of file cylinder.cc.
Referenced by body_force(), and boundary_traction().
double Global_Parameters::Lr = 1.0 |
double Global_Parameters::Lz = 2.0 |
Definition at line 52 of file cylinder.cc.
Referenced by body_force(), and boundary_traction().
double Global_Parameters::P =1.0 |
Definition at line 75 of file pressure_loaded_cylinder.cc.
Definition at line 70 of file cylinder.cc.
Referenced by FourierDecomposedTimeHarmonicLinearElasticityProblem< ELEMENT >::FourierDecomposedTimeHarmonicLinearElasticityProblem(), and main().
double Global_Parameters::rmin = 0.1 |
Definition at line 68 of file cylinder.cc.
Referenced by FourierDecomposedTimeHarmonicLinearElasticityProblem< ELEMENT >::FourierDecomposedTimeHarmonicLinearElasticityProblem(), and main().
Definition at line 71 of file cylinder.cc.
Referenced by FourierDecomposedTimeHarmonicLinearElasticityProblem< ELEMENT >::FourierDecomposedTimeHarmonicLinearElasticityProblem(), and main().
double Global_Parameters::zmin = 0.3 |
Definition at line 69 of file cylinder.cc.
Referenced by FourierDecomposedTimeHarmonicLinearElasticityProblem< ELEMENT >::FourierDecomposedTimeHarmonicLinearElasticityProblem(), and main().