dune-grid 2.9.0
Classes | Public Member Functions | List of all members
Dune::Alberta::MeshPointer< dim > Class Template Reference

#include <dune/grid/albertagrid/meshpointer.hh>

Inheritance diagram for Dune::Alberta::MeshPointer< dim >:
Inheritance graph

Classes

class  MacroIterator
 

Public Member Functions

 MeshPointer ()
 
 MeshPointer (Mesh *mesh)
 
 operator Mesh * () const
 
 operator bool () const
 
MacroIterator begin () const
 
MacroIterator end () const
 
int numMacroElements () const
 
int size (int codim) const
 
unsigned int create (const MacroData< dim > &macroData)
 
template<class Proj , class Impl >
unsigned int create (const MacroData< dim > &macroData, const ProjectionFactoryInterface< Proj, Impl > &projectionFactory)
 
unsigned int create (const std::string &filename, bool binary=false)
 
unsigned int read (const std::string &filename, Real &time)
 
bool write (const std::string &filename, Real time) const
 
void release ()
 
template<class Functor >
void hierarchicTraverse (Functor &functor, typename FillFlags::Flags fillFlags=FillFlags::standard) const
 
template<class Functor >
void leafTraverse (Functor &functor, typename FillFlags::Flags fillFlags=FillFlags::standard) const
 
bool coarsen (typename FillFlags::Flags fillFlags=FillFlags::nothing)
 
bool refine (typename FillFlags::Flags fillFlags=FillFlags::nothing)
 
int size (int codim) const
 
int size (int codim) const
 
int size (int codim) const
 

Constructor & Destructor Documentation

◆ MeshPointer() [1/2]

template<int dim>
Dune::Alberta::MeshPointer< dim >::MeshPointer ( )
inline

◆ MeshPointer() [2/2]

template<int dim>
Dune::Alberta::MeshPointer< dim >::MeshPointer ( Mesh mesh)
inlineexplicit

Member Function Documentation

◆ begin()

template<int dim>
MacroIterator Dune::Alberta::MeshPointer< dim >::begin ( ) const
inline

◆ coarsen()

template<int dim>
bool Dune::Alberta::MeshPointer< dim >::coarsen ( typename FillFlags::Flags  fillFlags = FillFlags::nothing)
inline

◆ create() [1/3]

template<int dim>
unsigned int Dune::Alberta::MeshPointer< dim >::create ( const MacroData< dim > &  macroData)
inline

◆ create() [2/3]

template<int dim>
template<class Proj , class Impl >
unsigned int Dune::Alberta::MeshPointer< dim >::create ( const MacroData< dim > &  macroData,
const ProjectionFactoryInterface< Proj, Impl > &  projectionFactory 
)
inline

◆ create() [3/3]

template<int dim>
unsigned int Dune::Alberta::MeshPointer< dim >::create ( const std::string &  filename,
bool  binary = false 
)
inline

◆ end()

template<int dim>
MacroIterator Dune::Alberta::MeshPointer< dim >::end ( ) const
inline

◆ hierarchicTraverse()

template<int dim>
template<class Functor >
void Dune::Alberta::MeshPointer< dim >::hierarchicTraverse ( Functor &  functor,
typename FillFlags::Flags  fillFlags = FillFlags::standard 
) const
inline

◆ leafTraverse()

template<int dim>
template<class Functor >
void Dune::Alberta::MeshPointer< dim >::leafTraverse ( Functor &  functor,
typename FillFlags::Flags  fillFlags = FillFlags::standard 
) const
inline

◆ numMacroElements()

template<int dim>
int Dune::Alberta::MeshPointer< dim >::numMacroElements
inline

◆ operator bool()

template<int dim>
Dune::Alberta::MeshPointer< dim >::operator bool ( ) const
inlineexplicit

◆ operator Mesh *()

template<int dim>
Dune::Alberta::MeshPointer< dim >::operator Mesh * ( ) const
inline

◆ read()

template<int dim>
unsigned int Dune::Alberta::MeshPointer< dim >::read ( const std::string &  filename,
Real time 
)
inline

◆ refine()

template<int dim>
bool Dune::Alberta::MeshPointer< dim >::refine ( typename FillFlags::Flags  fillFlags = FillFlags::nothing)
inline

◆ release()

template<int dim>
void Dune::Alberta::MeshPointer< dim >::release
inline

◆ size() [1/4]

template<int dim>
int Dune::Alberta::MeshPointer< dim >::size ( int  codim) const

◆ size() [2/4]

int Dune::Alberta::MeshPointer< 1 >::size ( int  codim) const
inline

◆ size() [3/4]

int Dune::Alberta::MeshPointer< 2 >::size ( int  codim) const
inline

◆ size() [4/4]

int Dune::Alberta::MeshPointer< 3 >::size ( int  codim) const
inline

◆ write()

template<int dim>
bool Dune::Alberta::MeshPointer< dim >::write ( const std::string &  filename,
Real  time 
) const
inline

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