dune-grid
2.2.0
|
#include <dune/grid/io/file/dgfparser/blocks/cube.hh>
Public Member Functions | |
CubeBlock (std::istream &in, int pnofvtx, int pvtxoffset, int &pdimgrid) | |
int | get (std::vector< std::vector< unsigned int > > &simplex, std::vector< std::vector< double > > ¶ms, int &nofp) |
bool | ok () |
int | nofsimplex () |
bool | isactive () |
bool | isempty () |
int & | noflines () |
int | linenumber () |
const std::string & | id () const |
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) |
Dune::dgf::CubeBlock::CubeBlock | ( | std::istream & | in, |
int | pnofvtx, | ||
int | pvtxoffset, | ||
int & | pdimgrid | ||
) |
bool Dune::dgf::BasicBlock::findtoken | ( | std::string | token | ) | [protected, inherited] |
References Dune::dgf::BasicBlock::getnextline(), Dune::dgf::makeupcase(), and Dune::dgf::BasicBlock::reset().
Referenced by Dune::dgf::BoundaryDomBlock::BoundaryDomBlock(), Dune::dgf::GridParameterBlock::GridParameterBlock(), Dune::dgf::SimplexGenerationBlock::SimplexGenerationBlock(), Dune::dgf::UGGridParameterBlock::UGGridParameterBlock(), Dune::dgf::VertexBlock::VertexBlock(), and Dune::dgf::YaspGridParameterBlock::YaspGridParameterBlock().
int Dune::dgf::CubeBlock::get | ( | std::vector< std::vector< unsigned int > > & | simplex, |
std::vector< std::vector< double > > & | params, | ||
int & | nofp | ||
) |
References Dune::cube, and Dune::dgf::BasicBlock::reset().
Referenced by Dune::DuneGridFormatParser::readDuneGrid().
bool Dune::dgf::BasicBlock::getnextentry | ( | ENTRY & | entry | ) | [inline, protected, inherited] |
References Dune::dgf::BasicBlock::line.
Referenced by Dune::dgf::BoundaryDomBlock::BoundaryDomBlock(), Dune::dgf::GridParameterBlock::GridParameterBlock(), Dune::dgf::IntervalBlock::IntervalBlock(), Dune::dgf::SimplexGenerationBlock::SimplexGenerationBlock(), Dune::dgf::UGGridParameterBlock::UGGridParameterBlock(), Dune::dgf::VertexBlock::VertexBlock(), and Dune::dgf::YaspGridParameterBlock::YaspGridParameterBlock().
bool Dune::dgf::BasicBlock::getnextline | ( | ) | [protected, inherited] |
bool Dune::dgf::BasicBlock::gettokenparam | ( | std::string | token, |
std::string & | entry | ||
) | [protected, inherited] |
const std::string& Dune::dgf::BasicBlock::id | ( | ) | const [inline, inherited] |
Referenced by Dune::dgf::BoundaryDomBlock::BoundaryDomBlock(), and Dune::dgf::VertexBlock::VertexBlock().
bool Dune::dgf::BasicBlock::isactive | ( | ) | [inline, inherited] |
bool Dune::dgf::BasicBlock::isempty | ( | ) | [inline, inherited] |
Referenced by Dune::dgf::DimBlock::DimBlock(), and Dune::dgf::GridParameterBlock::GridParameterBlock().
int Dune::dgf::BasicBlock::linenumber | ( | ) | [inline, inherited] |
int& Dune::dgf::BasicBlock::noflines | ( | ) | [inline, inherited] |
int Dune::dgf::CubeBlock::nofsimplex | ( | ) | [inline] |
References Dune::dgf::BasicBlock::noflines().
bool Dune::dgf::CubeBlock::ok | ( | ) | [inline] |
void Dune::dgf::BasicBlock::reset | ( | ) | [inline, protected, inherited] |
std :: ostream& operator<< | ( | std::ostream & | os, |
const BasicBlock & | b | ||
) | [friend, inherited] |
std::stringstream Dune::dgf::BasicBlock::line [protected, inherited] |