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 |
Definition at line 43 of file SundanceFourier.hpp.
Fourier::Fourier | ( | int | N | ) |
Construct a Fourier basis with the specified maximum frequency
Definition at line 44 of file SundanceFourier.cpp.
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] |
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] |
void Fourier::refEval | ( | const CellType & | cellType, | |
const Array< Point > & | pts, | |||
const SpatialDerivSpecifier & | deriv, | |||
Array< Array< Array< double > > > & | result, | |||
int | verbosity = 0 | |||
) | const [virtual] |
Implements Sundance::BasisReferenceEvaluationBase.
Definition at line 122 of file SundanceFourier.cpp.
References evalOnLine(), Sundance::SpatialDerivSpecifier::isIdentity(), Sundance::SpatialDerivSpecifier::isPartial(), Sundance::LineCell, and Sundance::SpatialDerivSpecifier::mi().
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.
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().