38 template<
unsigned int N> std::ostream& operator<<(std::ostream& os, const Simplex<N>& s);
67 friend std::ostream& operator<< <>(std::ostream& os,
const Simplex<0>& s);
70 template<
unsigned int N>
class Simplex {
100 friend std::ostream& operator<< <>(std::ostream& os,
const Simplex<N>& s);
108 { coords_ =
nullptr; }
112 coords_ = field[0]; }
118 coords_ = field[0]; }
void set_simplices(arma::vec3 **field_of_pointers_to_coordinates)
Creating sub-simplices in lexicografic order.
arma::vec3 * coords_
Point coordinates.
Simplex< 0 > & node(unsigned int idx)
Simplex< 1 > & abscissa(unsigned int idx)
Get simplex of abscissa from different simplices - if it has own implementation in ...
Simplex< N-1 > & operator[](unsigned int idx)
Returns subsimplex of index idx.
Simplex()
Default (empty) constructor.
Simplex< N-1 > simplices_[N+1]