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

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

Inheritance diagram for Dune::DGFGridFactory< ALUConformGrid< 2, dimw > >:
Inheritance graph

List of all members.

Public Types

typedef DGFBaseFactory
< ALUConformGrid< 2, dimw > > 
Base
typedef Base::MPICommunicatorType MPICommunicatorType
typedef Base::Grid Grid
typedef Base::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_

Member Typedef Documentation

template<int dimw>
typedef DGFBaseFactory< ALUConformGrid<2,dimw> > Dune::DGFGridFactory< ALUConformGrid< 2, dimw > >::Base
typedef Grid::template Codim<0>::Entity Dune::DGFBaseFactory< ALUConformGrid< 2, dimw > >::Element
inherited
template<int dimw>
typedef Base::Grid Dune::DGFGridFactory< ALUConformGrid< 2, dimw > >::Grid
template<int dimw>
typedef Base::GridFactory Dune::DGFGridFactory< ALUConformGrid< 2, dimw > >::GridFactory
template<int dimw>
typedef Base:: MPICommunicatorType Dune::DGFGridFactory< ALUConformGrid< 2, dimw > >::MPICommunicatorType
typedef Grid::template Codim<dimension>::Entity Dune::DGFBaseFactory< ALUConformGrid< 2, dimw > >::Vertex
inherited

Constructor & Destructor Documentation

template<int dimw>
Dune::DGFGridFactory< ALUConformGrid< 2, dimw > >::DGFGridFactory ( std::istream &  input,
MPICommunicatorType  comm = MPIHelper::getCommunicator() 
)
inlineexplicit
template<int dimw>
Dune::DGFGridFactory< ALUConformGrid< 2, dimw > >::DGFGridFactory ( const std::string &  filename,
MPICommunicatorType  comm = MPIHelper::getCommunicator() 
)
inlineexplicit

Member Function Documentation

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

Member Data Documentation

DuneGridFormatParser Dune::DGFBaseFactory< ALUConformGrid< 2, dimw > >::dgf_
protectedinherited
template<int dimw>
const int Dune::DGFGridFactory< ALUConformGrid< 2, dimw > >::dimension = Grid::dimension
static
GridFactory Dune::DGFBaseFactory< ALUConformGrid< 2, dimw > >::factory_
protectedinherited
Grid* Dune::DGFBaseFactory< ALUConformGrid< 2, dimw > >::grid_
protectedinherited

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