Debian Codegraph @

src/atlas/interpolation/Vector2D.cc

raw
1 /*
2 * (C) Copyright 2013 ECMWF.
3 *
4 * This software is licensed under the terms of the Apache Licence Version 2.0
5 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
6 * In applying this licence, ECMWF does not waive the privileges and immunities
7 * granted to it by virtue of its status as an intergovernmental organisation
8 * nor does it submit to any jurisdiction.
9 */
10
11 #include "Vector2D.h"
12
13 #if !ATLAS_HAVE_EIGEN
14
15 #include <iostream>
16
17 namespace atlas {
18 namespace interpolation {
19
20 void Vector2D::print(std::ostream& s) const {
21 s << "[" << x() << "," << y() << "]";
22 }
23
24 } // namespace interpolation
25 } // namespace atlas
26 #endif