Public Member Functions | |
NitschePoisson2DTest (const Array< int > &n, int k, double C) | |
std::string | name () const |
Expr | exactSoln () const |
Array< int > | pExpected () const |
LinearProblem | prob (const Mesh &mesh) const |
Array< LPTestSpec > | specs () const |
void | postRunCallback (int meshID, const Mesh &mesh, const string &solverFile, const Expr &soln) const |
Private Attributes | |
int | k_ |
double | C_ |
Definition at line 5 of file NitschePoisson2D.cpp.
NitschePoisson2DTest::NitschePoisson2DTest | ( | const Array< int > & | n, | |
int | k, | |||
double | C | |||
) | [inline] |
Definition at line 9 of file NitschePoisson2D.cpp.
Expr NitschePoisson2DTest::exactSoln | ( | ) | const [inline] |
Definition at line 16 of file NitschePoisson2D.cpp.
References pi.
Referenced by postRunCallback(), and prob().
std::string NitschePoisson2DTest::name | ( | ) | const [inline] |
Definition at line 13 of file NitschePoisson2D.cpp.
Array<int> NitschePoisson2DTest::pExpected | ( | ) | const [inline] |
void NitschePoisson2DTest::postRunCallback | ( | int | meshID, | |
const Mesh & | mesh, | |||
const string & | solverFile, | |||
const Expr & | soln | |||
) | const [inline] |
Definition at line 73 of file NitschePoisson2D.cpp.
References C_, exactSoln(), k_, and Teuchos::toString().
LinearProblem NitschePoisson2DTest::prob | ( | const Mesh & | mesh | ) | const [inline] |
Definition at line 28 of file NitschePoisson2D.cpp.
References C_, exactSoln(), force(), k_, Sundance::List(), Sundance::NitschePoissonDirichletBC(), and pi.
Array<LPTestSpec> NitschePoisson2DTest::specs | ( | ) | const [inline] |
Specify which linear solvers are to be used.
Definition at line 61 of file NitschePoisson2D.cpp.
double NitschePoisson2DTest::C_ [private] |
int NitschePoisson2DTest::k_ [private] |
Definition at line 94 of file NitschePoisson2D.cpp.
Referenced by pExpected(), postRunCallback(), and prob().