(#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
2015-09-17 10:14:10 +02:00
parent 14b740c8ab
commit b0caa7f952
3 changed files with 566 additions and 131 deletions

View File

@@ -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);

View File

@@ -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();