Mesh Oriented datABase  (version 5.4.1)
Array-based unstructured mesh datastructure
CartVect.cpp
Go to the documentation of this file.
00001 /**
00002  * MOAB, a Mesh-Oriented datABase, is a software component for creating,
00003  * storing and accessing finite element mesh data.
00004  *
00005  * Copyright 2004 Sandia Corporation.  Under the terms of Contract
00006  * DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government
00007  * retains certain rights in this software.
00008  *
00009  * This library is free software; you can redistribute it and/or
00010  * modify it under the terms of the GNU Lesser General Public
00011  * License as published by the Free Software Foundation; either
00012  * version 2.1 of the License, or (at your option) any later version.
00013  *
00014  */
00015 
00016 #include "moab/CartVect.hpp"
00017 #include <ostream>
00018 
00019 namespace moab
00020 {
00021 
00022 std::ostream& operator<<( std::ostream& s, const CartVect& v )
00023 {
00024     return s << '[' << v[0] << ' ' << v[1] << ' ' << v[2] << ']';
00025 }
00026 
00027 }  // namespace moab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines