[MOAB-dev] commit/MOAB: tautges: Removing unnecessary author/date and license comments, and adding operator==.
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Wed Sep 11 17:22:21 CDT 2013
1 new commit in MOAB:
https://bitbucket.org/fathomteam/moab/commits/88bf4f953881/
Changeset: 88bf4f953881
Branch: master
User: tautges
Date: 2013-09-12 00:22:13
Summary: Removing unnecessary author/date and license comments, and adding operator==.
Affected #: 1 file
diff --git a/src/moab/CartVect.hpp b/src/moab/CartVect.hpp
index 383f8e4..a249fef 100644
--- a/src/moab/CartVect.hpp
+++ b/src/moab/CartVect.hpp
@@ -1,18 +1,3 @@
-/**
- * MOAB, a Mesh-Oriented datABase, is a software component for creating,
- * storing and accessing finite element mesh data.
- *
- * Copyright 2004 Sandia Corporation. Under the terms of Contract
- * DE-AC04-94AL85000 with Sandia Coroporation, the U.S. Government
- * retains certain rights in this software.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- */
-
#ifndef MB_CART_VECT_HPP
#define MB_CART_VECT_HPP
@@ -24,8 +9,6 @@ namespace moab {
/**
* \brief Cartesian Vector
- * \author Jason Kraftcheck
- * \date July, 2006
*/
class CartVect
{
@@ -67,6 +50,8 @@ class CartVect
{ d[0] *= s; d[1] *= s; d[2] *= s; return *this; }
inline CartVect& operator/=( double s )
{ d[0] /= s; d[1] /= s; d[2] /= s; return *this; }
+ inline bool operator==(const CartVect& v ) const
+ { return d[0] == v[0] && d[1] == v[1] && d[2] == v[2]; }
inline double length() const; //!< vector length
Repository URL: https://bitbucket.org/fathomteam/moab/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the moab-dev
mailing list