Dune::DefaultGridIndexSetBase< GridType > Class Template Reference

default base class for index set implementations for FR numerics More...

#include <dune/grid/alugrid/common/defaultindexsets.hh>

Inheritance diagram for Dune::DefaultGridIndexSetBase< GridType >:
Inheritance graph

List of all members.

Public Types

enum  { ncodim = GridType::dimension + 1 }

Public Member Functions

 DefaultGridIndexSetBase (const GridType &grid)
 Conschdrugdor.
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

Static Public Member Functions

static int type ()

Protected Member Functions

bool processXdr (XDR *xdrs)

Protected Attributes

const GridType & grid_
const bool adaptive_

Detailed Description

template<class GridType>
class Dune::DefaultGridIndexSetBase< GridType >

default base class for index set implementations for FR numerics


Member Enumeration Documentation

template<class GridType >
anonymous enum
Enumerator:
ncodim 

Constructor & Destructor Documentation

template<class GridType >
Dune::DefaultGridIndexSetBase< GridType >::DefaultGridIndexSetBase ( const GridType &  grid  )  [inline]

Conschdrugdor.


Member Function Documentation

bool Dune::DefaultEmptyIndexSet::adaptive (  )  const [inline, inherited]

returns true if index set can be used for adaptive calculations

References Dune::DefaultEmptyIndexSet::adaptive_.

int Dune::DefaultEmptyIndexSet::additionalSizeEstimate (  )  const [inline, inherited]

no extra memory for restriction is needed

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

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

template<class EntityType >
void Dune::DefaultEmptyIndexSet::insertNewIndex ( const EntityType &  en  )  [inline, inherited]

do nothing here, because fathers index should already exist

References Dune::DefaultEmptyIndexSet::adaptive_.

bool Dune::DefaultEmptyIndexSet::needsCompress (  )  const [inline, inherited]

returns true if index set gernally needs compress after adaptation

int Dune::DefaultEmptyIndexSet::newIndex ( int  hole,
int  codim 
) const [inline, inherited]

return new index, for dof manager only

int Dune::DefaultEmptyIndexSet::numberOfHoles ( int  codim  )  const [inline, inherited]

we have no old size

int Dune::DefaultEmptyIndexSet::oldIndex ( int  hole,
int  codim 
) const [inline, inherited]

return old index, for dof manager only

bool Dune::DefaultEmptyIndexSet::processXdr ( XDR *  xdrs  )  [inline, protected, inherited]
bool Dune::DefaultEmptyIndexSet::read_xdr ( const std::basic_string< char >  filename,
int  timestep 
) [inline, inherited]

read index set to xdr file

References Dune::DefaultEmptyIndexSet::processXdr().

template<class EntityType >
void Dune::DefaultEmptyIndexSet::removeOldIndex ( const EntityType &  en  )  [inline, inherited]

do nothing here, because fathers index should already exist

References Dune::DefaultEmptyIndexSet::adaptive_.

void Dune::DefaultEmptyIndexSet::resize (  )  [inline, inherited]

nothing to do here

static int Dune::DefaultEmptyIndexSet::type (  )  [inline, static, inherited]
bool Dune::DefaultEmptyIndexSet::write_xdr ( const std::basic_string< char >  filename,
int  timestep 
) [inline, inherited]

write index set to xdr file

References Dune::DefaultEmptyIndexSet::processXdr().


Member Data Documentation

template<class GridType >
const GridType& Dune::DefaultGridIndexSetBase< GridType >::grid_ [protected]

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

Generated on Fri Apr 29 2011 with Doxygen (ver 1.7.1) [doxygen-log,error-log].