dune-grid  2.3.1
Classes | Public Types | Public Member Functions | Static Public Member Functions | Friends | List of all members
Dune::ALUGrid< 2, dimw, elType, refinementType, Comm > Class Template Reference

#include <dune/grid/alugrid/2d/alugrid.hh>

Classes

struct  Partition

Public Types

enum  { dimension = BaseType::dimension, dimensionworld = BaseType::dimensionworld }
enum  { refineStepsForHalf = 1 }
typedef
BaseType::DuneBoundaryProjectionType 
DuneBoundaryProjectionType
 type of boundary projection
typedef
BaseType::DuneBoundaryProjectionVector 
DuneBoundaryProjectionVector
 type of boundary projection
typedef BaseType::ctype ctype
typedef BaseType::GridFamily GridFamily
typedef GridFamily::Traits Traits
typedef BaseType::LocalIdSetImp LocalIdSetImp
typedef Traits::GlobalIdSet GlobalIdSet
typedef Traits::LocalIdSet LocalIdSet
typedef
GridFamily::LevelIndexSetImp 
LevelIndexSetImp
typedef GridFamily::LeafIndexSetImp LeafIndexSetImp
typedef BaseType::LeafIteratorImp LeafIteratorImp
typedef Traits::template Codim
< 0 >::LeafIterator 
LeafIteratorType
typedef Traits::template Codim
< 0 >::LeafIterator 
LeafIterator
typedef
BaseType::HierarchicIteratorImp 
HierarchicIteratorImp
typedef Partition
< All_Partition >
::LevelGridView 
LevelGridView
typedef Partition
< All_Partition >
::LeafGridView 
LeafGridView

Public Member Functions

 ALUGrid (const std::string macroName, const DuneBoundaryProjectionType *bndProject=0, const DuneBoundaryProjectionVector *bndVector=0, const bool verbose=true)
 constructor for creating ALUSimplexGrid from given macro grid file
 ALUGrid (const std::string macroName, std::istream &macroFile, const DuneBoundaryProjectionType *bndProject=0, const DuneBoundaryProjectionVector *bndVector=0, const bool verbose=true)
 constructor for creating ALUSimplexGrid from given macro grid file
 ALUGrid ()
 constructor creating empty grid
template<PartitionIteratorType pitype>
Partition< pitype >::LevelGridView levelView (int level) const
template<PartitionIteratorType pitype>
Partition< pitype >::LeafGridView leafView () const
LevelGridView levelView (int level) const
LeafGridView leafView () const
template<PartitionIteratorType pitype>
Partition< pitype >::LevelGridView levelGridView (int level) const
template<PartitionIteratorType pitype>
Partition< pitype >::LeafGridView leafGridView () const
LevelGridView levelGridView (int level) const
LeafGridView leafGridView () const

Static Public Member Functions

static std::string name ()

Friends

class Conversion< This, HasObjectStream >
class Conversion< const This, HasObjectStream >
class Conversion< This, HasHierarchicIndexSet >
class Conversion< const This, HasHierarchicIndexSet >
class ALU2dGridFactory

Member Typedef Documentation

template<int dimw, ALUGridElementType elType, ALUGridRefinementType refinementType, class Comm >
typedef BaseType::ctype Dune::ALUGrid< 2, dimw, elType, refinementType, Comm >::ctype
template<int dimw, ALUGridElementType elType, ALUGridRefinementType refinementType, class Comm >
typedef BaseType :: DuneBoundaryProjectionType Dune::ALUGrid< 2, dimw, elType, refinementType, Comm >::DuneBoundaryProjectionType

type of boundary projection

template<int dimw, ALUGridElementType elType, ALUGridRefinementType refinementType, class Comm >
typedef BaseType :: DuneBoundaryProjectionVector Dune::ALUGrid< 2, dimw, elType, refinementType, Comm >::DuneBoundaryProjectionVector

type of boundary projection

template<int dimw, ALUGridElementType elType, ALUGridRefinementType refinementType, class Comm >
typedef Traits :: GlobalIdSet Dune::ALUGrid< 2, dimw, elType, refinementType, Comm >::GlobalIdSet
template<int dimw, ALUGridElementType elType, ALUGridRefinementType refinementType, class Comm >
typedef BaseType::GridFamily Dune::ALUGrid< 2, dimw, elType, refinementType, Comm >::GridFamily
template<int dimw, ALUGridElementType elType, ALUGridRefinementType refinementType, class Comm >
typedef BaseType::HierarchicIteratorImp Dune::ALUGrid< 2, dimw, elType, refinementType, Comm >::HierarchicIteratorImp
template<int dimw, ALUGridElementType elType, ALUGridRefinementType refinementType, class Comm >
typedef Partition< All_Partition >:: LeafGridView Dune::ALUGrid< 2, dimw, elType, refinementType, Comm >::LeafGridView
template<int dimw, ALUGridElementType elType, ALUGridRefinementType refinementType, class Comm >
typedef GridFamily :: LeafIndexSetImp Dune::ALUGrid< 2, dimw, elType, refinementType, Comm >::LeafIndexSetImp
template<int dimw, ALUGridElementType elType, ALUGridRefinementType refinementType, class Comm >
typedef Traits::template Codim<0>::LeafIterator Dune::ALUGrid< 2, dimw, elType, refinementType, Comm >::LeafIterator
template<int dimw, ALUGridElementType elType, ALUGridRefinementType refinementType, class Comm >
typedef BaseType::LeafIteratorImp Dune::ALUGrid< 2, dimw, elType, refinementType, Comm >::LeafIteratorImp
template<int dimw, ALUGridElementType elType, ALUGridRefinementType refinementType, class Comm >
typedef Traits::template Codim<0>::LeafIterator Dune::ALUGrid< 2, dimw, elType, refinementType, Comm >::LeafIteratorType
template<int dimw, ALUGridElementType elType, ALUGridRefinementType refinementType, class Comm >
typedef Partition< All_Partition >:: LevelGridView Dune::ALUGrid< 2, dimw, elType, refinementType, Comm >::LevelGridView
template<int dimw, ALUGridElementType elType, ALUGridRefinementType refinementType, class Comm >
typedef GridFamily :: LevelIndexSetImp Dune::ALUGrid< 2, dimw, elType, refinementType, Comm >::LevelIndexSetImp
template<int dimw, ALUGridElementType elType, ALUGridRefinementType refinementType, class Comm >
typedef Traits :: LocalIdSet Dune::ALUGrid< 2, dimw, elType, refinementType, Comm >::LocalIdSet
template<int dimw, ALUGridElementType elType, ALUGridRefinementType refinementType, class Comm >
typedef BaseType::LocalIdSetImp Dune::ALUGrid< 2, dimw, elType, refinementType, Comm >::LocalIdSetImp
template<int dimw, ALUGridElementType elType, ALUGridRefinementType refinementType, class Comm >
typedef GridFamily::Traits Dune::ALUGrid< 2, dimw, elType, refinementType, Comm >::Traits

Member Enumeration Documentation

template<int dimw, ALUGridElementType elType, ALUGridRefinementType refinementType, class Comm >
anonymous enum
Enumerator:
dimension 
dimensionworld 
template<int dimw, ALUGridElementType elType, ALUGridRefinementType refinementType, class Comm >
anonymous enum
Enumerator:
refineStepsForHalf 

Constructor & Destructor Documentation

template<int dimw, ALUGridElementType elType, ALUGridRefinementType refinementType, class Comm >
Dune::ALUGrid< 2, dimw, elType, refinementType, Comm >::ALUGrid ( const std::string  macroName,
const DuneBoundaryProjectionType bndProject = 0,
const DuneBoundaryProjectionVector bndVector = 0,
const bool  verbose = true 
)
inline

constructor for creating ALUSimplexGrid from given macro grid file

Parameters
macroNamefilename for macro grid in ALUGrid triangle format
bndProjectglobal boundary projection pointer
bndVectorpointer to vector holding boundary projection for each boundary segment. ALUGrid takes ownership of this pointer and will delete it in the desctructor
verboseWhether to write a notice about grid creation to stdout.
template<int dimw, ALUGridElementType elType, ALUGridRefinementType refinementType, class Comm >
Dune::ALUGrid< 2, dimw, elType, refinementType, Comm >::ALUGrid ( const std::string  macroName,
std::istream &  macroFile,
const DuneBoundaryProjectionType bndProject = 0,
const DuneBoundaryProjectionVector bndVector = 0,
const bool  verbose = true 
)
inline

constructor for creating ALUSimplexGrid from given macro grid file

Parameters
macroNamefilename for macro grid in ALUGrid triangle format
macroFileStream to read macro grid file contents from.
bndProjectglobal boundary projection pointer
bndVectorpointer to vector holding boundary projection for each boundary segment. ALUGrid takes ownership of this pointer and will delete it in the desctructor
verboseWhether to write a notice about grid creation to stdout.
template<int dimw, ALUGridElementType elType, ALUGridRefinementType refinementType, class Comm >
Dune::ALUGrid< 2, dimw, elType, refinementType, Comm >::ALUGrid ( )
inline

constructor creating empty grid

Member Function Documentation

template<int dimw, ALUGridElementType elType, ALUGridRefinementType refinementType, class Comm >
template<PartitionIteratorType pitype>
Partition< pitype >::LeafGridView Dune::ALUGrid< 2, dimw, elType, refinementType, Comm >::leafGridView ( ) const
inline
template<int dimw, ALUGridElementType elType, ALUGridRefinementType refinementType, class Comm >
LeafGridView Dune::ALUGrid< 2, dimw, elType, refinementType, Comm >::leafGridView ( ) const
inline
template<int dimw, ALUGridElementType elType, ALUGridRefinementType refinementType, class Comm >
template<PartitionIteratorType pitype>
Partition< pitype >::LeafGridView Dune::ALUGrid< 2, dimw, elType, refinementType, Comm >::leafView ( ) const
inline
template<int dimw, ALUGridElementType elType, ALUGridRefinementType refinementType, class Comm >
LeafGridView Dune::ALUGrid< 2, dimw, elType, refinementType, Comm >::leafView ( ) const
inline
template<int dimw, ALUGridElementType elType, ALUGridRefinementType refinementType, class Comm >
template<PartitionIteratorType pitype>
Partition< pitype >::LevelGridView Dune::ALUGrid< 2, dimw, elType, refinementType, Comm >::levelGridView ( int  level) const
inline
template<int dimw, ALUGridElementType elType, ALUGridRefinementType refinementType, class Comm >
LevelGridView Dune::ALUGrid< 2, dimw, elType, refinementType, Comm >::levelGridView ( int  level) const
inline
template<int dimw, ALUGridElementType elType, ALUGridRefinementType refinementType, class Comm >
template<PartitionIteratorType pitype>
Partition< pitype >::LevelGridView Dune::ALUGrid< 2, dimw, elType, refinementType, Comm >::levelView ( int  level) const
inline
template<int dimw, ALUGridElementType elType, ALUGridRefinementType refinementType, class Comm >
LevelGridView Dune::ALUGrid< 2, dimw, elType, refinementType, Comm >::levelView ( int  level) const
inline
template<int dimw, ALUGridElementType elType, ALUGridRefinementType refinementType, class Comm >
static std::string Dune::ALUGrid< 2, dimw, elType, refinementType, Comm >::name ( )
inlinestatic

Friends And Related Function Documentation

template<int dimw, ALUGridElementType elType, ALUGridRefinementType refinementType, class Comm >
friend class ALU2dGridFactory
friend
template<int dimw, ALUGridElementType elType, ALUGridRefinementType refinementType, class Comm >
friend class Conversion< const This, HasHierarchicIndexSet >
friend
template<int dimw, ALUGridElementType elType, ALUGridRefinementType refinementType, class Comm >
friend class Conversion< const This, HasObjectStream >
friend
template<int dimw, ALUGridElementType elType, ALUGridRefinementType refinementType, class Comm >
friend class Conversion< This, HasHierarchicIndexSet >
friend
template<int dimw, ALUGridElementType elType, ALUGridRefinementType refinementType, class Comm >
friend class Conversion< This, HasObjectStream >
friend

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