157 virtual std::ostream&
info(std::ostream&
os)
const;
160 class S :
public Scan<Cell2> {
166 inline S(
const S &
scan) : idx_(
scan.idx_),
169 inline bool eos()
const {
return idx_ == cell_->
size(); }
170 inline Cell2& operator++(
int) {
return *(*cell_)[idx_++]; }
172 inline Scan2* clone()
const {
return new S(*
this); }
190 Real2d point_(
const uint n,
const Real r)
const;
201 const std::map<uint, uint>*
const attrib = 0,
202 const std::map<uint, uint>*
const edgeAttrib = 0,
203 const bool hole =
false);
uint size() const
Returns the requested size of the array.
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.
Circle(const Real r=1.0, const Real ratio=0.5, const Real innerRadius=0.0)
Circle(const Real innerRadius, const Array< Real > rings)
Circle(const Real innerRadius, const Array< Real > rings, const Array< uint > ringAttrib)
Circle(const Array< Real > rings, const Array< uint > ringAttrib, const Real ratio=0.5, const Real innerRadius=0.0)
Circle(const Real2d center, const Real innerRadius, const Real outerRadius, const uint n, const Attribute attrib=0, const Real phi0=0)
Circle(const Array< Real > rings, const Real ratio=0.5, const Real innerRadius=0.0)
Circle(const Real2d center, const Real r, const uint n, const Attribute attrib=0, const Real phi0=0, const Attribute edgAttr=0)
Circle(const Array< Real > rings, const Array< uint > ringAttrib, const Array< uint > ringEdgeAttrib, const Real ratio=0.5, const Real innerRadius=0.0)
Scan< Cell2 > Scan2
A scanner for a 2D mesh.
Set< F > makeSet(uint n, const F &first,...)