dune-grid 2.9.0
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Dune::dgf::SimplexBlock Class Reference

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

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

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 ()
 
const std::string & id () const
 

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)
 

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
 

Constructor & Destructor Documentation

◆ SimplexBlock()

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

Member Function Documentation

◆ cube2simplex()

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

◆ findtoken()

bool Dune::dgf::BasicBlock::findtoken ( std ::string  token)
protectedinherited

◆ get()

int Dune::dgf::SimplexBlock::get ( std ::vector< std ::vector< unsigned int > > &  simplex,
std ::vector< std ::vector< double > > &  params,
int &  nofp 
)

◆ getnextentry()

template<class ENTRY >
bool Dune::dgf::BasicBlock::getnextentry ( ENTRY &  entry)
inlineprotectedinherited

◆ getnextline()

bool Dune::dgf::BasicBlock::getnextline ( )
protectedinherited

◆ gettokenparam()

bool Dune::dgf::BasicBlock::gettokenparam ( std ::string  token,
std ::string &  entry 
)
protectedinherited

◆ id()

const std::string & Dune::dgf::BasicBlock::id ( ) const
inlineinherited

◆ isactive()

bool Dune::dgf::BasicBlock::isactive ( )
inlineinherited

◆ isempty()

bool Dune::dgf::BasicBlock::isempty ( )
inlineinherited

◆ linenumber()

int Dune::dgf::BasicBlock::linenumber ( )
inlineinherited

◆ noflines()

int & Dune::dgf::BasicBlock::noflines ( )
inlineinherited

◆ nofsimplex()

int Dune::dgf::SimplexBlock::nofsimplex ( )
inline

◆ ok()

bool Dune::dgf::SimplexBlock::ok ( )
inline

◆ reset()

void Dune::dgf::BasicBlock::reset ( )
inlineprotectedinherited

Member Data Documentation

◆ line

std::stringstream Dune::dgf::BasicBlock::line
protectedinherited

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