//////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// More...
Functions | |
void | wind_function (const Vector< double > &x, Vector< double > &wind) |
Wind. More... | |
void | get_exact_u (const Vector< double > &x, Vector< double > &u) |
Exact solution as a Vector. More... | |
void | get_exact_u (const Vector< double > &x, double &u) |
Exact solution as a scalar. More... | |
double | source_function (const Vector< double > &x_vect) |
Source function required to make the solution above an exact solution. More... | |
Variables | |
unsigned | Flag = 0 |
Flag for solution. More... | |
double | Peclet = 0.0 |
Peclet number – overwrite with actual Reynolds number. More... | |
//////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////
Namespace for exact solution for pressure advection diffusion problem
void oomph::PressureAdvectionDiffusionValidation::get_exact_u | ( | const Vector< double > & | x, |
double & | u | ||
) |
Exact solution as a scalar.
Definition at line 79 of file navier_stokes_preconditioners.cc.
void oomph::PressureAdvectionDiffusionValidation::get_exact_u | ( | const Vector< double > & | x, |
Vector< double > & | u | ||
) |
Exact solution as a Vector.
Definition at line 63 of file navier_stokes_preconditioners.cc.
References Flag, Peclet, and wind_function().
Referenced by oomph::FpPressureAdvectionDiffusionProblem< ELEMENT >::doc_solution().
double oomph::PressureAdvectionDiffusionValidation::source_function | ( | const Vector< double > & | x_vect | ) |
Source function required to make the solution above an exact solution.
Definition at line 93 of file navier_stokes_preconditioners.cc.
Referenced by oomph::FpPressureAdvectionDiffusionProblem< ELEMENT >::validate().
void oomph::PressureAdvectionDiffusionValidation::wind_function | ( | const Vector< double > & | x, |
Vector< double > & | wind | ||
) |
Wind.
Definition at line 48 of file navier_stokes_preconditioners.cc.
References Flag.
Referenced by get_exact_u(), and oomph::FpPressureAdvectionDiffusionProblem< ELEMENT >::pin_all_non_pressure_dofs().
unsigned oomph::PressureAdvectionDiffusionValidation::Flag = 0 |
Flag for solution.
Definition at line 42 of file navier_stokes_preconditioners.cc.
Referenced by get_exact_u(), source_function(), oomph::FpPressureAdvectionDiffusionProblem< ELEMENT >::validate(), and wind_function().
double oomph::PressureAdvectionDiffusionValidation::Peclet = 0.0 |
Peclet number – overwrite with actual Reynolds number.
Definition at line 45 of file navier_stokes_preconditioners.cc.
Referenced by get_exact_u(), source_function(), and oomph::FpPressureAdvectionDiffusionProblem< ELEMENT >::validate().