Public Member Functions | |
MultiIndex () | |
MultiIndex (int x, int y, int z) | |
bool | operator== (const MultiIndex &other) const |
bool | operator< (const MultiIndex &other) const |
const int & | operator[] (int i) const |
int & | operator[] (int i) |
MultiIndex | operator+ (const MultiIndex &other) const |
MultiIndex | operator- (const MultiIndex &other) const |
MultiIndex | operator- () const |
std::string | toString () const |
XMLObject | toXML () const |
int | order () const |
int | firstOrderDirection () const |
bool | isValid () const |
std::string | coordForm () const |
Static Public Member Functions | |
static int | maxDim () |
Private Attributes | |
Array< int > | m_ |
Related Functions | |
(Note that these are not member functions.) | |
std::string | toString (const Sundance::MultiIndex &h) |
ostream & | operator<< (std::ostream &os, const Sundance::MultiIndex &h) |
Definition at line 48 of file SundanceMultiIndex.hpp.
MultiIndex::MultiIndex | ( | ) |
constructs D(0,0,0)
Definition at line 40 of file SundanceMultiIndex.cpp.
MultiIndex::MultiIndex | ( | int | x, | |
int | y, | |||
int | z | |||
) |
constructs a multiindex D(x,y,z)
Definition at line 44 of file SundanceMultiIndex.cpp.
References m_.
string MultiIndex::coordForm | ( | ) | const |
int MultiIndex::firstOrderDirection | ( | ) | const |
Definition at line 139 of file SundanceMultiIndex.cpp.
References m_, maxDim(), and order().
Referenced by Sundance::coordDeriv(), Sundance::Deriv::derivAlgSpec(), Sundance::DiffOpEvaluator::DiffOpEvaluator(), Sundance::Lagrange::evalOnBrick(), Sundance::EdgeLocalizedBasis::evalOnLine(), Sundance::Legendre::evalOnQuad(), Sundance::Lagrange::evalOnquad(), Sundance::Lagrange::evalOnTet(), Sundance::Bubble::evalOnTet(), Sundance::Bernstein::evalOnTet(), Sundance::Lagrange::evalOnTriangle(), Sundance::EdgeLocalizedBasis::evalOnTriangle(), Sundance::CubicHermite::evalOnTriangle(), Sundance::Bubble::evalOnTriangle(), Sundance::Bernstein::evalOnTriangle(), Sundance::TrivialGrouper::findGroups(), Sundance::DiffOp::internalDetermineR(), Sundance::RaviartThomas::refEval(), Sundance::Deriv::toString(), Sundance::DiffOp::toText(), and Sundance::Xx().
bool MultiIndex::isValid | ( | ) | const |
static int Sundance::MultiIndex::maxDim | ( | ) | [inline, static] |
Definition at line 90 of file SundanceMultiIndex.hpp.
Referenced by firstOrderDirection(), isValid(), operator+(), operator-(), operator<(), operator==(), and order().
MultiIndex MultiIndex::operator+ | ( | const MultiIndex & | other | ) | const |
MultiIndex MultiIndex::operator- | ( | ) | const |
MultiIndex MultiIndex::operator- | ( | const MultiIndex & | other | ) | const |
bool MultiIndex::operator< | ( | const MultiIndex & | other | ) | const |
bool MultiIndex::operator== | ( | const MultiIndex & | other | ) | const |
int& Sundance::MultiIndex::operator[] | ( | int | i | ) | [inline] |
const int& Sundance::MultiIndex::operator[] | ( | int | i | ) | const [inline] |
int MultiIndex::order | ( | ) | const |
Definition at line 120 of file SundanceMultiIndex.cpp.
Referenced by Sundance::applyZx(), Sundance::CoordExprEvaluator::CoordExprEvaluator(), Sundance::SpatialDerivSpecifier::derivOrder(), Sundance::SpatialDerivSpecifier::derivWrtMultiIndex(), Sundance::Deriv::derivWrtMultiIndex(), Sundance::CurveEvalMediator::evalDiscreteFuncElement(), Sundance::Lagrange::evalOnBrick(), Sundance::Legendre::evalOnLine(), Sundance::Lagrange::evalOnLine(), Sundance::Fourier::evalOnLine(), Sundance::EdgeLocalizedBasis::evalOnLine(), Sundance::CubicHermite::evalOnLine(), Sundance::Bubble::evalOnLine(), Sundance::Bernstein::evalOnLine(), Sundance::Legendre::evalOnQuad(), Sundance::Lagrange::evalOnquad(), Sundance::Lagrange::evalOnTet(), Sundance::Bubble::evalOnTet(), Sundance::Bernstein::evalOnTet(), Sundance::Lagrange::evalOnTriangle(), Sundance::EdgeLocalizedBasis::evalOnTriangle(), Sundance::CubicHermite::evalOnTriangle(), Sundance::Bubble::evalOnTriangle(), Sundance::Bernstein::evalOnTriangle(), Sundance::TrivialGrouper::findGroups(), firstOrderDirection(), Sundance::DiscreteFuncElement::internalDetermineR(), Sundance::DiscreteFuncElement::internalFindV(), Sundance::DiscreteFuncElement::internalFindW(), Sundance::SpatialDerivSpecifier::isIdentity(), Sundance::DiffOp::maxDiffOrderOnDiscreteFunctions(), Sundance::RaviartThomas::refEval(), and Sundance::Xx().
string MultiIndex::toString | ( | ) | const |
Definition at line 85 of file SundanceMultiIndex.cpp.
References m_.
Referenced by Sundance::CoordExprEvaluator::CoordExprEvaluator(), Sundance::DerivOfSymbFuncEvaluator::DerivOfSymbFuncEvaluator(), Sundance::DiffOpEvaluator::DiffOpEvaluator(), Sundance::GrouperBase::extractWeakForm(), operator<<(), toString(), Sundance::Derivative::toText(), toXML(), Sundance::DiffOp::toXML(), and Sundance::Derivative::toXML().
XMLObject MultiIndex::toXML | ( | ) | const |
ostream & operator<< | ( | std::ostream & | os, | |
const Sundance::MultiIndex & | h | |||
) | [related] |
std::string toString | ( | const Sundance::MultiIndex & | h | ) | [related] |
Array<int> Sundance::MultiIndex::m_ [private] |
Definition at line 98 of file SundanceMultiIndex.hpp.
Referenced by coordForm(), firstOrderDirection(), isValid(), MultiIndex(), operator+(), operator-(), operator<(), operator==(), operator[](), order(), and toString().