dune-grid  2.2.0
Public Types | Public Member Functions | Static Public Attributes
Dune::DGFGridFactory< OneDGrid > Struct Template Reference

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

List of all members.

Public Types

typedef OneDGrid Grid
 grid type
typedef MPIHelper::MPICommunicator MPICommunicatorType
 MPI communicator type.

Public Member Functions

 DGFGridFactory (std::istream &input, MPICommunicatorType comm=MPIHelper::getCommunicator())
 constructor taking istream
 DGFGridFactory (const std::string &filename, MPICommunicatorType comm=MPIHelper::getCommunicator())
 constructor taking filename
Gridgrid () const
 get grid
template<class GG , template< class > class II>
bool wasInserted (const Dune::Intersection< GG, II > &intersection) const
 always returns false
template<class GG , template< class > 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.
template<int codim>
int numParameters () const
 OneDGrid does not support parameters, returns 0.
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
bool haveBoundaryParameters () const
 OneDGrid does not support boundary parameters.
template<class GG , template< class > class II>
const DGFBoundaryParameter::typeboundaryParameter (const Dune::Intersection< GG, II > &intersection) const
 return invalid default value

Static Public Attributes

static const int dimension = Grid::dimension
 grid dimension

Member Typedef Documentation

grid type

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

MPI communicator type.


Constructor & Destructor Documentation

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

constructor taking istream

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

constructor taking filename


Member Function Documentation

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

return invalid default value

References Dune::DGFBoundaryParameter::defaultValue().

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

get grid

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

OneDGrid does not support boundary parameters.

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

OneDGrid does not support parameters, returns 0.

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

OneDGrid does not support parameters, returns 0.

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

return empty vector

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

always returns false


Member Data Documentation

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

grid dimension


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