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

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

Public Types

typedef UGGrid< dim > Grid
 grid type More...
 
typedef MPIHelper::MPICommunicator MPICommunicatorType
 MPI communicator type. More...
 

Public Member Functions

 DGFGridFactory (std::istream &input, MPICommunicatorType comm=MPIHelper::getCommunicator())
 constructor taking istream More...
 
 DGFGridFactory (const std::string &filename, MPICommunicatorType comm=MPIHelper::getCommunicator())
 constructor taking filename More...
 
Gridgrid ()
 return grid More...
 
template<class GG , class II >
bool wasInserted (const Dune::Intersection< GG, II > &intersection) const
 please doc me More...
 
template<class GG , class II >
int boundaryId (const Dune::Intersection< GG, II > &intersection) const
 will return boundary segment index More...
 
template<int codim>
int numParameters () const
 return number of parameters More...
 
template<class Entity >
int numParameters (const Entity &) const
 return number of parameters More...
 
std::vector< double > & parameter (const typename Grid::template Codim< 0 >::Entity &element)
 return parameter for codim 0 entity More...
 
std::vector< double > & parameter (const typename Grid::template Codim< dimension >::Entity &vertex)
 return parameter for vertex More...
 
bool haveBoundaryParameters () const
 UGGrid does not support boundary parameters. More...
 
template<class GG , class II >
const DGFBoundaryParameter::typeboundaryParameter (const Dune::Intersection< GG, II > &intersection) const
 return invalid value More...
 

Static Public Attributes

static const int dimension = dim
 grid dimension More...
 

Member Typedef Documentation

◆ Grid

template<int dim>
typedef UGGrid< dim > Dune::DGFGridFactory< UGGrid< dim > >::Grid

grid type

◆ MPICommunicatorType

template<int dim>
typedef MPIHelper::MPICommunicator Dune::DGFGridFactory< UGGrid< dim > >::MPICommunicatorType

MPI communicator type.

Constructor & Destructor Documentation

◆ DGFGridFactory() [1/2]

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

constructor taking istream

◆ DGFGridFactory() [2/2]

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

constructor taking filename

Member Function Documentation

◆ boundaryId()

template<int dim>
template<class GG , class II >
int Dune::DGFGridFactory< UGGrid< dim > >::boundaryId ( const Dune::Intersection< GG, II > &  intersection) const
inline

will return boundary segment index

◆ boundaryParameter()

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

return invalid value

◆ grid()

template<int dim>
Grid * Dune::DGFGridFactory< UGGrid< dim > >::grid ( )
inline

return grid

◆ haveBoundaryParameters()

template<int dim>
bool Dune::DGFGridFactory< UGGrid< dim > >::haveBoundaryParameters ( ) const
inline

UGGrid does not support boundary parameters.

◆ numParameters() [1/2]

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

return number of parameters

◆ numParameters() [2/2]

template<int dim>
template<class Entity >
int Dune::DGFGridFactory< UGGrid< dim > >::numParameters ( const Entity ) const
inline

return number of parameters

◆ parameter() [1/2]

template<int dim>
std::vector< double > & Dune::DGFGridFactory< UGGrid< dim > >::parameter ( const typename Grid::template Codim< 0 >::Entity &  element)
inline

return parameter for codim 0 entity

◆ parameter() [2/2]

template<int dim>
std::vector< double > & Dune::DGFGridFactory< UGGrid< dim > >::parameter ( const typename Grid::template Codim< dimension >::Entity &  vertex)
inline

return parameter for vertex

◆ wasInserted()

template<int dim>
template<class GG , class II >
bool Dune::DGFGridFactory< UGGrid< dim > >::wasInserted ( const Dune::Intersection< GG, II > &  intersection) const
inline

please doc me

Member Data Documentation

◆ dimension

template<int dim>
const int Dune::DGFGridFactory< UGGrid< dim > >::dimension = dim
static

grid dimension


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