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

Inheritance diagram for Dune::dgf::ProjectionBlock:
Inheritance graph

List of all members.

Classes

class  BoundaryProjection
struct  Expression
struct  Token

Public Member Functions

 ProjectionBlock (std::istream &in, int dimworld)
template<int dimworld>
const DuneBoundaryProjection
< dimworld > * 
defaultProjection () const
size_t numBoundaryProjections () const
const std::vector< unsigned int > & boundaryFace (const size_t i) const
template<int dimworld>
const DuneBoundaryProjection
< dimworld > * 
boundaryProjection (const size_t i) const
const Expressionfunction (const std::string &name) const
bool isactive ()
bool isempty ()
int & noflines ()
int linenumber ()

Protected Types

typedef std::map< std::string,
const Expression * > 
FunctionMap
typedef std::pair< std::vector
< unsigned int >, const
Expression * > 
BoundaryFunction

Protected Member Functions

void reset ()
bool getnextline ()
template<class ENTRY >
bool getnextentry (ENTRY &entry)
bool gettokenparam (std::string token, std::string &entry)
bool findtoken (std::string token)

Protected Attributes

Token token
FunctionMap functions_
const ExpressiondefaultFunction_
std::vector< BoundaryFunctionboundaryFunctions_
std::stringstream line

Friends

std::ostream & operator<< (std::ostream &, const Token &)
std::ostream & operator<< (std::ostream &os, const BasicBlock &b)

Member Typedef Documentation

typedef std::pair< std::vector< unsigned int >, const Expression * > Dune::dgf::ProjectionBlock::BoundaryFunction [protected]
typedef std::map< std::string, const Expression * > Dune::dgf::ProjectionBlock::FunctionMap [protected]

Constructor & Destructor Documentation

Dune::dgf::ProjectionBlock::ProjectionBlock ( std::istream &  in,
int  dimworld 
)

Member Function Documentation

const std::vector< unsigned int >& Dune::dgf::ProjectionBlock::boundaryFace ( const size_t  i  )  const [inline]
template<int dimworld>
const DuneBoundaryProjection< dimworld >* Dune::dgf::ProjectionBlock::boundaryProjection ( const size_t  i  )  const [inline]
template<int dimworld>
const DuneBoundaryProjection< dimworld >* Dune::dgf::ProjectionBlock::defaultProjection (  )  const [inline]

References defaultFunction_.

const Expression* Dune::dgf::ProjectionBlock::function ( const std::string &  name  )  const [inline]
bool Dune::dgf::BasicBlock::gettokenparam ( std::string  token,
std::string &  entry 
) [protected, inherited]
bool Dune::dgf::BasicBlock::isempty (  )  [inline, inherited]
int Dune::dgf::BasicBlock::linenumber (  )  [inline, inherited]
size_t Dune::dgf::ProjectionBlock::numBoundaryProjections (  )  const [inline]

References boundaryFunctions_.

Referenced by boundaryFace(), and boundaryProjection().


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  ,
const Token &   
) [friend]
std :: ostream& operator<< ( std::ostream &  os,
const BasicBlock b 
) [friend, inherited]

Member Data Documentation

std::stringstream Dune::dgf::BasicBlock::line [protected, inherited]

Referenced by ProjectionBlock().


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

Generated on Fri Apr 29 2011 with Doxygen (ver 1.7.1) [doxygen-log,error-log].