21 static const uint ncell_ = 1;
22 Cube(
const Real sizex = 1.0,
const Real sizey = 1.0,
const Real sizez = 1.0);
25 inline uint
ncell()
const {
return ncell_; }
28 virtual std::ostream&
info(std::ostream& os)
const;
35 inline S(
const S &
scan) : idx_(
scan.idx_), cell_(
scan.cell_) {}
37 inline bool eos()
const {
return idx_ == ncell_; }
58 Cube2(
const uint variant = 0);
61 inline uint
ncell()
const {
return 2; }
64 virtual std::ostream&
info(std::ostream& os)
const;
71 inline S(
const S &
scan) : idx_(
scan.idx_), cell_(
scan.cell_) {}
73 inline bool eos()
const {
return idx_ == 2; }
97 inline uint
ncell()
const {
return 2; }
100 virtual std::ostream&
info(std::ostream& os)
const;
107 inline S(
const S &
scan) : idx_(
scan.idx_), cell_(
scan.cell_) {}
109 inline bool eos()
const {
return idx_ == 2; }
uint ncell() const
Returns the number of cells in the mesh.
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
uint ncell() const
Returns the number of cells in the mesh.
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
uint ncell() const
Returns the number of cells in the mesh.