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

Inheritance diagram for Dune::dgf::SimplexBlock:
Inheritance graph

List of all members.

Public Member Functions

 SimplexBlock (std::istream &in, int pnofvtx, int pvtxoffset, int &pdimgrid)
int get (std::vector< std::vector< unsigned int > > &simplex, std::vector< std::vector< double > > &params, int &nofp)
bool ok ()
int nofsimplex ()
bool isactive ()
bool isempty ()
int & noflines ()
int linenumber ()

Static Public Member Functions

static int cube2simplex (std::vector< std::vector< double > > &vtx, std::vector< std::vector< unsigned int > > &elements, std::vector< std::vector< double > > &params)

Static Public Attributes

static const char * ID = "Simplex"

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

std::stringstream line

Friends

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

Constructor & Destructor Documentation

Dune::dgf::SimplexBlock::SimplexBlock ( std::istream &  in,
int  pnofvtx,
int  pvtxoffset,
int &  pdimgrid 
)

Member Function Documentation

int Dune::dgf::SimplexBlock::cube2simplex ( std::vector< std::vector< double > > &  vtx,
std::vector< std::vector< unsigned int > > &  elements,
std::vector< std::vector< double > > &  params 
) [static]
int Dune::dgf::SimplexBlock::get ( std::vector< std::vector< unsigned int > > &  simplex,
std::vector< std::vector< double > > &  params,
int &  nofp 
)
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]
int Dune::dgf::SimplexBlock::nofsimplex (  )  [inline]
bool Dune::dgf::SimplexBlock::ok (  )  [inline]

Friends And Related Function Documentation

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

Member Data Documentation

const char * Dune::dgf::SimplexBlock::ID = "Simplex" [static]
std::stringstream Dune::dgf::BasicBlock::line [protected, inherited]

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].