34 out << std::setw(5) << it.
toInteger() <<
" ** ";
35 for (
unsigned int i = 0; i < it.
getState().size(); i++)
36 out << std::setw(5) << it[i] <<
" ";
38 for (
unsigned int i = 0; i < it.
getPosition().size(); i++)
39 out << std::scientific << std::setprecision(3) << std::setw(12)
std::ostream & operator<<(std::ostream &out, const Mesh::Iterator &it)
Output iterator to a std ostream object.
Used to loop over some, or all, points in the mesh, as in stl Enables e.g.
virtual void getPosition(double *point) const
Return the position referenced by the iterator;.
int toInteger() const
Return an integer representation of the iterator.
std::vector< int > getState() const
Return the internal state of the iterator.