dune-grid
2.2.0
|
#include <dune/grid/io/file/dgfparser/blocks/interval.hh>
Classes | |
struct | Interval |
Public Member Functions | |
IntervalBlock (std::istream &in) | |
void | get (std::vector< std::vector< double > > &vtx, int &nofvtx, std::vector< std::vector< unsigned int > > &simplex, int &nofsimpl) |
void | get (std::vector< std::vector< double > > &vtx, int &nofvtx) |
const Interval & | get (int block) const |
int | numIntervals () const |
int | dimw () const |
int | getVtx (int block, std::vector< std::vector< double > > &vtx) const |
int | getHexa (int block, std::vector< std::vector< unsigned int > > &cubes, int offset=0) const |
int | nofvtx (int block) const |
int | nofhexa (int block) const |
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::IntervalBlock::IntervalBlock | ( | std::istream & | in | ) | [explicit] |
int Dune::dgf::IntervalBlock::dimw | ( | ) | const [inline] |
Referenced by getHexa(), getVtx(), and Dune::DuneGridFormatParser::readDuneGrid().
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().
void Dune::dgf::IntervalBlock::get | ( | std::vector< std::vector< double > > & | vtx, |
int & | nofvtx, | ||
std::vector< std::vector< unsigned int > > & | simplex, | ||
int & | nofsimpl | ||
) | [inline] |
References getHexa(), getVtx(), nofvtx(), and Dune::simplex.
Referenced by Dune::DuneGridFormatParser::readDuneGrid().
void Dune::dgf::IntervalBlock::get | ( | std::vector< std::vector< double > > & | vtx, |
int & | nofvtx | ||
) | [inline] |
const Interval& Dune::dgf::IntervalBlock::get | ( | int | block | ) | const [inline] |
int Dune::dgf::IntervalBlock::getHexa | ( | int | block, |
std::vector< std::vector< unsigned int > > & | cubes, | ||
int | offset = 0 |
||
) | const |
References dimw(), Dune::dgf::IntervalBlock::Interval::n, and nofhexa().
Referenced by get().
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(), 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] |
int Dune::dgf::IntervalBlock::getVtx | ( | int | block, |
std::vector< std::vector< double > > & | vtx | ||
) | const |
References dimw(), Dune::dgf::IntervalBlock::Interval::h, Dune::dgf::IntervalBlock::Interval::n, nofvtx(), and Dune::dgf::IntervalBlock::Interval::p.
Referenced by get().
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::IntervalBlock::nofhexa | ( | int | block | ) | const [inline] |
References Dune::dgf::IntervalBlock::Interval::n.
Referenced by getHexa().
int& Dune::dgf::BasicBlock::noflines | ( | ) | [inline, inherited] |
int Dune::dgf::IntervalBlock::nofvtx | ( | int | block | ) | const [inline] |
References Dune::dgf::IntervalBlock::Interval::n.
int Dune::dgf::IntervalBlock::numIntervals | ( | ) | const [inline] |
Referenced by Dune::DuneGridFormatParser::readDuneGrid().
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] |