dune-grid  2.2.0
Public Types | Public Member Functions | Static Public Attributes | Protected Member Functions | Static Protected Member Functions | Protected Attributes
Dune::DGFGridFactory< ALUGrid< 2, dimw, eltype, refinementtype, Comm > > Struct Template Reference

#include <dune/grid/io/file/dgfparser/dgfalu.hh>

Inheritance diagram for Dune::DGFGridFactory< ALUGrid< 2, dimw, eltype, refinementtype, Comm > >:
Dune::DGFBaseFactory< ALUGrid< 2, dimw, eltype, refinementtype, Comm > >

List of all members.

Public Types

typedef ALUGrid< 2, dimw,
eltype, refinementtype, Comm > 
DGFGridType
typedef DGFBaseFactory
< DGFGridType
BaseType
typedef
BaseType::MPICommunicatorType 
MPICommunicatorType
typedef BaseType::Grid Grid
typedef BaseType::GridFactory GridFactory
typedef Grid::template Codim
< 0 >::Entity 
Element
typedef Grid::template Codim
< dimension >::Entity 
Vertex

Public Member Functions

 DGFGridFactory (std::istream &input, MPICommunicatorType comm=MPIHelper::getCommunicator())
 DGFGridFactory (const std::string &filename, MPICommunicatorType comm=MPIHelper::getCommunicator())
Gridgrid () const
bool wasInserted (const Intersection &intersection) const
int boundaryId (const Intersection< GG, II > &intersection) const
const DGFBoundaryParameter::typeboundaryParameter (const Intersection< GG, II > &intersection) const
int numParameters () const
bool haveBoundaryParameters () const
std::vector< double > & parameter (const Element &element)
std::vector< double > & parameter (const Vertex &vertex)

Static Public Attributes

static const int dimension = Grid::dimension

Protected Member Functions

bool generate (std::istream &file, MPICommunicatorType comm, const std::string &filename="")
bool generateALUGrid (const ALUGridElementType eltype, std::istream &file, MPICommunicatorType communicator, const std::string &filename)
bool generateALU2dGrid (const ALUGridElementType eltype, std::istream &file, MPICommunicatorType communicator, const std::string &filename)

Static Protected Member Functions

static GridcallDirectly (const char *gridname, const int rank, const char *filename, MPICommunicatorType communicator)
static bool fileExists (const char *fileName)
static int rank (MPICommunicatorType MPICOMM)
static int size (MPICommunicatorType MPICOMM)

Protected Attributes

Gridgrid_
GridFactory factory_
DuneGridFormatParser dgf_

template<int dimw, ALUGridElementType eltype, ALUGridRefinementType refinementtype, class Comm>
struct Dune::DGFGridFactory< ALUGrid< 2, dimw, eltype, refinementtype, Comm > >


Member Typedef Documentation

template<int dimw, ALUGridElementType eltype, ALUGridRefinementType refinementtype, class Comm >
typedef DGFBaseFactory< DGFGridType > Dune::DGFGridFactory< ALUGrid< 2, dimw, eltype, refinementtype, Comm > >::BaseType
template<int dimw, ALUGridElementType eltype, ALUGridRefinementType refinementtype, class Comm >
typedef ALUGrid< 2, dimw, eltype, refinementtype, Comm > Dune::DGFGridFactory< ALUGrid< 2, dimw, eltype, refinementtype, Comm > >::DGFGridType
typedef Grid::template Codim<0>::Entity Dune::DGFBaseFactory< ALUGrid< 2, dimw, eltype, refinementtype, Comm > >::Element [inherited]
template<int dimw, ALUGridElementType eltype, ALUGridRefinementType refinementtype, class Comm >
typedef BaseType::Grid Dune::DGFGridFactory< ALUGrid< 2, dimw, eltype, refinementtype, Comm > >::Grid
template<int dimw, ALUGridElementType eltype, ALUGridRefinementType refinementtype, class Comm >
typedef BaseType::GridFactory Dune::DGFGridFactory< ALUGrid< 2, dimw, eltype, refinementtype, Comm > >::GridFactory
template<int dimw, ALUGridElementType eltype, ALUGridRefinementType refinementtype, class Comm >
typedef BaseType :: MPICommunicatorType Dune::DGFGridFactory< ALUGrid< 2, dimw, eltype, refinementtype, Comm > >::MPICommunicatorType
typedef Grid::template Codim<dimension>::Entity Dune::DGFBaseFactory< ALUGrid< 2, dimw, eltype, refinementtype, Comm > >::Vertex [inherited]

Constructor & Destructor Documentation

template<int dimw, ALUGridElementType eltype, ALUGridRefinementType refinementtype, class Comm >
Dune::DGFGridFactory< ALUGrid< 2, dimw, eltype, refinementtype, Comm > >::DGFGridFactory ( std::istream &  input,
MPICommunicatorType  comm = MPIHelper::getCommunicator() 
) [inline, explicit]
template<int dimw, ALUGridElementType eltype, ALUGridRefinementType refinementtype, class Comm >
Dune::DGFGridFactory< ALUGrid< 2, dimw, eltype, refinementtype, Comm > >::DGFGridFactory ( const std::string &  filename,
MPICommunicatorType  comm = MPIHelper::getCommunicator() 
) [inline, explicit]

Member Function Documentation

int Dune::DGFBaseFactory< ALUGrid< 2, dimw, eltype, refinementtype, Comm > >::boundaryId ( const Intersection< GG, II > &  intersection) const [inline, inherited]
const DGFBoundaryParameter::type& Dune::DGFBaseFactory< ALUGrid< 2, dimw, eltype, refinementtype, Comm > >::boundaryParameter ( const Intersection< GG, II > &  intersection) const [inline, inherited]
static Grid* Dune::DGFBaseFactory< ALUGrid< 2, dimw, eltype, refinementtype, Comm > >::callDirectly ( const char *  gridname,
const int  rank,
const char *  filename,
MPICommunicatorType  communicator 
) [inline, static, protected, inherited]
static bool Dune::DGFBaseFactory< ALUGrid< 2, dimw, eltype, refinementtype, Comm > >::fileExists ( const char *  fileName) [inline, static, protected, inherited]
template<int dimw, ALUGridElementType eltype, ALUGridRefinementType refinementtype, class Comm >
bool Dune::DGFGridFactory< ALUGrid< 2, dimw, eltype, refinementtype, Comm > >::generate ( std::istream &  file,
MPICommunicatorType  comm,
const std::string &  filename = "" 
) [protected]
bool Dune::DGFBaseFactory< ALUGrid< 2, dimw, eltype, refinementtype, Comm > >::generateALU2dGrid ( const ALUGridElementType  eltype,
std::istream &  file,
MPICommunicatorType  communicator,
const std::string &  filename 
) [protected, inherited]
bool Dune::DGFBaseFactory< ALUGrid< 2, dimw, eltype, refinementtype, Comm > >::generateALUGrid ( const ALUGridElementType  eltype,
std::istream &  file,
MPICommunicatorType  communicator,
const std::string &  filename 
) [protected, inherited]
Grid* Dune::DGFBaseFactory< ALUGrid< 2, dimw, eltype, refinementtype, Comm > >::grid ( ) const [inline, inherited]
bool Dune::DGFBaseFactory< ALUGrid< 2, dimw, eltype, refinementtype, Comm > >::haveBoundaryParameters ( ) const [inline, inherited]
int Dune::DGFBaseFactory< ALUGrid< 2, dimw, eltype, refinementtype, Comm > >::numParameters ( ) const [inline, inherited]
std::vector< double >& Dune::DGFBaseFactory< ALUGrid< 2, dimw, eltype, refinementtype, Comm > >::parameter ( const Element element) [inline, inherited]
std::vector< double >& Dune::DGFBaseFactory< ALUGrid< 2, dimw, eltype, refinementtype, Comm > >::parameter ( const Vertex vertex) [inline, inherited]
static int Dune::DGFBaseFactory< ALUGrid< 2, dimw, eltype, refinementtype, Comm > >::rank ( MPICommunicatorType  MPICOMM) [inline, static, protected, inherited]
static int Dune::DGFBaseFactory< ALUGrid< 2, dimw, eltype, refinementtype, Comm > >::size ( MPICommunicatorType  MPICOMM) [inline, static, protected, inherited]
bool Dune::DGFBaseFactory< ALUGrid< 2, dimw, eltype, refinementtype, Comm > >::wasInserted ( const Intersection intersection) const [inline, inherited]

Member Data Documentation

DuneGridFormatParser Dune::DGFBaseFactory< ALUGrid< 2, dimw, eltype, refinementtype, Comm > >::dgf_ [protected, inherited]
template<int dimw, ALUGridElementType eltype, ALUGridRefinementType refinementtype, class Comm >
const int Dune::DGFGridFactory< ALUGrid< 2, dimw, eltype, refinementtype, Comm > >::dimension = Grid::dimension [static]
GridFactory Dune::DGFBaseFactory< ALUGrid< 2, dimw, eltype, refinementtype, Comm > >::factory_ [protected, inherited]
Grid* Dune::DGFBaseFactory< ALUGrid< 2, dimw, eltype, refinementtype, Comm > >::grid_ [protected, inherited]

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