dune-grid  2.2.0
Public Types | Public Member Functions | Static Public Attributes | Protected Member Functions | Static Protected Member Functions | Protected Attributes
Dune::DGFBaseFactory< G > Struct Template Reference

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

Inheritance diagram for Dune::DGFBaseFactory< G >:
Inheritance graph

List of all members.

Public Types

typedef G 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

 DGFBaseFactory ()
 DGFBaseFactory (MPICommunicatorType comm)
Gridgrid () const
template<class Intersection >
bool wasInserted (const Intersection &intersection) const
template<class GG , template< class > class II>
int boundaryId (const Intersection< GG, II > &intersection) const
template<class GG , template< class > class II>
const DGFBoundaryParameter::typeboundaryParameter (const Intersection< GG, II > &intersection) const
template<int codim>
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 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_

Detailed Description

template<class G>
struct Dune::DGFBaseFactory< G >


Member Typedef Documentation

template<class G>
typedef Grid::template Codim<0>::Entity Dune::DGFBaseFactory< G >::Element
template<class G>
typedef G Dune::DGFBaseFactory< G >::Grid
template<class G>
typedef Dune::GridFactory<Grid> Dune::DGFBaseFactory< G >::GridFactory
template<class G>
typedef MPIHelper::MPICommunicator Dune::DGFBaseFactory< G >::MPICommunicatorType
template<class G>
typedef Grid::template Codim<dimension>::Entity Dune::DGFBaseFactory< G >::Vertex

Constructor & Destructor Documentation

template<class G>
Dune::DGFBaseFactory< G >::DGFBaseFactory ( )
inline
template<class G>
Dune::DGFBaseFactory< G >::DGFBaseFactory ( MPICommunicatorType  comm)
inlineexplicit

Member Function Documentation

template<class G>
template<class GG , template< class > class II>
int Dune::DGFBaseFactory< G >::boundaryId ( const Intersection< GG, II > &  intersection) const
inline
template<class G>
template<class GG , template< class > class II>
const DGFBoundaryParameter::type& Dune::DGFBaseFactory< G >::boundaryParameter ( const Intersection< GG, II > &  intersection) const
inline
template<class G>
static Grid* Dune::DGFBaseFactory< G >::callDirectly ( const char *  gridname,
const int  rank,
const char *  filename,
MPICommunicatorType  communicator 
)
inlinestaticprotected
template<class G>
static bool Dune::DGFBaseFactory< G >::fileExists ( const char *  fileName)
inlinestaticprotected
template<class G>
bool Dune::DGFBaseFactory< G >::generateALU2dGrid ( const ALUGridElementType  eltype,
std::istream &  file,
MPICommunicatorType  communicator,
const std::string &  filename 
)
protected
template<class G>
bool Dune::DGFBaseFactory< G >::generateALUGrid ( const ALUGridElementType  eltype,
std::istream &  file,
MPICommunicatorType  communicator,
const std::string &  filename 
)
protected
template<class G>
Grid* Dune::DGFBaseFactory< G >::grid ( ) const
inline
template<class G>
bool Dune::DGFBaseFactory< G >::haveBoundaryParameters ( ) const
inline
template<class G>
template<int codim>
int Dune::DGFBaseFactory< G >::numParameters ( ) const
inline
template<class G>
std::vector< double >& Dune::DGFBaseFactory< G >::parameter ( const Element element)
inline
template<class G>
std::vector< double >& Dune::DGFBaseFactory< G >::parameter ( const Vertex vertex)
inline
template<class G>
static int Dune::DGFBaseFactory< G >::rank ( MPICommunicatorType  MPICOMM)
inlinestaticprotected
template<class G>
static int Dune::DGFBaseFactory< G >::size ( MPICommunicatorType  MPICOMM)
inlinestaticprotected
template<class G>
template<class Intersection >
bool Dune::DGFBaseFactory< G >::wasInserted ( const Intersection intersection) const
inline

Member Data Documentation

template<class G>
DuneGridFormatParser Dune::DGFBaseFactory< G >::dgf_
protected
template<class G>
const int Dune::DGFBaseFactory< G >::dimension = Grid::dimension
static
template<class G>
GridFactory Dune::DGFBaseFactory< G >::factory_
protected
template<class G>
Grid* Dune::DGFBaseFactory< G >::grid_
protected

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