Kindfield
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Friends Pages
vector3.cpp
Go to the documentation of this file.
1 //#include <boost/mpi.hpp>
2 
3 #include "vector3.h"
4 
10 std::ostream& operator<< (std::ostream &out, const Vector3 &vector)
11 {
12  out << vector.mem_local[0] << ", " << vector.mem_local[1] << ", " << vector.mem_local[2];
13  return out;
14 }
15 
17 {
18  return Vector3(1,1,1);
19 }
20 
21 
23 {
24  return Vector3(0,0,0);
25 }