Sundance::DimensionalCellFilter Class Reference

Inheritance diagram for Sundance::DimensionalCellFilter:


List of all members.

Public Member Functions

 DimensionalCellFilter (int dim)
virtual ~DimensionalCellFilter ()
virtual int dimension (const Mesh &mesh) const
virtual XMLObject toXML () const
virtual std::string typeName () const
virtual std::string description () const
virtual bool lessThan (const CellFilterStub *other) const

Handleable interface

int dim_
virtual CellSet internalGetCells (const Mesh &mesh) const

Detailed Description

DimensionalCellFilter is a filter that identifies all cells of a specified dimension.


get all faces in a 3D mesh

 Mesh myMesh = myReader.getMesh();
 CellFilter faceFilter = new DimensionalCellFilter(2);
 CellSet faces = faceFilter.getCells(myMesh);

Definition at line 57 of file SundanceDimensionalCellFilter.hpp.

Constructor & Destructor Documentation

DimensionalCellFilter::DimensionalCellFilter ( int  dim  ) 

virtual Sundance::DimensionalCellFilter::~DimensionalCellFilter (  )  [inline, virtual]

Definition at line 64 of file SundanceDimensionalCellFilter.hpp.

Member Function Documentation

virtual std::string Sundance::DimensionalCellFilter::description (  )  const [inline, virtual]

Reimplemented from Sundance::CellFilterBase.

Definition at line 76 of file SundanceDimensionalCellFilter.hpp.

References dim_, and Sundance::CellFilterBase::toString().

virtual int Sundance::DimensionalCellFilter::dimension ( const Mesh mesh  )  const [inline, virtual]

Implements Sundance::CellFilterBase.

Definition at line 67 of file SundanceDimensionalCellFilter.hpp.

References dim_.

Referenced by Sundance::DOFMapBuilder::isWholeDomain().

CellSet DimensionalCellFilter::internalGetCells ( const Mesh mesh  )  const [protected, virtual]

get the cells

Implements Sundance::CellFilterBase.

Definition at line 65 of file SundanceDimensionalCellFilter.cpp.

References Sundance::Mesh::cellType(), and dim_.

bool DimensionalCellFilter::lessThan ( const CellFilterStub *  other  )  const [virtual]

Definition at line 54 of file SundanceDimensionalCellFilter.cpp.

References dim_.

XMLObject DimensionalCellFilter::toXML (  )  const [virtual]

Definition at line 46 of file SundanceDimensionalCellFilter.cpp.

References dim_, and Teuchos::toString().

virtual std::string Sundance::DimensionalCellFilter::typeName (  )  const [inline, virtual]

Definition at line 73 of file SundanceDimensionalCellFilter.hpp.

Member Data Documentation

Site Contact