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

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

Public Types

typedef OneDGrid 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 () const
 get grid More...
 
template<class GG , class II >
bool wasInserted (const Dune::Intersection< GG, II > &intersection) const
 always returns false More...
 
template<class GG , class II >
int boundaryId (const Dune::Intersection< GG, II > &intersection) const
 
template<class Entity >
int numParameters (const Entity &) const
 OneDGrid does not support parameters, returns 0. More...
 
template<int codim>
int numParameters () const
 OneDGrid does not support parameters, returns 0. More...
 
template<class Entity >
std::vector< double > & parameter (const Entity &entity)
 
template<int codim>
std::vector< double > & parameter (const typename Grid::Codim< codim >::Entity &element)
 return empty vector More...
 
bool haveBoundaryParameters () const
 OneDGrid does not support boundary parameters. More...
 
template<class GG , class II >
const DGFBoundaryParameter::typeboundaryParameter (const Dune::Intersection< GG, II > &intersection) const
 return invalid default value More...
 

Static Public Attributes

static const int dimension = Grid::dimension
 grid dimension More...
 

Member Typedef Documentation

◆ Grid

grid type

◆ MPICommunicatorType

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

MPI communicator type.

Constructor & Destructor Documentation

◆ DGFGridFactory() [1/2]

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

constructor taking istream

◆ DGFGridFactory() [2/2]

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

constructor taking filename

Member Function Documentation

◆ boundaryId()

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

◆ boundaryParameter()

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

return invalid default value

◆ grid()

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

get grid

◆ haveBoundaryParameters()

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

OneDGrid does not support boundary parameters.

◆ numParameters() [1/2]

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

OneDGrid does not support parameters, returns 0.

◆ numParameters() [2/2]

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

OneDGrid does not support parameters, returns 0.

◆ parameter() [1/2]

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

◆ parameter() [2/2]

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

return empty vector

◆ wasInserted()

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

always returns false

Member Data Documentation

◆ dimension

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

grid dimension


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