dune-mmesh 1.4.1-git
Loading...
Searching...
No Matches
Dune::DGFGridFactory< MMeshInterfaceGrid< MMeshImp > > Struct Template Reference

#include <dune/mmesh/interface/dgfparser.hh>

Public Types

typedef MMeshInterfaceGrid< MMeshImp > Grid
 
typedef MPIHelper::MPICommunicator MPICommunicatorType
 
typedef Grid::template Codim< 0 >::Entity Element
 
typedef Grid::template Codim< dimension >::Entity Vertex
 

Public Member Functions

 DGFGridFactory (std::istream &input, MPICommunicatorType comm=MPIHelper::getCommunicator())
 DGFGridFactory for MMeshInterfaceGrid using std::istream.
 
 DGFGridFactory (const std::string &filename, MPICommunicatorType comm=MPIHelper::getCommunicator())
 DGFGridFactory for MMeshInterfaceGrid using filename.
 
Gridgrid () const
 return grid pointer
 
template<class Intersection >
bool wasInserted (const Intersection &intersection) const
 Returns if intersection was inserted.
 
template<class Intersection >
int boundaryId (const Intersection &intersection) const
 Return boundary id of intersection.
 
std::vector< double > parameter (const Element &element)
 Returns dgf element parameters for given element.
 
std::vector< double > parameter (const Vertex &vertex)
 Returns dgf vertex parameters for given vertex.
 
bool haveBoundaryParameters () const
 Returns true if boundary parameters found.
 
template<class GG , class II >
const DGFBoundaryParameter::type boundaryParameter (const Intersection< GG, II > &intersection) const
 
template<int codim>
int numParameters () const
 

Static Public Attributes

static const int dimension = Grid::dimension
 

Member Typedef Documentation

◆ Element

template<class MMeshImp >
typedef Grid::template Codim<0>::Entity Dune::DGFGridFactory< MMeshInterfaceGrid< MMeshImp > >::Element

◆ Grid

template<class MMeshImp >
typedef MMeshInterfaceGrid<MMeshImp> Dune::DGFGridFactory< MMeshInterfaceGrid< MMeshImp > >::Grid

◆ MPICommunicatorType

template<class MMeshImp >
typedef MPIHelper::MPICommunicator Dune::DGFGridFactory< MMeshInterfaceGrid< MMeshImp > >::MPICommunicatorType

◆ Vertex

template<class MMeshImp >
typedef Grid::template Codim<dimension>::Entity Dune::DGFGridFactory< MMeshInterfaceGrid< MMeshImp > >::Vertex

Constructor & Destructor Documentation

◆ DGFGridFactory() [1/2]

template<class MMeshImp >
Dune::DGFGridFactory< MMeshInterfaceGrid< MMeshImp > >::DGFGridFactory ( std::istream input,
MPICommunicatorType  comm = MPIHelper::getCommunicator() 
)
inlineexplicit

◆ DGFGridFactory() [2/2]

template<class MMeshImp >
Dune::DGFGridFactory< MMeshInterfaceGrid< MMeshImp > >::DGFGridFactory ( const std::string filename,
MPICommunicatorType  comm = MPIHelper::getCommunicator() 
)
inlineexplicit

DGFGridFactory for MMeshInterfaceGrid using filename.

Member Function Documentation

◆ boundaryId()

template<class MMeshImp >
template<class Intersection >
int Dune::DGFGridFactory< MMeshInterfaceGrid< MMeshImp > >::boundaryId ( const Intersection intersection) const
inline

Return boundary id of intersection.

◆ boundaryParameter()

template<class MMeshImp >
template<class GG , class II >
const DGFBoundaryParameter::type Dune::DGFGridFactory< MMeshInterfaceGrid< MMeshImp > >::boundaryParameter ( const Intersection< GG, II > &  intersection) const
inline

◆ grid()

template<class MMeshImp >
Grid * Dune::DGFGridFactory< MMeshInterfaceGrid< MMeshImp > >::grid ( ) const
inline

return grid pointer

◆ haveBoundaryParameters()

template<class MMeshImp >
bool Dune::DGFGridFactory< MMeshInterfaceGrid< MMeshImp > >::haveBoundaryParameters ( ) const
inline

Returns true if boundary parameters found.

◆ numParameters()

template<class MMeshImp >
template<int codim>
int Dune::DGFGridFactory< MMeshInterfaceGrid< MMeshImp > >::numParameters ( ) const
inline

◆ parameter() [1/2]

template<class MMeshImp >
std::vector< double > Dune::DGFGridFactory< MMeshInterfaceGrid< MMeshImp > >::parameter ( const Element element)
inline

Returns dgf element parameters for given element.

◆ parameter() [2/2]

template<class MMeshImp >
std::vector< double > Dune::DGFGridFactory< MMeshInterfaceGrid< MMeshImp > >::parameter ( const Vertex vertex)
inline

Returns dgf vertex parameters for given vertex.

◆ wasInserted()

template<class MMeshImp >
template<class Intersection >
bool Dune::DGFGridFactory< MMeshInterfaceGrid< MMeshImp > >::wasInserted ( const Intersection intersection) const
inline

Returns if intersection was inserted.

Member Data Documentation

◆ dimension

template<class MMeshImp >
const int Dune::DGFGridFactory< MMeshInterfaceGrid< MMeshImp > >::dimension = Grid::dimension
static

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