dune-grid  2.4.1
Classes | Public Types | Public Member Functions | Static Public Member Functions | List of all members
Dune::ALUGrid< 3, 3, elType, refineType, Comm > Class Template Reference

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

Inheritance diagram for Dune::ALUGrid< 3, 3, elType, refineType, Comm >:

Classes

struct  Partition
 

Public Types

enum  { dimension =BaseType::dimension, dimensionworld =BaseType::dimensionworld }
 
typedef
BaseType::DuneBoundaryProjectionType 
DuneBoundaryProjectionType
 type of boundary projection More...
 
typedef
BaseType::DuneBoundaryProjectionVector 
DuneBoundaryProjectionVector
 type of boundary projection More...
 
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 BaseType::ObjectStreamType ObjectStreamType
 
typedef Partition
< All_Partition >
::LevelGridView 
LevelGridView
 
typedef Partition
< All_Partition >
::LeafGridView 
LeafGridView
 

Public Member Functions

 ALUGrid (const std::string macroName, const MPICommunicatorType mpiComm=BaseType::defaultCommunicator(), const DuneBoundaryProjectionType *bndProject=0, const DuneBoundaryProjectionVector *bndVector=0, const bool verb=true)
 constructor for creating ALUGrid from given macro grid file More...
 
 ALUGrid (const MPICommunicatorType mpiComm, const DuneBoundaryProjectionType *bndProject, const DuneBoundaryProjectionVector *bndVector, const std::string macroName, const bool verb=true)
 constructor called from ALUGridFactory for creating ALUGrid with conforming refinement from given macro grid file More...
 
 ALUGrid (const MPICommunicatorType mpiComm=BaseType::defaultCommunicator())
 constructor creating empty grid, empty string creates empty grid More...
 
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 ()
 
static std::string nameSuffix ()
 

Member Typedef Documentation

template<ALUGridElementType elType, ALUGridRefinementType refineType, class Comm >
typedef BaseType::ctype Dune::ALUGrid< 3, 3, elType, refineType, Comm >::ctype
template<ALUGridElementType elType, ALUGridRefinementType refineType, class Comm >
typedef BaseType :: DuneBoundaryProjectionType Dune::ALUGrid< 3, 3, elType, refineType, Comm >::DuneBoundaryProjectionType

type of boundary projection

template<ALUGridElementType elType, ALUGridRefinementType refineType, class Comm >
typedef BaseType :: DuneBoundaryProjectionVector Dune::ALUGrid< 3, 3, elType, refineType, Comm >::DuneBoundaryProjectionVector

type of boundary projection

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

Member Enumeration Documentation

template<ALUGridElementType elType, ALUGridRefinementType refineType, class Comm >
anonymous enum
Enumerator
dimension 
dimensionworld 

Constructor & Destructor Documentation

template<ALUGridElementType elType, ALUGridRefinementType refineType, class Comm >
Dune::ALUGrid< 3, 3, elType, refineType, Comm >::ALUGrid ( const std::string  macroName,
const MPICommunicatorType  mpiComm = BaseType::defaultCommunicator(),
const DuneBoundaryProjectionType bndProject = 0,
const DuneBoundaryProjectionVector bndVector = 0,
const bool  verb = true 
)
inline

constructor for creating ALUGrid from given macro grid file

Parameters
macroNamefilename for macro grid in ALUGrid tetra / cube format
mpiCommMPI Communicator (when HAVE_MPI == 1 then mpiComm is of type MPI_Comm and the default value is MPI_COMM_WORLD)
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
verbWhether to write a notice about grid creation to stdout.

References Dune::ALUGridParallelSerial().

template<ALUGridElementType elType, ALUGridRefinementType refineType, class Comm >
Dune::ALUGrid< 3, 3, elType, refineType, Comm >::ALUGrid ( const MPICommunicatorType  mpiComm,
const DuneBoundaryProjectionType bndProject,
const DuneBoundaryProjectionVector bndVector,
const std::string  macroName,
const bool  verb = true 
)
inline

constructor called from ALUGridFactory for creating ALUGrid with conforming refinement from given macro grid file

Parameters
mpiCommMPI Communicator (when HAVE_MPI == 1 then mpiComm is of type MPI_Comm)
bndProjectglobal boundary projection pointer
bndVectorpointer to vector holding boundary projection for each boundary segment
Note
ALUGrid takes ownership of this pointer and will delete it in the desctructor
Parameters
macroNamefilename from which ALUGrid is being generated
verbWhether to write a notice about grid creation to stdout.

References Dune::ALUGridParallelSerial().

template<ALUGridElementType elType, ALUGridRefinementType refineType, class Comm >
Dune::ALUGrid< 3, 3, elType, refineType, Comm >::ALUGrid ( const MPICommunicatorType  mpiComm = BaseType::defaultCommunicator())
inline

constructor creating empty grid, empty string creates empty grid

References Dune::ALUGridParallelSerial().

Member Function Documentation

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

References Dune::cube, and Dune::nonconforming.


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