36 #include "resqml2/GridConnectionSetRepresentation.h" 37 #include "resqml2_0_1/BlockedWellboreRepresentation.h" 41 class AbstractStratigraphicOrganizationInterpretation;
42 class UnstructuredGridRepresentation;
55 gsoap_resqml2_0_1::resqml2__Regrid* createRegrid(
const unsigned int & indexRegridStart,
unsigned int * childCellCountPerInterval,
unsigned int * parentCellCountPerInterval,
const unsigned int & intervalCount,
double * childCellWeights,
56 const std::string & dimension,
bool forceConstantCellCountPerInterval =
false);
62 gsoap_resqml2_0_1::resqml2__AbstractIntegerArray* getCellCountPerInterval2_0_1(
const char & dimension,
const bool & childVsParentCellCount)
const;
64 gsoap_resqml2_0_1::resqml2__AbstractParentWindow* getParentWindow2_0_1()
const;
93 virtual ULONG64 getCellCount()
const = 0;
131 std::string getParentGridUuid()
const;
159 void setParentWindow(
unsigned int * columnIndices,
const unsigned int & columnIndexCount,
160 const unsigned int & kLayerIndexRegridStart,
161 unsigned int * childCellCountPerInterval,
unsigned int * parentCellCountPerInterval,
const unsigned int & intervalCount,
183 void setParentWindow(
184 const unsigned int & iCellIndexRegridStart,
unsigned int * childCellCountPerIInterval,
unsigned int * parentCellCountPerIInterval,
const unsigned int & iIntervalCount,
185 const unsigned int & jCellIndexRegridStart,
unsigned int * childCellCountPerJInterval,
unsigned int * parentCellCountPerJInterval,
const unsigned int & jIntervalCount,
186 const unsigned int & kCellIndexRegridStart,
unsigned int * childCellCountPerKInterval,
unsigned int * parentCellCountPerKInterval,
const unsigned int & kIntervalCount,
208 void setParentWindow(
209 const unsigned int & iCellIndexRegridStart,
unsigned int constantChildCellCountPerIInterval,
unsigned int constantParentCellCountPerIInterval,
const unsigned int & iIntervalCount,
210 const unsigned int & jCellIndexRegridStart,
unsigned int constantChildCellCountPerJInterval,
unsigned int constantParentCellCountPerJInterval,
const unsigned int & jIntervalCount,
211 const unsigned int & kCellIndexRegridStart,
unsigned int constantChildCellCountPerKInterval,
unsigned int constantParentCellCountPerKInterval,
const unsigned int & kIntervalCount,
231 void setParentWindow(
232 const unsigned int & iCellIndexRegridStart,
unsigned int iChildCellCount,
unsigned int iParentCellCount,
233 const unsigned int & jCellIndexRegridStart,
unsigned int jChildCellCount,
unsigned int jParentCellCount,
234 const unsigned int & kCellIndexRegridStart,
unsigned int kChildCellCount,
unsigned int kParentCellCount,
241 void setForcedNonRegridedParentCell(ULONG64 * cellIndices,
const ULONG64 & cellIndexCount);
246 void setCellOverlap(
const ULONG64 & parentChildCellPairCount, ULONG64 * parentChildCellPair,
247 const gsoap_resqml2_0_1::eml__VolumeUom & volumeUom = gsoap_resqml2_0_1::eml__VolumeUom__m3,
double * overlapVolumes =
nullptr);
253 LONG64 getParentCellIndexCount()
const;
259 void getParentCellIndices(ULONG64 * parentCellIndices)
const;
264 LONG64 getParentColumnIndexCount()
const;
270 void getParentColumnIndices(ULONG64 * parentColumnIndices)
const;
277 ULONG64 getRegridStartIndexOnParentGrid(
const char & dimension)
const;
284 ULONG64 getRegridIntervalCount(
const char & dimension)
const;
292 bool isRegridCellCountPerIntervalConstant(
const char & dimension,
const bool & childVsParentCellCount)
const;
300 ULONG64 getRegridConstantCellCountPerInterval(
const char & dimension,
const bool & childVsParentCellCount)
const;
308 void getRegridCellCountPerInterval(
const char & dimension, ULONG64 * childCellCountPerInterval,
const bool & childVsParentCellCount)
const;
314 bool hasRegridChildCellWeights(
const char & dimension)
const;
321 void getRegridChildCellWeights(
const char & dimension, ULONG64 * childCellWeights)
const;
327 bool hasForcedNonRegridedParentCell()
const;
349 virtual std::string getStratigraphicOrganizationInterpretationUuid()
const;
354 bool hasCellStratigraphicUnitIndices()
const;
361 ULONG64 getCellStratigraphicUnitIndices(ULONG64 * stratiUnitIndices);
370 bool isTruncated()
const;
375 ULONG64 getTruncatedFaceCount()
const;
381 void getNodeIndicesOfTruncatedFaces(ULONG64 * nodeIndices)
const;
390 void getCumulativeNodeCountPerTruncatedFace(ULONG64 * nodeCountPerFace)
const;
398 void getNodeCountPerTruncatedFace(ULONG64 * nodeCountPerFace)
const;
403 ULONG64 getTruncatedCellCount()
const;
408 void getTruncatedCellIndices(ULONG64* cellIndices)
const;
415 void getTruncatedFaceIndicesOfTruncatedCells(ULONG64 * faceIndices)
const;
425 void getCumulativeTruncatedFaceCountPerTruncatedCell(ULONG64 * cumulativeFaceCountPerCell)
const;
433 void getTruncatedFaceCountPerTruncatedCell(ULONG64 * faceCountPerCell)
const;
440 void getNonTruncatedFaceIndicesOfTruncatedCells(ULONG64 * faceIndices)
const;
450 void getCumulativeNonTruncatedFaceCountPerTruncatedCell(ULONG64 * cumulativeFaceCountPerCell)
const;
458 void getNonTruncatedFaceCountPerTruncatedCell(ULONG64 * faceCountPerCell)
const;
464 void getTruncatedFaceIsRightHanded(
unsigned char* cellFaceIsRightHanded)
const;
466 static const char* XML_TAG;
470 virtual std::vector<epc::Relationship> getAllEpcRelationships()
const;
473 bool withTruncatedPillars;
475 std::vector<AbstractGridRepresentation*> childGridSet;
477 std::vector<resqml2::GridConnectionSetRepresentation*> gridConnectionSetRepresentationSet;
478 std::vector<resqml2_0_1::BlockedWellboreRepresentation*> blockedWellboreRepresentationSet;
std::vector< resqml2::GridConnectionSetRepresentation * > getGridConnectionSetRepresentationSet() const
Definition: AbstractGridRepresentation.h:102
Definition: AbstractIjkGridRepresentation.h:46
void pushBackSupportingGridRepresentation(class AbstractGridRepresentation *supportingGridRep)
Definition: GridConnectionSetRepresentation.cpp:87
AbstractGridRepresentation(common::EpcDocument *epcDoc, gsoap_resqml2_0_1::eml__DataObjectReference *partialObject, bool withTruncatedPillars)
Definition: AbstractGridRepresentation.h:71
Definition: AbstractLocal3dCrs.h:40
unsigned int getGridConnectionSetRepresentationCount() const
Definition: AbstractGridRepresentation.h:108
Definition: AbstractStratigraphicOrganizationInterpretation.h:41
virtual ~AbstractGridRepresentation()
Definition: AbstractGridRepresentation.h:88
Definition: AbstractGridRepresentation.h:47
Definition: EpcDocument.h:79
void pushBackSupportingGridRepresentation(resqml2::AbstractGridRepresentation *supportingGridRep)
Definition: BlockedWellboreRepresentation.cpp:203
Definition: EpcDocument.h:155
Definition: UnstructuredGridRepresentation.h:40
Definition: AbstractRepresentation.h:40
Definition: GridConnectionSetRepresentation.h:40
AbstractGridRepresentation(resqml2::AbstractFeatureInterpretation *interp, resqml2::AbstractLocal3dCrs *crs, bool withTruncatedPillars)
Definition: AbstractGridRepresentation.h:76
Definition: AbstractColumnLayerGridRepresentation.h:45
unsigned int getChildGridCount() const
Definition: AbstractGridRepresentation.h:136
Definition: EpcDocument.h:61
AbstractGridRepresentation(gsoap_resqml2_0_1::resqml2__AbstractGridRepresentation *fromGsoap, bool withTruncatedPillars)
Definition: AbstractGridRepresentation.h:81
AbstractGridRepresentation * getChildGrid(const unsigned int &index) const
Definition: AbstractGridRepresentation.h:141
Definition: AbstractFeatureInterpretation.h:45