Sundance::Fourier Class Reference

Inheritance diagram for Sundance::Fourier:

Sundance::ScalarBasis Sundance::BasisFamilyBase Sundance::BasisFamilyBase Sundance::BasisReferenceEvaluationBase Sundance::TensorBasisBase Sundance::BasisDOFTopologyBase Sundance::ObjectWithClassVerbosity< BasisFamilyBase > Playa::Printable Playa::Handleable< BasisFamilyBase > Sundance::BasisReferenceEvaluationBase Sundance::TensorBasisBase Sundance::BasisDOFTopologyBase Sundance::ObjectWithClassVerbosity< BasisFamilyBase > Playa::Printable Playa::Handleable< BasisFamilyBase >

List of all members.

Public Member Functions

 Fourier (int N)
bool supportsCellTypePair (const CellType &maximalCellType, const CellType &cellType) const
 Inform caller as to whether a given cell type is supported.
void print (std::ostream &os) const
int order () const
int nReferenceDOFsWithoutFacets (const CellType &maximalCellType, const CellType &cellType) const
void getReferenceDOFs (const CellType &maximalCellType, const CellType &cellType, Array< Array< Array< int > > > &dofs) const
void refEval (const CellType &cellType, const Array< Point > &pts, const SpatialDerivSpecifier &deriv, Array< Array< Array< double > > > &result, int verbosity=0) const

Handleable interface



int N_
static Array< int > makeRange (int low, int high)
void evalOnLine (const Point &pt, const MultiIndex &deriv, Array< double > &result) const


Detailed Description

Fourier basis

Definition at line 43 of file SundanceFourier.hpp.


Constructor & Destructor Documentation

Fourier::Fourier ( int  N  ) 

Construct a Fourier basis with the specified maximum frequency

Definition at line 44 of file SundanceFourier.cpp.


Member Function Documentation

void Fourier::evalOnLine ( const Point pt,
const MultiIndex deriv,
Array< double > &  result 
) const [private]

evaluate on a line cell

Definition at line 154 of file SundanceFourier.cpp.

References N_, Sundance::MultiIndex::order(), Playa::Out::os(), and pi.

Referenced by refEval().

void Fourier::getReferenceDOFs ( const CellType maximalCellType,
const CellType cellType,
Array< Array< Array< int > > > &  dofs 
) const [virtual]

Implements Sundance::BasisDOFTopologyBase.

Definition at line 99 of file SundanceFourier.cpp.

References Sundance::LineCell, makeRange(), and N_.

Array< int > Fourier::makeRange ( int  low,
int  high 
) [static, private]

Definition at line 90 of file SundanceFourier.cpp.

Referenced by getReferenceDOFs().

int Fourier::nReferenceDOFsWithoutFacets ( const CellType maximalCellType,
const CellType cellType 
) const [virtual]

return the number of nodes for this basis on the given cell type

Implements Sundance::BasisDOFTopologyBase.

Definition at line 73 of file SundanceFourier.cpp.

References Sundance::LineCell, N_, and Sundance::PointCell.

int Sundance::Fourier::order (  )  const [inline, virtual]

Implements Sundance::BasisFamilyBase.

Definition at line 61 of file SundanceFourier.hpp.

References N_.

void Fourier::print ( std::ostream &  os  )  const [virtual]

Implements Playa::Printable.

Definition at line 68 of file SundanceFourier.cpp.

References N_.

void Fourier::refEval ( const CellType cellType,
const Array< Point > &  pts,
const SpatialDerivSpecifier deriv,
Array< Array< Array< double > > > &  result,
int  verbosity = 0 
) const [virtual]

bool Fourier::supportsCellTypePair ( const CellType maximalCellType,
const CellType cellType 
) const [virtual]

Inform caller as to whether a given cell type is supported.

Implements Sundance::BasisDOFTopologyBase.

Definition at line 47 of file SundanceFourier.cpp.

References Sundance::LineCell, and Sundance::PointCell.


Member Data Documentation

int Sundance::Fourier::N_ [private]

the order of the basis

Definition at line 95 of file SundanceFourier.hpp.

Referenced by evalOnLine(), getReferenceDOFs(), nReferenceDOFsWithoutFacets(), order(), and print().

Site Contact