Projection1DTest Class Reference

Performs L2 projection in 1D with user-specified basis functions. More...

Inheritance diagram for Projection1DTest:

Sundance::LP1DTestBase Sundance::LPTestBase Sundance::ForwardProblemTestBase

List of all members.

Public Member Functions

 Projection1DTest (const Array< int > &nx, const BasisFamily &basis)
std::string name () const
Array< int > pExpected () const
 Return the order of accuracy expected for the solution.
Expr exactSoln () const
LinearProblem prob (const Mesh &mesh) const
Array< LPTestSpecspecs () const

Private Attributes

BasisFamily basis_


Detailed Description

Performs L2 projection in 1D with user-specified basis functions.

Definition at line 192 of file LPTests1D.cpp.


Constructor & Destructor Documentation

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

Definition at line 196 of file LPTests1D.cpp.


Member Function Documentation

Expr Projection1DTest::exactSoln (  )  const [inline, virtual]

Implements Sundance::ForwardProblemTestBase.

Definition at line 213 of file LPTests1D.cpp.

References Sundance::ForwardProblemTestBase::coord().

Referenced by prob().

std::string Projection1DTest::name (  )  const [inline, virtual]

Implements Sundance::ForwardProblemTestBase.

Definition at line 200 of file LPTests1D.cpp.

References basis_, and Playa::Handle< PointerType >::print().

Array<int> Projection1DTest::pExpected (  )  const [inline, virtual]

Return the order of accuracy expected for the solution.

If the problem is vector-valued, an array of expected orders is returned.

Implements Sundance::ForwardProblemTestBase.

Definition at line 210 of file LPTests1D.cpp.

References basis_, and Sundance::BasisFamily::order().

LinearProblem Projection1DTest::prob ( const Mesh mesh  )  const [inline, virtual]

Array<LPTestSpec> Projection1DTest::specs (  )  const [inline, virtual]

Reimplemented from Sundance::LPTestBase.

Definition at line 237 of file LPTests1D.cpp.


Member Data Documentation

Definition at line 248 of file LPTests1D.cpp.

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

Site Contact