Classes | Namespaces | Functions | Variables
mesh_from_inline_triangle.cc File Reference

Go to the source code of this file.

Classes

class  UnstructuredPoissonProblem< ELEMENT >
 //////////////////////////////////////////////////////// //////////////////////////////////////////////////////// More...
 

Namespaces

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

Functions

void TanhSolnForPoisson::get_exact_u (const Vector< double > &x, Vector< double > &u)
 Exact solution as a Vector. More...
 
void TanhSolnForPoisson::get_source (const Vector< double > &x, double &source)
 Source function required to make the solution above an exact solution. More...
 
void TanhSolnForPoisson::zero (const Vector< double > &x, Vector< double > &u)
 Zero function – used to compute norm of the computed solution by computing the norm of the error when compared against this. More...
 
int main (int argc, char **argv)
 Driver code for demo of inline triangle mesh generation. More...
 

Variables

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

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Driver code for demo of inline triangle mesh generation.

Definition at line 595 of file mesh_from_inline_triangle.cc.

References UnstructuredPoissonProblem< ELEMENT >::doc_solution(), and TanhSolnForPoisson::TanPhi.