Functions | Variables
TanhSolnForPoisson Namespace Reference

Namespace for exact solution for Poisson equation with "sharp step". More...

Functions

void get_exact_u (const Vector< double > &x, Vector< double > &u)
 Exact solution as a Vector. More...
 
void get_source (const Vector< double > &x, double &source)
 Source function required to make the solution above an exact solution. More...
 

Variables

double Alpha =5.0
 Parameter for steepness of "step". More...
 
double TanPhi =0.0
 Parameter for angle Phi of "step". More...
 

Detailed Description

Namespace for exact solution for Poisson equation with "sharp step".

Function Documentation

void TanhSolnForPoisson::get_exact_u ( const Vector< double > &  x,
Vector< double > &  u 
)
void TanhSolnForPoisson::get_source ( const Vector< double > &  x,
double &  source 
)

Source function required to make the solution above an exact solution.

Definition at line 108 of file two_d_poisson_adapt.cc.

References Alpha, and TanPhi.

Referenced by main().

Variable Documentation

double TanhSolnForPoisson::Alpha =5.0

Parameter for steepness of "step".

Definition at line 96 of file two_d_poisson_adapt.cc.

Referenced by get_exact_u(), get_source(), and main().

double TanhSolnForPoisson::TanPhi =0.0

Parameter for angle Phi of "step".

Definition at line 99 of file two_d_poisson_adapt.cc.

Referenced by get_exact_u(), get_source(), and main().