(#401) WIP: Implemented averaging to create a geomech equivalent cell

to compare with the real geomech cells.
Creating mapping based on this, but there are bugs or weaknesses yet,
so it does not work properly.
This commit is contained in:
Jacob Støren committed 2015-09-17 16:13:25 +02:00
1 parent 14b740c8ab
commit b0caa7f952
3 files changed
+566 -131

No files matched your search

@@ -201,7 +201,7 @@ int RigFemPartGrid::findElmIdxForIJK000()
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
cvf::Vec3i RigFemPartGrid::findMainIJKFaces(int elementIndex)
cvf::Vec3i RigFemPartGrid::findMainIJKFaces(int elementIndex) const
{
cvf::Vec3i ijkMainFaceIndices = cvf::Vec3i(-1, -1, -1);
@@ -48,10 +48,10 @@ public:
virtual cvf::Vec3d gridPointCoordinate(size_t i, size_t j, size_t k) const;
cvf::Vec3i findMainIJKFaces(int elementIndex) const;
private:
void generateStructGridData();
cvf::Vec3i findMainIJKFaces(int elementIndex);
int findElmIdxForIJK000();