dune-spgrid  2.7
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
Dune::SPAnisotropicRefinement< dim > Class Template Reference

the user may choose freely along which axes the grid should be refined More...

#include <dune/grid/spgrid/refinement.hh>

Inheritance diagram for Dune::SPAnisotropicRefinement< dim >:
Inheritance graph

Public Types

typedef Base::Policy Policy
 
typedef Base::MultiIndex MultiIndex
 

Public Member Functions

 SPAnisotropicRefinement ()
 
 SPAnisotropicRefinement (const This &father, const Policy &policy)
 
unsigned int numChildren () const
 
bool hasFather (const MultiIndex &id) const
 
void firstChild (MultiIndex &id) const
 
bool nextChild (MultiIndex &id) const
 
bool isCopy (const MultiIndex id) const
 
unsigned int factor (int i) const
 
unsigned int factor (int i) const
 
void father (MultiIndex &id) const
 
void child (MultiIndex &id, unsigned int index) const
 
unsigned int childIndex (const MultiIndex &id) const
 
FieldVector< ctype, dimensionhInFather () const
 
FieldVector< ctype, dimensionoriginInFather (unsigned int index) const
 
const Policypolicy () const
 

Static Public Member Functions

static std::string type ()
 

Static Public Attributes

static const int dimension
 

Detailed Description

template<int dim>
class Dune::SPAnisotropicRefinement< dim >

the user may choose freely along which axes the grid should be refined

Note
By default, this coincides with SPIsotropicRefinement.

Member Typedef Documentation

◆ MultiIndex

◆ Policy

template<int dim>
typedef Base::Policy Dune::SPAnisotropicRefinement< dim >::Policy

Constructor & Destructor Documentation

◆ SPAnisotropicRefinement() [1/2]

template<int dim>
Dune::SPAnisotropicRefinement< dim >::SPAnisotropicRefinement ( )
inline

◆ SPAnisotropicRefinement() [2/2]

template<int dim>
Dune::SPAnisotropicRefinement< dim >::SPAnisotropicRefinement ( const This father,
const Policy policy 
)
inlineexplicit

Member Function Documentation

◆ child()

void Dune::SPDefaultRefinement< SPAnisotropicRefinementPolicy< dim > >::child ( MultiIndex id,
unsigned int  index 
) const
inlineinherited

◆ childIndex()

unsigned int Dune::SPDefaultRefinement< SPAnisotropicRefinementPolicy< dim > >::childIndex ( const MultiIndex id) const
inlineinherited

◆ factor() [1/2]

unsigned int Dune::SPDefaultRefinement< SPAnisotropicRefinementPolicy< dim > >::factor ( int  i) const
inlineinherited

◆ factor() [2/2]

unsigned int Dune::SPDefaultRefinement< SPAnisotropicRefinementPolicy< dim > >::factor
inlineinherited

◆ father()

void Dune::SPDefaultRefinement< SPAnisotropicRefinementPolicy< dim > >::father ( MultiIndex id) const
inlineinherited

◆ firstChild()

void Dune::SPBinaryRefinement< SPAnisotropicRefinementPolicy< dim > >::firstChild ( MultiIndex id) const
inlineinherited

◆ hasFather()

bool Dune::SPBinaryRefinement< SPAnisotropicRefinementPolicy< dim > >::hasFather ( const MultiIndex id) const
inlineinherited

◆ hInFather()

FieldVector< ctype, dimension > Dune::SPDefaultRefinement< SPAnisotropicRefinementPolicy< dim > >::hInFather ( ) const
inlineinherited

◆ isCopy()

bool Dune::SPBinaryRefinement< SPAnisotropicRefinementPolicy< dim > >::isCopy ( const MultiIndex  id) const
inlineinherited

◆ nextChild()

bool Dune::SPBinaryRefinement< SPAnisotropicRefinementPolicy< dim > >::nextChild ( MultiIndex id) const
inlineinherited

◆ numChildren()

template<int dim>
unsigned int Dune::SPAnisotropicRefinement< dim >::numChildren ( ) const
inline

◆ originInFather()

FieldVector< ctype, dimension > Dune::SPDefaultRefinement< SPAnisotropicRefinementPolicy< dim > >::originInFather ( unsigned int  index) const
inlineinherited

◆ policy()

const Policy& Dune::SPDefaultRefinement< SPAnisotropicRefinementPolicy< dim > >::policy ( ) const
inlineinherited

◆ type()

static std::string Dune::SPDefaultRefinement< SPAnisotropicRefinementPolicy< dim > >::type ( )
inlinestaticinherited

Member Data Documentation

◆ dimension

const int Dune::SPDefaultRefinement< SPAnisotropicRefinementPolicy< dim > >::dimension
staticinherited

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