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

Go to the source code of this file.

Classes

class  OneDPoissonProblem< ELEMENT >
 1D Poisson problem in unit interval. More...
 

Namespaces

 FishSolnOneDPoisson
 Namespace for fish-shaped solution of 1D Poisson equation.
 

Functions

void FishSolnOneDPoisson::get_exact_u (const Vector< double > &x, Vector< double > &u)
 Exact, fish-shaped solution as a 1D vector. More...
 
void FishSolnOneDPoisson::source_function (const Vector< double > &x, double &source)
 Source function required to make the fish shape an exact solution. More...
 
int main ()
 ///////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////// More...
 

Variables

int FishSolnOneDPoisson::Sign =-1
 Sign of the source function (- gives the upper half of the fish, + the lower half) More...
 

Function Documentation

◆ main()

int main ( )

///////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////

Driver for 1D Poisson problem

Definition at line 259 of file one_d_poisson.cc.

References OneDPoissonProblem< ELEMENT >::doc_solution(), FishSolnOneDPoisson::Sign, and FishSolnOneDPoisson::source_function().