Namespace for exact solution for Poisson equation with sharp step. More...
Functions | |
void | get_exact_u (const Vector< double > &x, Vector< double > &u) |
void | get_exact_u (const Vector< double > &x, double &u) |
Exact solution as a scalar. More... | |
void | get_source (const Vector< double > &x, double &source) |
Source function to make it an exact solution. More... | |
Variables | |
double | Alpha =1 |
Parameter for steepness of step. More... | |
double | N_x =-1.0 |
Orientation (non-normalised x-component of unit vector in direction of step plane) More... | |
double | N_y =-1.0 |
Orientation (non-normalised y-component of unit vector in direction of step plane) More... | |
double | N_z =1.0 |
Orientation (non-normalised z-component of unit vector in direction of step plane) More... | |
double | X_0 =0.0 |
Orientation (x-coordinate of step plane) More... | |
double | Y_0 =0.0 |
Orientation (y-coordinate of step plane) More... | |
double | Z_0 =0.0 |
Orientation (z-coordinate of step plane) More... | |
Namespace for exact solution for Poisson equation with sharp step.
void TanhSolnForPoisson::get_exact_u | ( | const Vector< double > & | x, |
double & | u | ||
) |
void TanhSolnForPoisson::get_exact_u | ( | const Vector< double > & | x, |
Vector< double > & | u | ||
) |
Definition at line 74 of file eighth_sphere_poisson.cc.
References Alpha, N_x, N_y, N_z, X_0, Y_0, and Z_0.
Referenced by EighthSpherePoissonProblem< ELEMENT >::actions_before_newton_solve(), and EighthSpherePoissonProblem< ELEMENT >::doc_solution().
void TanhSolnForPoisson::get_source | ( | const Vector< double > & | x, |
double & | source | ||
) |
double TanhSolnForPoisson::Alpha =1 |
Parameter for steepness of step.
Definition at line 48 of file eighth_sphere_poisson.cc.
Referenced by EighthSpherePoissonProblem< ELEMENT >::EighthSpherePoissonProblem(), get_exact_u(), and get_source().
double TanhSolnForPoisson::N_x =-1.0 |
Orientation (non-normalised x-component of unit vector in direction of step plane)
Definition at line 52 of file eighth_sphere_poisson.cc.
Referenced by get_exact_u(), and get_source().
double TanhSolnForPoisson::N_y =-1.0 |
Orientation (non-normalised y-component of unit vector in direction of step plane)
Definition at line 56 of file eighth_sphere_poisson.cc.
Referenced by get_exact_u(), and get_source().
double TanhSolnForPoisson::N_z =1.0 |
Orientation (non-normalised z-component of unit vector in direction of step plane)
Definition at line 60 of file eighth_sphere_poisson.cc.
Referenced by get_exact_u(), and get_source().
double TanhSolnForPoisson::X_0 =0.0 |
Orientation (x-coordinate of step plane)
Definition at line 64 of file eighth_sphere_poisson.cc.
Referenced by get_exact_u(), and get_source().
double TanhSolnForPoisson::Y_0 =0.0 |
Orientation (y-coordinate of step plane)
Definition at line 67 of file eighth_sphere_poisson.cc.
Referenced by get_exact_u(), and get_source().
double TanhSolnForPoisson::Z_0 =0.0 |
Orientation (z-coordinate of step plane)
Definition at line 70 of file eighth_sphere_poisson.cc.
Referenced by get_exact_u(), and get_source().