Dune::DefaultEmptyIndexSet Class Reference

#include <defaultindexsets.hh>

Inheritance diagram for Dune::DefaultEmptyIndexSet:

Dune::DefaultGridIndexSetBase< GridType > Dune::IndexSetWrapper< IndexSetImp > Dune::IndexSetWrapper< Dune::HierarchicIndexSetSelector< Dune::YaspGrid >::HierarchicIndexSet > Dune::IndexSetWrapper< GridType::Traits::LeafIndexSet > Dune::IndexSetWrapper< GridType::Traits::LevelIndexSet > Dune::WrappedHierarchicIndexSet< GridType > Dune::WrappedLeafIndexSet< GridType > Dune::WrappedLevelIndexSet< GridType >

List of all members.


Detailed Description

The DefaultGridIndexSet is a wrapper for the grid index which can be index of entity or globalIndex. The DofMapper uses an IndexSet for mapping the dofs, so we can hide the real grid index behind the index set. Furthermore if a grid doesn't provide the consecutive index set then this can be calculated in the IndexSet. These two following index sets are just the identiy to the grid indices.

The DefaultGridIndexSetBase defines some methods that are needed for index sets that cope with adaptation, but aren't needed for the following index set, so most of this methods do notin'.

Public Member Functions

 DefaultEmptyIndexSet (bool adaptive)
 default constructor
bool compress ()
bool adaptive () const
 returns true if index set can be used for adaptive calculations
bool needsCompress () const
 returns true if index set gernally needs compress after adaptation
template<class EntityType>
void insertNewIndex (const EntityType &en)
 do nothing here, because fathers index should already exist
template<class EntityType>
void removeOldIndex (const EntityType &en)
 do nothing here, because fathers index should already exist
void resize ()
 nothing to do here
int additionalSizeEstimate () const
 no extra memory for restriction is needed
int numberOfHoles (int codim) const
 we have no old size
int oldIndex (int hole, int codim) const
 return old index, for dof manager only
int newIndex (int hole, int codim) const
 return new index, for dof manager only
bool write_xdr (const std::basic_string< char > filename, int timestep)
 write index set to xdr file
bool read_xdr (const std::basic_string< char > filename, int timestep)
 read index set to xdr file


Member Function Documentation

bool Dune::DefaultEmptyIndexSet::compress (  )  [inline]

return false mean the no memory has to be allocated and no compress of date has to be done


The documentation for this class was generated from the following file:

Generated on Sun Nov 15 22:28:52 2009 for dune-grid by  doxygen 1.5.6