Sundance::ImplicitCellSet Class Reference

Inheritance diagram for Sundance::ImplicitCellSet:

Sundance::CellSetBase Sundance::ObjectWithClassVerbosity< CellSetBase > Playa::Printable Sundance::Noncopyable Playa::Handleable< CellSetBase > Playa::ObjectWithVerbosity

List of all members.

Public Member Functions

 ImplicitCellSet (const Mesh &mesh, int cellDim, const CellType &cellType)
virtual CellIterator begin () const
virtual CellIterator end () const
bool internalLessThan (const CellSetBase *other) const
Printable interface

virtual void print (std::ostream &os) const

Private Attributes

Handleable interface

int maxLID_

Detailed Description

ImplicitCellSet is a cell set subtype where the set of cell LIDs is never stored. Iteration is done by simply advancing the LID by one.

See also:
CellFilter, CellSetBase, CellIterator

Definition at line 53 of file SundanceImplicitCellSet.hpp.

Constructor & Destructor Documentation

ImplicitCellSet::ImplicitCellSet ( const Mesh mesh,
int  cellDim,
const CellType cellType 

Construct with a mesh

Definition at line 39 of file SundanceImplicitCellSet.cpp.

Member Function Documentation

CellIterator ImplicitCellSet::begin (  )  const [virtual]

Returns an iterator pointing to the first element in the set.

Implements Sundance::CellSetBase.

Definition at line 45 of file SundanceImplicitCellSet.cpp.

References Sundance::CellIterator::Begin, Sundance::CellSetBase::dimension(), and Sundance::CellSetBase::mesh().

CellIterator ImplicitCellSet::end (  )  const [virtual]

Returns a past-the-end iterator

Implements Sundance::CellSetBase.

Definition at line 50 of file SundanceImplicitCellSet.cpp.

References Sundance::CellSetBase::dimension(), Sundance::CellIterator::End, and Sundance::CellSetBase::mesh().

bool ImplicitCellSet::internalLessThan ( const CellSetBase other  )  const [virtual]

Implements Sundance::CellSetBase.

Definition at line 60 of file SundanceImplicitCellSet.cpp.

References maxLID_.

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

Print to a stream

Implements Playa::Printable.

Definition at line 55 of file SundanceImplicitCellSet.cpp.

References Sundance::CellSetBase::cellType(), and Sundance::CellSetBase::dimension().

Member Data Documentation

Definition at line 82 of file SundanceImplicitCellSet.hpp.

Referenced by internalLessThan().

Site Contact