dune-grid 2.9.0
Public Types | Public Member Functions | Static Public Attributes | List of all members
Dune::DGFGridFactory< YaspGrid< dim, EquidistantOffsetCoordinates< ctype, dim > > > Struct Template Reference

Grid factory for YaspGrid with equidistant coordinates. More...

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

Public Types

typedef YaspGrid< dim, EquidistantOffsetCoordinates< ctype, dim > > Grid
 
typedef MPIHelper::MPICommunicator MPICommunicatorType
 

Public Member Functions

 DGFGridFactory (std::istream &input, MPICommunicatorType comm=MPIHelper::getCommunicator())
 
 DGFGridFactory (const std::string &filename, MPICommunicatorType comm=MPIHelper::getCommunicator())
 
 ~DGFGridFactory ()
 
Gridgrid () const
 
template<class Intersection >
bool wasInserted (const Intersection &intersection) const
 
template<class Intersection >
int boundaryId (const Intersection &intersection) const
 
template<int codim>
int numParameters () const
 
bool haveBoundaryParameters () const
 
template<class GG , class II >
const DGFBoundaryParameter::typeboundaryParameter (const Intersection< GG, II > &intersection) const
 
template<class Entity >
std::vector< double > & parameter (const Entity &entity)
 

Static Public Attributes

static const int dimension = Grid::dimension
 

Detailed Description

template<typename ctype, int dim>
struct Dune::DGFGridFactory< YaspGrid< dim, EquidistantOffsetCoordinates< ctype, dim > > >

Grid factory for YaspGrid with equidistant coordinates.

Member Typedef Documentation

◆ Grid

template<typename ctype , int dim>
typedef YaspGrid<dim, EquidistantOffsetCoordinates<ctype, dim> > Dune::DGFGridFactory< YaspGrid< dim, EquidistantOffsetCoordinates< ctype, dim > > >::Grid

◆ MPICommunicatorType

template<typename ctype , int dim>
typedef MPIHelper::MPICommunicator Dune::DGFGridFactory< YaspGrid< dim, EquidistantOffsetCoordinates< ctype, dim > > >::MPICommunicatorType

Constructor & Destructor Documentation

◆ DGFGridFactory() [1/2]

template<typename ctype , int dim>
Dune::DGFGridFactory< YaspGrid< dim, EquidistantOffsetCoordinates< ctype, dim > > >::DGFGridFactory ( std::istream &  input,
MPICommunicatorType  comm = MPIHelper::getCommunicator() 
)
inlineexplicit

◆ DGFGridFactory() [2/2]

template<typename ctype , int dim>
Dune::DGFGridFactory< YaspGrid< dim, EquidistantOffsetCoordinates< ctype, dim > > >::DGFGridFactory ( const std::string &  filename,
MPICommunicatorType  comm = MPIHelper::getCommunicator() 
)
inlineexplicit

◆ ~DGFGridFactory()

template<typename ctype , int dim>
Dune::DGFGridFactory< YaspGrid< dim, EquidistantOffsetCoordinates< ctype, dim > > >::~DGFGridFactory ( )
inline

Member Function Documentation

◆ boundaryId()

template<typename ctype , int dim>
template<class Intersection >
int Dune::DGFGridFactory< YaspGrid< dim, EquidistantOffsetCoordinates< ctype, dim > > >::boundaryId ( const Intersection intersection) const
inline

◆ boundaryParameter()

template<typename ctype , int dim>
template<class GG , class II >
const DGFBoundaryParameter::type & Dune::DGFGridFactory< YaspGrid< dim, EquidistantOffsetCoordinates< ctype, dim > > >::boundaryParameter ( const Intersection< GG, II > &  intersection) const
inline

◆ grid()

template<typename ctype , int dim>
Grid * Dune::DGFGridFactory< YaspGrid< dim, EquidistantOffsetCoordinates< ctype, dim > > >::grid ( ) const
inline

◆ haveBoundaryParameters()

template<typename ctype , int dim>
bool Dune::DGFGridFactory< YaspGrid< dim, EquidistantOffsetCoordinates< ctype, dim > > >::haveBoundaryParameters ( ) const
inline

◆ numParameters()

template<typename ctype , int dim>
template<int codim>
int Dune::DGFGridFactory< YaspGrid< dim, EquidistantOffsetCoordinates< ctype, dim > > >::numParameters ( ) const
inline

◆ parameter()

template<typename ctype , int dim>
template<class Entity >
std::vector< double > & Dune::DGFGridFactory< YaspGrid< dim, EquidistantOffsetCoordinates< ctype, dim > > >::parameter ( const Entity entity)
inline

◆ wasInserted()

template<typename ctype , int dim>
template<class Intersection >
bool Dune::DGFGridFactory< YaspGrid< dim, EquidistantOffsetCoordinates< ctype, dim > > >::wasInserted ( const Intersection intersection) const
inline

Member Data Documentation

◆ dimension

template<typename ctype , int dim>
const int Dune::DGFGridFactory< YaspGrid< dim, EquidistantOffsetCoordinates< ctype, dim > > >::dimension = Grid::dimension
static

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