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

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

Inheritance diagram for Dune::DGFGridFactory< ALUSimplexGrid< 3, 3 > >:
Inheritance graph

List of all members.

Public Types

typedef ALUSimplexGrid< 3, 3 > Grid
typedef MPIHelper::MPICommunicator MPICommunicatorType
typedef Grid::template Codim
< 0 >::Entity 
Element
typedef Grid::template Codim
< dimension >::Entity 
Vertex
typedef Dune::GridFactory< GridGridFactory

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

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

typedef Grid::template Codim<0>::Entity Dune::DGFBaseFactory< ALUSimplexGrid< 3, 3 > >::Element
inherited
typedef ALUSimplexGrid< 3, 3 > Dune::DGFBaseFactory< ALUSimplexGrid< 3, 3 > >::Grid
inherited
typedef Dune::GridFactory<Grid> Dune::DGFBaseFactory< ALUSimplexGrid< 3, 3 > >::GridFactory
inherited
typedef MPIHelper::MPICommunicator Dune::DGFBaseFactory< ALUSimplexGrid< 3, 3 > >::MPICommunicatorType
inherited
typedef Grid::template Codim<dimension>::Entity Dune::DGFBaseFactory< ALUSimplexGrid< 3, 3 > >::Vertex
inherited

Constructor & Destructor Documentation

Dune::DGFGridFactory< ALUSimplexGrid< 3, 3 > >::DGFGridFactory ( std::istream &  input,
MPICommunicatorType  comm = MPIHelper::getCommunicator() 
)
inlineexplicit
Dune::DGFGridFactory< ALUSimplexGrid< 3, 3 > >::DGFGridFactory ( const std::string &  filename,
MPICommunicatorType  comm = MPIHelper::getCommunicator() 
)
inlineexplicit

Member Function Documentation

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

Member Data Documentation

DuneGridFormatParser Dune::DGFBaseFactory< ALUSimplexGrid< 3, 3 > >::dgf_
protectedinherited
const int Dune::DGFBaseFactory< ALUSimplexGrid< 3, 3 > >::dimension
staticinherited
GridFactory Dune::DGFBaseFactory< ALUSimplexGrid< 3, 3 > >::factory_
protectedinherited
Grid* Dune::DGFBaseFactory< ALUSimplexGrid< 3, 3 > >::grid_
protectedinherited

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