dune-alugrid  3.0.0
Public Types | Public Member Functions | Static Public Attributes | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
Dune::DGFBaseFactory< G > Struct Template Reference

#include <dune/alugrid/dgf.hh>

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

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 , class II >
int boundaryId (const Intersection< GG, II > &intersection) const
 
template<class GG , class II >
const DGFBoundaryParameter::type & boundaryParameter (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

const static int dimension = Grid::dimension
 

Protected Member Functions

bool generateALUGrid (const ALUGridElementType eltype, std::istream &file, MPICommunicatorType communicator, const std::string &filename)
 

Static Protected Member Functions

static GridcallDirectly (const std::string &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

◆ Element

template<class G>
typedef Grid::template Codim<0>::Entity Dune::DGFBaseFactory< G >::Element

◆ Grid

template<class G>
typedef G Dune::DGFBaseFactory< G >::Grid

◆ GridFactory

template<class G>
typedef Dune::GridFactory<Grid> Dune::DGFBaseFactory< G >::GridFactory

◆ MPICommunicatorType

template<class G>
typedef MPIHelper::MPICommunicator Dune::DGFBaseFactory< G >::MPICommunicatorType

◆ Vertex

template<class G>
typedef Grid::template Codim<dimension>::Entity Dune::DGFBaseFactory< G >::Vertex

Constructor & Destructor Documentation

◆ DGFBaseFactory() [1/2]

template<class G>
Dune::DGFBaseFactory< G >::DGFBaseFactory ( )
inline

◆ DGFBaseFactory() [2/2]

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

Member Function Documentation

◆ boundaryId()

template<class G>
template<class GG , class II >
int Dune::DGFBaseFactory< G >::boundaryId ( const Intersection< GG, II > &  intersection) const
inline

◆ boundaryParameter()

template<class G>
template<class GG , class II >
const DGFBoundaryParameter::type& Dune::DGFBaseFactory< G >::boundaryParameter ( const Intersection< GG, II > &  intersection) const
inline

◆ callDirectly()

template<class G>
static Grid* Dune::DGFBaseFactory< G >::callDirectly ( const std::string &  gridname,
const int  rank,
const char *  filename,
MPICommunicatorType  communicator 
)
inlinestaticprotected

◆ fileExists()

template<class G>
static bool Dune::DGFBaseFactory< G >::fileExists ( const char *  fileName)
inlinestaticprotected

◆ generateALUGrid()

template<class G >
bool Dune::DGFBaseFactory< G >::generateALUGrid ( const ALUGridElementType  eltype,
std::istream &  file,
MPICommunicatorType  communicator,
const std::string &  filename 
)
inlineprotected

◆ grid()

template<class G>
Grid* Dune::DGFBaseFactory< G >::grid ( ) const
inline

◆ haveBoundaryParameters()

template<class G>
bool Dune::DGFBaseFactory< G >::haveBoundaryParameters ( ) const
inline

◆ numParameters()

template<class G>
template<int codim>
int Dune::DGFBaseFactory< G >::numParameters ( ) const
inline

◆ parameter() [1/2]

template<class G>
std::vector< double >& Dune::DGFBaseFactory< G >::parameter ( const Element element)
inline

◆ parameter() [2/2]

template<class G>
std::vector< double >& Dune::DGFBaseFactory< G >::parameter ( const Vertex vertex)
inline

◆ rank()

template<class G>
static int Dune::DGFBaseFactory< G >::rank ( MPICommunicatorType  MPICOMM)
inlinestaticprotected

◆ size()

template<class G>
static int Dune::DGFBaseFactory< G >::size ( MPICommunicatorType  MPICOMM)
inlinestaticprotected

◆ wasInserted()

template<class G>
template<class Intersection >
bool Dune::DGFBaseFactory< G >::wasInserted ( const Intersection &  intersection) const
inline

Member Data Documentation

◆ dgf_

template<class G>
DuneGridFormatParser Dune::DGFBaseFactory< G >::dgf_
protected

◆ dimension

template<class G>
const static int Dune::DGFBaseFactory< G >::dimension = Grid::dimension
static

◆ factory_

template<class G>
GridFactory Dune::DGFBaseFactory< G >::factory_
protected

◆ grid_

template<class G>
Grid* Dune::DGFBaseFactory< G >::grid_
protected

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