Poisson1DTest Class Reference

List of all members.

Public Member Functions

 Poisson1DTest (const Array< int > &nx, const BasisFamily &basis)
std::string name () const
Array< int > pExpected () const
Expr exactSoln () const
LinearProblem prob (const Mesh &mesh) const
Array< LPTestSpec > specs () const

Private Attributes

BasisFamily basis_

Detailed Description

Solves the Poisson equation in 1D with user-specified basis functions

Definition at line 122 of file LPTests1D.cpp.

Constructor & Destructor Documentation

Poisson1DTest::Poisson1DTest ( const Array< int > &  nx,
const BasisFamily &  basis 
) [inline]

Definition at line 126 of file LPTests1D.cpp.

Member Function Documentation

Expr Poisson1DTest::exactSoln (  )  const [inline]

Definition at line 142 of file LPTests1D.cpp.

References pi.

std::string Poisson1DTest::name (  )  const [inline]

Definition at line 130 of file LPTests1D.cpp.

References basis_.

Array<int> Poisson1DTest::pExpected (  )  const [inline]

Definition at line 139 of file LPTests1D.cpp.

References basis_.

LinearProblem Poisson1DTest::prob ( const Mesh &  mesh  )  const [inline]

Definition at line 151 of file LPTests1D.cpp.

References basis_, Sundance::gradient(), and pi.

Array<LPTestSpec> Poisson1DTest::specs (  )  const [inline]

Definition at line 173 of file LPTests1D.cpp.

Member Data Documentation

BasisFamily Poisson1DTest::basis_ [private]

Definition at line 185 of file LPTests1D.cpp.

Referenced by name(), pExpected(), and prob().

Site Contact