Branch data Line data Source code
1 : : /**
2 : : * MOAB, a Mesh-Oriented datABase, is a software component for creating,
3 : : * storing and accessing finite element mesh data.
4 : : *
5 : : * Copyright 2004 Sandia Corporation. Under the terms of Contract
6 : : * DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government
7 : : * retains certain rights in this software.
8 : : *
9 : : * This library is free software; you can redistribute it and/or
10 : : * modify it under the terms of the GNU Lesser General Public
11 : : * License as published by the Free Software Foundation; either
12 : : * version 2.1 of the License, or (at your option) any later version.
13 : : *
14 : : */
15 : :
16 : : #include "moab/CartVect.hpp"
17 : : #include <ostream>
18 : :
19 : : namespace moab
20 : : {
21 : :
22 : 22710 : std::ostream& operator<<( std::ostream& s, const CartVect& v )
23 : : {
24 : 22710 : return s << '[' << v[0] << ' ' << v[1] << ' ' << v[2] << ']';
25 : : }
26 : :
27 : : } // namespace moab
|