Functions | |
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... | |
void | source_function (const Vector< double > &x_vect, double &source) |
Source function required to make the solution above an exact solution. More... | |
void | wind_function (const Vector< double > &x, Vector< double > &wind) |
Wind. More... | |
void | tanh_profile (const Vector< double > &x, Vector< double > &u) |
Tanh profile for assignment of boundary conditons as a Vector. More... | |
void | tanh_profile (const Vector< double > &x, double &u) |
Tanh profile for assignment of boundary conditons as a Vector. More... | |
Variables | |
double | Peclet =200.0 |
Peclet number. More... | |
double | Alpha |
Parameter for steepness of step. More... | |
double | TanPhi |
Parameter for angle of step. More... | |
Namespace for exact solution for AdvectionDiffusion equation with "sharp" step
Namespace for physical parameters and boundary conditions "sharp" step
void TanhSolnForAdvectionDiffusion::get_exact_u | ( | const Vector< double > & | x, |
Vector< double > & | u | ||
) |
Exact solution as a Vector.
Definition at line 63 of file two_d_adv_diff_adapt.cc.
Referenced by RefineableAdvectionDiffusionProblem< ELEMENT >::actions_before_newton_solve(), and RefineableAdvectionDiffusionProblem< ELEMENT >::doc_solution().
void TanhSolnForAdvectionDiffusion::get_exact_u | ( | const Vector< double > & | x, |
double & | u | ||
) |
Exact solution as a scalar.
Definition at line 69 of file two_d_adv_diff_adapt.cc.
void TanhSolnForAdvectionDiffusion::source_function | ( | const Vector< double > & | x_vect, |
double & | source | ||
) |
Source function required to make the solution above an exact solution.
Zero source function.
Definition at line 75 of file two_d_adv_diff_adapt.cc.
Referenced by main(), and tanh_profile().
void TanhSolnForAdvectionDiffusion::tanh_profile | ( | const Vector< double > & | x, |
Vector< double > & | u | ||
) |
Tanh profile for assignment of boundary conditons as a Vector.
Definition at line 62 of file two_d_adv_diff_adapt2.cc.
Referenced by RefineableAdvectionDiffusionProblem< ELEMENT >::mesh_pt().
void TanhSolnForAdvectionDiffusion::tanh_profile | ( | const Vector< double > & | x, |
double & | u | ||
) |
Tanh profile for assignment of boundary conditons as a Vector.
Definition at line 68 of file two_d_adv_diff_adapt2.cc.
References source_function(), and wind_function().
void TanhSolnForAdvectionDiffusion::wind_function | ( | const Vector< double > & | x, |
Vector< double > & | wind | ||
) |
Wind.
Wind: Recirculating cells.
Definition at line 88 of file two_d_adv_diff_adapt.cc.
Referenced by main(), and tanh_profile().
double TanhSolnForAdvectionDiffusion::Alpha |
Parameter for steepness of step.
Parameter for steepness of step in tanh profile.
Definition at line 57 of file two_d_adv_diff_adapt.cc.
Referenced by main().
double TanhSolnForAdvectionDiffusion::Peclet =200.0 |
Peclet number.
Definition at line 54 of file two_d_adv_diff_adapt.cc.
Referenced by RefineableAdvectionDiffusionProblem< ELEMENT >::mesh_pt(), and RefineableAdvectionDiffusionProblem< ELEMENT >::RefineableAdvectionDiffusionProblem().
double TanhSolnForAdvectionDiffusion::TanPhi |
Parameter for angle of step.
Parameter for angle of step in tanh profile.
Definition at line 60 of file two_d_adv_diff_adapt.cc.
Referenced by main().