mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-26 07:00:17 -05:00
Refactor: Use VecIjk0 instead of Vec3st.
This commit is contained in:
1 parent
7e299c4841
commit
5a7e987034
17 files changed
+273
-243
No files matched your search
@@ -38,6 +38,8 @@
|
||||
|
||||
#include "cafAssert.h"
|
||||
|
||||
#include "cvfMath.h"
|
||||
|
||||
namespace caf
|
||||
{
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@@ -72,6 +74,13 @@ VecIjk1 VecIjk0::toOneBased() const
|
||||
return VecIjk1( i() + 1, j() + 1, k() + 1 );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
const VecIjk0 VecIjk0::ZERO( 0, 0, 0 );
|
||||
|
||||
const VecIjk0 VecIjk0::UNDEFINED( cvf::UNDEFINED_SIZE_T, cvf::UNDEFINED_SIZE_T, cvf::UNDEFINED_SIZE_T );
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -60,6 +60,9 @@ class VecIjk0 : public VecIjk
|
||||
public:
|
||||
VecIjk0( size_t i, size_t j, size_t k );
|
||||
VecIjk1 toOneBased() const;
|
||||
|
||||
static const VecIjk0 ZERO;
|
||||
static const VecIjk0 UNDEFINED;
|
||||
};
|
||||
|
||||
class VecIjk1 : public VecIjk
|
||||
|
||||
Reference in new issue
Block a user