dune-grid  2.1.1
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 &intersection) const
int numParameters () 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="")

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>
struct Dune::DGFGridFactory< ALUConformGrid< 2, dimw > >


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() 
) [inline, explicit]
template<int dimw>
Dune::DGFGridFactory< ALUConformGrid< 2, dimw > >::DGFGridFactory ( const std::string &  filename,
MPICommunicatorType  comm = MPIHelper::getCommunicator() 
) [inline, explicit]

Member Function Documentation

int Dune::DGFBaseFactory< ALUConformGrid< 2, dimw > >::boundaryId ( const Intersection intersection) const [inline, inherited]
static Grid* Dune::DGFBaseFactory< ALUConformGrid< 2, dimw > >::callDirectly ( const char *  gridname,
const int  rank,
const char *  filename,
MPICommunicatorType  communicator 
) [inline, static, protected, inherited]
static bool Dune::DGFBaseFactory< ALUConformGrid< 2, dimw > >::fileExists ( const char *  fileName) [inline, static, protected, inherited]
template<int dimw>
bool Dune::DGFGridFactory< ALUConformGrid< 2, dimw > >::generate ( std::istream &  file,
MPICommunicatorType  comm,
const std::string &  filename = "" 
) [protected]
Grid* Dune::DGFBaseFactory< ALUConformGrid< 2, dimw > >::grid ( ) const [inline, inherited]
int Dune::DGFBaseFactory< ALUConformGrid< 2, dimw > >::numParameters ( ) const [inline, inherited]
std::vector< double >& Dune::DGFBaseFactory< ALUConformGrid< 2, dimw > >::parameter ( const Element element) [inline, inherited]
std::vector< double >& Dune::DGFBaseFactory< ALUConformGrid< 2, dimw > >::parameter ( const Vertex vertex) [inline, inherited]
static int Dune::DGFBaseFactory< ALUConformGrid< 2, dimw > >::rank ( MPICommunicatorType  MPICOMM) [inline, static, protected, inherited]
static int Dune::DGFBaseFactory< ALUConformGrid< 2, dimw > >::size ( MPICommunicatorType  MPICOMM) [inline, static, protected, inherited]
bool Dune::DGFBaseFactory< ALUConformGrid< 2, dimw > >::wasInserted ( const Intersection intersection) const [inline, inherited]

Member Data Documentation

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

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