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_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
 Parameter for steepness of step. More...
 
double Beta
 Parameter for angle of step. More...
 

Detailed Description

Namespace for exact solution for Poisson equation with sharp step.

Function Documentation

◆ get_exact_u() [1/2]

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

◆ get_exact_u() [2/2]

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

Exact solution as a scalar.

Definition at line 70 of file mesh_from_geompack_poisson.cc.

◆ get_source()

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

Source function to make it an exact solution.

Definition at line 77 of file mesh_from_geompack_poisson.cc.

Referenced by main().

Variable Documentation

◆ Alpha

double TanhSolnForPoisson::Alpha

Parameter for steepness of step.

Definition at line 56 of file mesh_from_geompack_poisson.cc.

Referenced by PoissonProblem< ELEMENT >::PoissonProblem().

◆ Beta

double TanhSolnForPoisson::Beta

Parameter for angle of step.

Definition at line 59 of file mesh_from_geompack_poisson.cc.

Referenced by PoissonProblem< ELEMENT >::PoissonProblem().