Dune::DGFGridFactory< CpGrid > Struct Reference

#include <dgfparser.hh>

Public Types

typedef CpGrid Grid
 
typedef MPIHelper::MPICommunicator MPICommunicatorType
 
typedef Grid::Codim< 0 >::Entity Element
 
typedef Grid::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
 
template<class Intersection >
bool wasInserted (const Intersection) const
 
template<class Intersection >
int boundaryId (const Intersection &intersection) const
 
template<int codim>
int numParameters () const
 
template<class Entity >
std::vector< double > & parameter (const Entity &)
 
bool haveBoundaryParameters () const
 
template<class Intersection >
const DGFBoundaryParameter::type & boundaryParameter (const Intersection &) const
 

Static Public Attributes

static const int dimension = Grid::dimension
 

Member Typedef Documentation

◆ Element

typedef Grid::Codim<0>::Entity Dune::DGFGridFactory< CpGrid >::Element

◆ Grid

typedef CpGrid Dune::DGFGridFactory< CpGrid >::Grid

◆ MPICommunicatorType

typedef MPIHelper::MPICommunicator Dune::DGFGridFactory< CpGrid >::MPICommunicatorType

◆ Vertex

typedef Grid::Codim<dimension>::Entity Dune::DGFGridFactory< CpGrid >::Vertex

Constructor & Destructor Documentation

◆ DGFGridFactory() [1/2]

Dune::DGFGridFactory< CpGrid >::DGFGridFactory ( std::istream &  input,
MPICommunicatorType  comm = MPIHelper::getCommunicator() 
)
inlineexplicit

◆ DGFGridFactory() [2/2]

Dune::DGFGridFactory< CpGrid >::DGFGridFactory ( const std::string &  filename,
MPICommunicatorType  comm = MPIHelper::getCommunicator() 
)
inlineexplicit

Member Function Documentation

◆ boundaryId()

template<class Intersection >
int Dune::DGFGridFactory< CpGrid >::boundaryId ( const Intersection &  intersection) const
inline

◆ boundaryParameter()

template<class Intersection >
const DGFBoundaryParameter::type & Dune::DGFGridFactory< CpGrid >::boundaryParameter ( const Intersection &  ) const
inline

◆ grid()

Grid * Dune::DGFGridFactory< CpGrid >::grid ( ) const
inline

◆ haveBoundaryParameters()

bool Dune::DGFGridFactory< CpGrid >::haveBoundaryParameters ( ) const
inline

◆ numParameters()

template<int codim>
int Dune::DGFGridFactory< CpGrid >::numParameters ( ) const
inline

◆ parameter()

template<class Entity >
std::vector< double > & Dune::DGFGridFactory< CpGrid >::parameter ( const Entity &  )
inline

◆ wasInserted()

template<class Intersection >
bool Dune::DGFGridFactory< CpGrid >::wasInserted ( const  Intersection) const
inline

Member Data Documentation

◆ dimension

const int Dune::DGFGridFactory< CpGrid >::dimension = Grid::dimension
static

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