Flow123d
release_2.2.0-914-gf1a3a4f
|
#include <simplex.hh>
Public Member Functions | |
Simplex () | |
Simplex (arma::vec3 **field) | |
Default constructor. Does not set coordinates pointer. More... | |
~Simplex () | |
Destructor. More... | |
void | set_simplices (arma::vec3 **field) |
arma::vec3 & | point_coordinates () |
Returns the point coordinates. More... | |
Private Attributes | |
arma::vec3 * | coords_ |
Point coordinates. More... | |
Friends | |
std::ostream & | operator<< (std::ostream &os, const Simplex< 0 > &s) |
Friend output operator. More... | |
Simplex<0> represents a point in 3D it has a pointer to coordinates of point in 3D because of mesh implementation
Definition at line 44 of file simplex.hh.
Definition at line 107 of file simplex.hh.
|
inline |
Default constructor. Does not set coordinates pointer.
Constuctor that sets the point coordinates.
field | - array of pointers to point coordinates; it takes just the first element of the input array for case of Simplex<0> |
Definition at line 110 of file simplex.hh.
Destructor.
Definition at line 114 of file simplex.hh.
|
inline |
Returns the point coordinates.
Definition at line 120 of file simplex.hh.
|
inline |
Setter for point coordinates
Definition at line 116 of file simplex.hh.
|
friend |
Friend output operator.
|
private |
Point coordinates.
Definition at line 46 of file simplex.hh.