31 #ifndef _CLASSIC_FIELDS_MESH_H_
32 #define _CLASSIC_FIELDS_MESH_H_
138 friend bool operator==
140 friend bool operator!=
142 friend bool operator>=
144 friend bool operator<=
146 friend bool operator<
148 friend bool operator>
255 friend bool operator==
257 friend bool operator!=
259 friend bool operator>=
261 friend bool operator<=
263 friend bool operator<
265 friend bool operator>
350 #include "Fields/Interpolation/Mesh-inl.icc"
Mesh::Iterator & operator++(Mesh::Iterator &lhs)
Mesh::Iterator & operator+=(Mesh::Iterator &lhs, const Mesh::Iterator &rhs)
Mesh::Iterator operator+(const Mesh::Iterator &lhs, const Mesh::Iterator &rhs)
Mesh::Iterator operator-(const Mesh::Iterator &lhs, const Mesh::Iterator &rhs)
bool operator<(const Mesh::Iterator &lhs, const Mesh::Iterator &rhs)
bool operator==(const Mesh::Iterator &lhs, const Mesh::Iterator &rhs)
Mesh::Iterator & operator--(Mesh::Iterator &lhs)
bool operator>(const Mesh::Iterator &lhs, const Mesh::Iterator &rhs)
bool operator>=(const Mesh::Iterator &lhs, const Mesh::Iterator &rhs)
bool operator!=(const Mesh::Iterator &lhs, const Mesh::Iterator &rhs)
Mesh::Iterator & operator-=(Mesh::Iterator &lhs, const Mesh::Iterator &rhs)
bool operator<=(const Mesh::Iterator &lhs, const Mesh::Iterator &rhs)
std::ostream & operator<<(std::ostream &out, const Mesh::Iterator &it)
Base class for meshing routines.
virtual Mesh::Iterator & addEquals(Mesh::Iterator &lhs, const Mesh::Iterator &rhs) const =0
virtual void getPosition(const Mesh::Iterator &it, double *position) const =0
friend Mesh::Iterator & operator--(Mesh::Iterator &lhs)
virtual Mesh * dual() const =0
virtual Mesh::Iterator & subEquals(Mesh::Iterator &lhs, const Mesh::Iterator &rhs) const =0
friend Mesh::Iterator & operator++(Mesh::Iterator &lhs)
virtual Mesh::Iterator & addOne(Mesh::Iterator &lhs) const =0
virtual int getPositionDimension() const =0
virtual Mesh::Iterator & subEquals(Mesh::Iterator &lhs, int difference) const =0
friend Mesh::Iterator operator--(Mesh::Iterator &lhs, int)
virtual bool isGreater(const Mesh::Iterator &lhs, const Mesh::Iterator &rhs) const =0
virtual Mesh::Iterator & subOne(Mesh::Iterator &lhs) const =0
virtual Mesh::Iterator & addEquals(Mesh::Iterator &lhs, int difference) const =0
virtual Mesh::Iterator getNearest(const double *position) const =0
virtual Mesh::Iterator end() const =0
virtual Mesh::Iterator begin() const =0
virtual int toInteger(const Mesh::Iterator &lhs) const =0
friend Mesh::Iterator operator++(Mesh::Iterator &lhs, int)
std::vector< int > state_m
const Mesh::Iterator & operator=(const Mesh::Iterator &rhs)
virtual void addState(const Mesh::Iterator &it)
std::vector< int > getState() const
friend Mesh::Iterator & operator--(Mesh::Iterator &lhs)
virtual std::vector< double > getPosition() const
friend Mesh::Iterator & operator++(Mesh::Iterator &lhs)
Iterator(const Mesh::Iterator &in)
virtual void getPosition(double *point) const
virtual bool isOutOfBounds() const
Iterator(std::vector< int > state, const Mesh *mesh)
friend Mesh::Iterator operator--(Mesh::Iterator &lhs, int)
const Mesh * getMesh() const
const int & operator[](int i) const
friend Mesh::Iterator operator++(Mesh::Iterator &lhs, int)