Fesapi  0.13.0.0
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
Classes | Public Types | Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
RESQML2_0_1_NS::AbstractIjkGridRepresentation Class Reference

#include <AbstractIjkGridRepresentation.h>

Inheritance diagram for RESQML2_0_1_NS::AbstractIjkGridRepresentation:
RESQML2_NS::AbstractColumnLayerGridRepresentation RESQML2_NS::AbstractGridRepresentation RESQML2_NS::AbstractRepresentation COMMON_NS::AbstractObject RESQML2_0_1_NS::IjkGridExplicitRepresentation RESQML2_0_1_NS::IjkGridLatticeRepresentation RESQML2_0_1_NS::IjkGridNoGeometryRepresentation RESQML2_0_1_NS::IjkGridParametricRepresentation

Public Types

enum  geometryKind {
  UNKNOWN = 0, EXPLICIT = 1, PARAMETRIC = 2, LATTICE = 3,
  NO_GEOMETRY = 4
}
 
- Public Types inherited from RESQML2_NS::AbstractRepresentation
enum  indexableElement {
  NODE = 0, EDGE = 1, FACE = 2, VOLUME = 3,
  PILLAR = 4
}
 

Public Member Functions

 AbstractIjkGridRepresentation (soap *soapContext, RESQML2_NS::AbstractLocal3dCrs *crs, const std::string &guid, const std::string &title, const unsigned int &iCount, const unsigned int &jCount, const unsigned int &kCount, bool withTruncatedPillars=false)
 
 AbstractIjkGridRepresentation (RESQML2_NS::AbstractFeatureInterpretation *interp, RESQML2_NS::AbstractLocal3dCrs *crs, const std::string &guid, const std::string &title, const unsigned int &iCount, const unsigned int &jCount, const unsigned int &kCount, bool withTruncatedPillars=false)
 
 AbstractIjkGridRepresentation (gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject, bool withTruncatedPillars=false)
 
virtual ~AbstractIjkGridRepresentation ()
 
unsigned int getICellCount () const
 
void setICellCount (const unsigned int &iCount)
 
unsigned int getJCellCount () const
 
void setJCellCount (const unsigned int &jCount)
 
ULONG64 getCellCount () const
 
unsigned int getColumnCount () const
 
unsigned int getPillarCount () const
 
unsigned int getFaceCount () const
 
unsigned int getIPillarFromGlobalIndex (const unsigned int &globalIndex) const
 
unsigned int getJPillarFromGlobalIndex (const unsigned int &globalIndex) const
 
unsigned int getGlobalIndexPillarFromIjIndex (const unsigned int &iPillar, const unsigned int &jPillar) const
 
unsigned int getIColumnFromGlobalIndex (const unsigned int &globalIndex) const
 
unsigned int getJColumnFromGlobalIndex (const unsigned int &globalIndex) const
 
unsigned int getGlobalIndexColumnFromIjIndex (const unsigned int &iColumn, const unsigned int &jColumn) const
 
unsigned int getGlobalIndexCellFromIjkIndex (const unsigned int &iCell, const unsigned int &jCell, const unsigned int &kCell) const
 
bool isRightHanded () const
 
void getPillarsOfSplitCoordinateLines (unsigned int *pillarIndices, bool reverseIAxis=false, bool reverseJAxis=false) const
 
void getColumnsOfSplitCoordinateLines (unsigned int *columnIndices, bool reverseIAxis=false, bool reverseJAxis=false) const
 
void getColumnCountOfSplitCoordinateLines (unsigned int *columnIndexCountPerSplitCoordinateLine) const
 
unsigned long getSplitCoordinateLineCount () const
 
unsigned long getBlockSplitCoordinateLineCount () const
 
ULONG64 getSplitNodeCount () const
 
void getPillarGeometryIsDefined (bool *pillarGeometryIsDefined, bool reverseIAxis=false, bool reverseJAxis=false) const
 
bool hasEnabledCellInformation () const
 
void getEnabledCells (bool *enabledCells, bool reverseIAxis=false, bool reverseJAxis=false, bool reverseKAxis=false) const
 
void setEnabledCells (unsigned char *enabledCells)
 
void loadSplitInformation ()
 
void loadBlockInformation (const unsigned int &iInterfaceStart, const unsigned int &iInterfaceEnd, const unsigned int &jInterfaceStart, const unsigned int &jInterfaceEnd, const unsigned int &kInterfaceStart, const unsigned int &kInterfaceEnd)
 
void unloadSplitInformation ()
 
bool isColumnEdgeSplitted (const unsigned int &iColumn, const unsigned int &jColumn, const unsigned int &edge) const
 
ULONG64 getXyzPointIndexFromCellCorner (const unsigned int &iCell, const unsigned int &jCell, const unsigned int &kCell, const unsigned int &corner) const
 
void getXyzPointOfBlockFromCellCorner (const unsigned int &iCell, const unsigned int &jCell, const unsigned int &kCell, const unsigned int &corner, const double *xyzPoints, double &x, double &y, double &z) const
 
ULONG64 getXyzPointCountOfKInterfaceOfPatch (const unsigned int &patchIndex) const
 
ULONG64 getXyzPointCountOfBlock () const
 
void getXyzPointsOfKInterfaceOfPatch (const unsigned int &kInterface, const unsigned int &patchIndex, double *xyzPoints)
 
virtual void getXyzPointsOfKInterfaceSequenceOfPatch (const unsigned int &kInterfaceStart, const unsigned int &kInterfaceEnd, const unsigned int &patchIndex, double *xyzPoints)
 
virtual void getXyzPointsOfBlockOfPatch (const unsigned int &patchIndex, double *xyzPoints)
 
gsoap_resqml2_0_1::resqml2__KDirection getKDirection () const
 
virtual geometryKind getGeometryKind () const
 
virtual std::string getHdfProxyUuid () const
 
virtual ULONG64 getXyzPointCountOfPatch (const unsigned int &patchIndex) const
 
virtual void getXyzPointsOfPatch (const unsigned int &patchIndex, double *xyzPoints) const
 
virtual std::string getXmlTag () const
 
unsigned int getPatchCount () const
 
- Public Member Functions inherited from RESQML2_NS::AbstractColumnLayerGridRepresentation
virtual ~AbstractColumnLayerGridRepresentation ()
 
unsigned int getKCellCount () const
 
void setKCellCount (const unsigned int &kCount)
 
void setIntervalAssociationWithStratigraphicOrganizationInterpretation (ULONG64 *stratiUnitIndices, const ULONG64 &nullValue, RESQML2_0_1_NS::AbstractStratigraphicOrganizationInterpretation *stratiOrgInterp)
 
gsoap_resqml2_0_1::eml20__DataObjectReference * getStratigraphicOrganizationInterpretationDor () const
 
bool hasIntervalStratigraphicUnitIndices () const
 
ULONG64 getIntervalStratigraphicUnitIndices (ULONG64 *stratiUnitIndices)
 
- Public Member Functions inherited from RESQML2_NS::AbstractGridRepresentation
virtual ~AbstractGridRepresentation ()
 
std::vector< RESQML2_NS::GridConnectionSetRepresentation * > getGridConnectionSetRepresentationSet () const
 
unsigned int getGridConnectionSetRepresentationCount () const
 
RESQML2_NS::GridConnectionSetRepresentationgetGridConnectionSetRepresentation (const unsigned int &index) const
 
AbstractGridRepresentationgetParentGrid () const
 
gsoap_resqml2_0_1::eml20__DataObjectReference * getParentGridDor () const
 
std::string getParentGridUuid () const
 
unsigned int getChildGridCount () const
 
AbstractGridRepresentationgetChildGrid (const unsigned int &index) const
 
void setParentWindow (ULONG64 *cellIndices, const ULONG64 &cellIndexCount, RESQML2_0_1_NS::UnstructuredGridRepresentation *parentGrid)
 
void setParentWindow (unsigned int *columnIndices, const unsigned int &columnIndexCount, const unsigned int &kLayerIndexRegridStart, unsigned int *childCellCountPerInterval, unsigned int *parentCellCountPerInterval, const unsigned int &intervalCount, class AbstractColumnLayerGridRepresentation *parentGrid, double *childCellWeights=nullptr)
 
void setParentWindow (const unsigned int &iCellIndexRegridStart, unsigned int *childCellCountPerIInterval, unsigned int *parentCellCountPerIInterval, const unsigned int &iIntervalCount, const unsigned int &jCellIndexRegridStart, unsigned int *childCellCountPerJInterval, unsigned int *parentCellCountPerJInterval, const unsigned int &jIntervalCount, const unsigned int &kCellIndexRegridStart, unsigned int *childCellCountPerKInterval, unsigned int *parentCellCountPerKInterval, const unsigned int &kIntervalCount, RESQML2_0_1_NS::AbstractIjkGridRepresentation *parentGrid, double *iChildCellWeights=nullptr, double *jChildCellWeights=nullptr, double *kChildCellWeights=nullptr)
 
void setParentWindow (const unsigned int &iCellIndexRegridStart, unsigned int constantChildCellCountPerIInterval, unsigned int constantParentCellCountPerIInterval, const unsigned int &iIntervalCount, const unsigned int &jCellIndexRegridStart, unsigned int constantChildCellCountPerJInterval, unsigned int constantParentCellCountPerJInterval, const unsigned int &jIntervalCount, const unsigned int &kCellIndexRegridStart, unsigned int constantChildCellCountPerKInterval, unsigned int constantParentCellCountPerKInterval, const unsigned int &kIntervalCount, RESQML2_0_1_NS::AbstractIjkGridRepresentation *parentGrid, double *iChildCellWeights=nullptr, double *jChildCellWeights=nullptr, double *kChildCellWeights=nullptr)
 
void setParentWindow (const unsigned int &iCellIndexRegridStart, unsigned int iChildCellCount, unsigned int iParentCellCount, const unsigned int &jCellIndexRegridStart, unsigned int jChildCellCount, unsigned int jParentCellCount, const unsigned int &kCellIndexRegridStart, unsigned int kChildCellCount, unsigned int kParentCellCount, RESQML2_0_1_NS::AbstractIjkGridRepresentation *parentGrid, double *iChildCellWeights=nullptr, double *jChildCellWeights=nullptr, double *kChildCellWeights=nullptr)
 
void setForcedNonRegridedParentCell (ULONG64 *cellIndices, const ULONG64 &cellIndexCount)
 
void setCellOverlap (const ULONG64 &parentChildCellPairCount, ULONG64 *parentChildCellPair, const gsoap_resqml2_0_1::eml20__VolumeUom &volumeUom=gsoap_resqml2_0_1::eml20__VolumeUom__m3, double *overlapVolumes=nullptr)
 
LONG64 getParentCellIndexCount () const
 
void getParentCellIndices (ULONG64 *parentCellIndices) const
 
LONG64 getParentColumnIndexCount () const
 
void getParentColumnIndices (ULONG64 *parentColumnIndices) const
 
ULONG64 getRegridStartIndexOnParentGrid (const char &dimension) const
 
ULONG64 getRegridIntervalCount (const char &dimension) const
 
bool isRegridCellCountPerIntervalConstant (const char &dimension, const bool &childVsParentCellCount) const
 
ULONG64 getRegridConstantCellCountPerInterval (const char &dimension, const bool &childVsParentCellCount) const
 
void getRegridCellCountPerInterval (const char &dimension, ULONG64 *childCellCountPerInterval, const bool &childVsParentCellCount) const
 
bool hasRegridChildCellWeights (const char &dimension) const
 
void getRegridChildCellWeights (const char &dimension, ULONG64 *childCellWeights) const
 
bool hasForcedNonRegridedParentCell () const
 
void setCellAssociationWithStratigraphicOrganizationInterpretation (ULONG64 *stratiUnitIndices, const ULONG64 &nullValue, RESQML2_0_1_NS::AbstractStratigraphicOrganizationInterpretation *stratiOrgInterp)
 
RESQML2_0_1_NS::AbstractStratigraphicOrganizationInterpretationgetStratigraphicOrganizationInterpretation () const
 
std::string getStratigraphicOrganizationInterpretationUuid () const
 
std::string getStratigraphicOrganizationInterpretationTitle () const
 
bool hasCellStratigraphicUnitIndices () const
 
ULONG64 getCellStratigraphicUnitIndices (ULONG64 *stratiUnitIndices)
 
bool isTruncated () const
 
ULONG64 getTruncatedFaceCount () const
 
void getNodeIndicesOfTruncatedFaces (ULONG64 *nodeIndices) const
 
void getCumulativeNodeCountPerTruncatedFace (ULONG64 *nodeCountPerFace) const
 
void getNodeCountPerTruncatedFace (ULONG64 *nodeCountPerFace) const
 
ULONG64 getTruncatedCellCount () const
 
void getTruncatedCellIndices (ULONG64 *cellIndices) const
 
void getTruncatedFaceIndicesOfTruncatedCells (ULONG64 *faceIndices) const
 
void getCumulativeTruncatedFaceCountPerTruncatedCell (ULONG64 *cumulativeFaceCountPerCell) const
 
void getTruncatedFaceCountPerTruncatedCell (ULONG64 *faceCountPerCell) const
 
void getNonTruncatedFaceIndicesOfTruncatedCells (ULONG64 *faceIndices) const
 
void getCumulativeNonTruncatedFaceCountPerTruncatedCell (ULONG64 *cumulativeFaceCountPerCell) const
 
void getNonTruncatedFaceCountPerTruncatedCell (ULONG64 *faceCountPerCell) const
 
void getTruncatedFaceIsRightHanded (unsigned char *cellFaceIsRightHanded) const
 
- Public Member Functions inherited from RESQML2_NS::AbstractRepresentation
virtual ~AbstractRepresentation ()
 
class AbstractLocal3dCrsgetLocalCrs () const
 
virtual gsoap_resqml2_0_1::eml20__DataObjectReference * getLocalCrsDor () const
 
std::string getLocalCrsUuid () const
 
COMMON_NS::AbstractHdfProxygetHdfProxy () const
 
const std::vector< class AbstractProperty * > & getPropertySet () const
 
std::vector< class AbstractValuesProperty * > getValuesPropertySet () const
 
unsigned int getValuesPropertyCount () const
 
class AbstractValuesPropertygetValuesProperty (const unsigned int &index) const
 
void setInterpretation (class AbstractFeatureInterpretation *interp)
 
class AbstractFeatureInterpretationgetInterpretation () const
 
gsoap_resqml2_0_1::eml20__DataObjectReference * getInterpretationDor () const
 
std::string getInterpretationUuid () const
 
std::string getInterpretationContentType () const
 
void pushBackSubRepresentation (class SubRepresentation *subRep)
 
std::vector< SubRepresentation * > getSubRepresentationSet () const
 
unsigned int getSubRepresentationCount () const
 
SubRepresentationgetSubRepresentation (const unsigned int &index) const
 
std::vector< SubRepresentation * > getFaultSubRepresentationSet () const
 
unsigned int getFaultSubRepresentationCount () const
 
SubRepresentationgetFaultSubRepresentation (const unsigned int &index) const
 
ULONG64 getXyzPointCountOfAllPatches () const
 
void getXyzPointsOfPatchInGlobalCrs (const unsigned int &patchIndex, double *xyzPoints) const
 
void getXyzPointsOfAllPatches (double *xyzPoints) const
 
void getXyzPointsOfAllPatchesInGlobalCrs (double *xyzPoints) const
 
AbstractRepresentationgetSeismicSupportOfPatch (const unsigned int &patchIndex) const
 
std::set< AbstractRepresentation * > getAllSeismicSupport () const
 
void pushBackIntoRepresentationSet (class RepresentationSetRepresentation *repSet, bool xml=true)
 
ULONG64 getRepresentationSetRepresentationCount () const
 
RepresentationSetRepresentationgetRepresentationSetRepresentation (const ULONG64 &index) const
 
void setHdfProxy (COMMON_NS::AbstractHdfProxy *proxy)
 
void addSeismic3dCoordinatesToPatch (const unsigned int patchIndex, double *inlines, double *crosslines, const unsigned int &pointCount, RESQML2_NS::AbstractRepresentation *seismicSupport, COMMON_NS::AbstractHdfProxy *proxy)
 
void addSeismic3dCoordinatesToPatch (const unsigned int patchIndex, const double &startInline, const double &incrInline, const unsigned int &countInline, const double &startCrossline, const double &incrCrossline, const unsigned int &countCrossline, RESQML2_NS::AbstractRepresentation *seismicSupport)
 
void addSeismic2dCoordinatesToPatch (const unsigned int patchIndex, double *lineAbscissa, RESQML2_NS::AbstractRepresentation *seismicSupport, COMMON_NS::AbstractHdfProxy *proxy)
 
void getSeismicLineAbscissaOfPointsOfPatch (const unsigned int &patchIndex, double *values)
 
void getInlinesOfPointsOfPatch (const unsigned int &patchIndex, double *values)
 
void getCrosslinesOfPointsOfPatch (const unsigned int &patchIndex, double *values)
 
- Public Member Functions inherited from COMMON_NS::AbstractObject
bool isPartial () const
 
std::string getUuid () const
 
std::string getTitle () const
 
std::string getEditor () const
 
time_t getCreation () const
 
tm getCreationAsTimeStructure () const
 
std::string getOriginator () const
 
std::string getDescription () const
 
time_t getLastUpdate () const
 
tm getLastUpdateAsTimeStructure () const
 
std::string getFormat () const
 
std::string getDescriptiveKeywords () const
 
std::string getVersionString () const
 
void setTitle (const std::string &title)
 
void setEditor (const std::string &editor)
 
void setCreation (const time_t &creation)
 
void setCreation (const tm &creation)
 
void setOriginator (const std::string &originator)
 
void setDescription (const std::string &description)
 
void setLastUpdate (const time_t &lastUpdate)
 
void setLastUpdate (const tm &lastUpdate)
 
void setFormat (const std::string &format)
 
void setDescriptiveKeywords (const std::string &descriptiveKeywords)
 
void setVersionString (const std::string &versionString)
 
void setMetadata (const std::string &title, const std::string &editor, const time_t &creation, const std::string &originator, const std::string &description, const time_t &lastUpdate, const std::string &format, const std::string &descriptiveKeywords)
 
void serializeIntoStream (std::ostream *stream)
 
gsoap_resqml2_0_1::eml20__AbstractCitedDataObject * getGsoapProxy () const
 
soap * getGsoapContext () const
 
int getGsoapType () const
 
gsoap_resqml2_0_1::eml20__DataObjectReference * newResqmlReference () const
 
gsoap_eml2_1::eml21__DataObjectReference * newEmlReference () const
 
gsoap_resqml2_0_1::resqml2__ContactElementReference * newResqmlContactElementReference () const
 
COMMON_NS::EpcDocumentgetEpcDocument () const
 
virtual std::string getXmlNamespace () const
 
virtual std::string getResqmlVersion () const
 
virtual std::string getContentType () const
 
virtual std::string getPartNameInEpcDocument () const
 
std::string serializeIntoString ()
 
void addAlias (const std::string &authority, const std::string &title)
 
unsigned int getAliasCount () const
 
std::string getAliasAuthorityAtIndex (const unsigned int &index) const
 
std::string getAliasTitleAtIndex (const unsigned int &index) const
 
const std::vector< RESQML2_NS::Activity * > & getActivitySet () const
 
unsigned int getActivityCount () const
 
RESQML2_NS::ActivitygetActivity (const unsigned int &index) const
 
void pushBackExtraMetadata (const std::string &key, const std::string &value)
 
std::tr1::unordered_map< std::string, std::string > getExtraMetadataSet () const
 
std::vector< std::string > getExtraMetadata (const std::string &key) const
 
unsigned int getExtraMetadataCount () const
 
std::string getExtraMetadataKeyAtIndex (const unsigned int &index) const
 
std::string getExtraMetadataStringValueAtIndex (const unsigned int &index) const
 

Static Public Attributes

static const char * XML_TAG = "IjkGridRepresentation"
 
static const char * XML_TAG_TRUNCATED = "TruncatedIjkGridRepresentation"
 
- Static Public Attributes inherited from RESQML2_NS::AbstractGridRepresentation
static const char * XML_TAG = "AbstractGridRepresentation"
 
- Static Public Attributes inherited from RESQML2_NS::AbstractRepresentation
static const char * XML_TAG = "AbstractRepresentation"
 

Protected Member Functions

 AbstractIjkGridRepresentation (gsoap_resqml2_0_1::_resqml2__IjkGridRepresentation *fromGsoap)
 
 AbstractIjkGridRepresentation (gsoap_resqml2_0_1::_resqml2__TruncatedIjkGridRepresentation *fromGsoap)
 
gsoap_resqml2_0_1::_resqml2__IjkGridRepresentation * getSpecializedGsoapProxy () const
 
gsoap_resqml2_0_1::_resqml2__TruncatedIjkGridRepresentation * getSpecializedTruncatedGsoapProxy () const
 
gsoap_resqml2_0_1::resqml2__PointGeometry * getPointGeometry2_0_1 (const unsigned int &patchIndex) const
 
- Protected Member Functions inherited from RESQML2_NS::AbstractColumnLayerGridRepresentation
 AbstractColumnLayerGridRepresentation (COMMON_NS::EpcDocument *epcDoc, gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject, bool withTruncatedPillars)
 
 AbstractColumnLayerGridRepresentation (RESQML2_NS::AbstractFeatureInterpretation *interp, RESQML2_NS::AbstractLocal3dCrs *crs, bool withTruncatedPillars)
 
 AbstractColumnLayerGridRepresentation (gsoap_resqml2_0_1::resqml2__AbstractColumnLayerGridRepresentation *fromGsoap, bool withTruncatedPillars)
 
 AbstractColumnLayerGridRepresentation (gsoap_resqml2_0_1::resqml2__AbstractTruncatedColumnLayerGridRepresentation *fromGsoap, bool withTruncatedPillars)
 
virtual std::vector< epc::RelationshipgetAllEpcRelationships () const
 
void importRelationshipSetFromEpc (COMMON_NS::EpcDocument *epcDoc)
 
- Protected Member Functions inherited from RESQML2_NS::AbstractGridRepresentation
 AbstractGridRepresentation (gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject, bool withTruncatedPillars)
 
 AbstractGridRepresentation (RESQML2_NS::AbstractFeatureInterpretation *interp, RESQML2_NS::AbstractLocal3dCrs *crs, bool withTruncatedPillars)
 
 AbstractGridRepresentation (gsoap_resqml2_0_1::resqml2__AbstractGridRepresentation *fromGsoap, bool withTruncatedPillars)
 
void importRelationshipSetFromEpc (COMMON_NS::EpcDocument *epcDoc)
 
- Protected Member Functions inherited from RESQML2_NS::AbstractRepresentation
 AbstractRepresentation (gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
 
 AbstractRepresentation (class AbstractFeatureInterpretation *interp, class AbstractLocal3dCrs *crs)
 
 AbstractRepresentation (gsoap_resqml2_0_1::resqml2__AbstractRepresentation *fromGsoap)
 
void pushBackSeismicSupport (AbstractRepresentation *seismicSupport)
 
void setXmlInterpretation (class AbstractFeatureInterpretation *interp)
 
gsoap_resqml2_0_1::resqml2__PointGeometry * createPointGeometryPatch2_0_1 (const unsigned int &patchIndex, double *points, unsigned long long *numPoints, const unsigned int &numDimensionsInArray, COMMON_NS::AbstractHdfProxy *proxy)
 
std::string getHdfProxyUuidFromPointGeometryPatch (gsoap_resqml2_0_1::resqml2__PointGeometry *patch) const
 
gsoap_resqml2_0_1::resqml2__Seismic2dCoordinates * getSeismic2dCoordinates (const unsigned int &patchIndex) const
 
gsoap_resqml2_0_1::resqml2__Seismic3dCoordinates * getSeismic3dCoordinates (const unsigned int &patchIndex) const
 
- Protected Member Functions inherited from COMMON_NS::AbstractObject
 AbstractObject ()
 Indicate whether methods update the XML (gSoap) or only the C++ classes of the API.
 
 AbstractObject (gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
 
 AbstractObject (gsoap_resqml2_0_1::eml20__AbstractCitedDataObject *proxy)
 
 AbstractObject (gsoap_eml2_1::eml21__AbstractObject *proxy)
 
void initMandatoryMetadata ()
 
void setMetadata (const std::string &guid, const std::string &title, const std::string &editor, const time_t &creation, const std::string &originator, const std::string &description, const time_t &lastUpdate, const std::string &format, const std::string &descriptiveKeywords)
 
void cannotBePartial () const
 
void changeToPartialObject ()
 

Protected Attributes

std::vector< std::pair< unsigned int, std::vector< unsigned int > > > * splitInformation
 
BlockInformation * blockInformation
 
- Protected Attributes inherited from RESQML2_NS::AbstractGridRepresentation
bool withTruncatedPillars
 
std::vector< AbstractGridRepresentation * > childGridSet
 
std::vector< RESQML2_NS::GridConnectionSetRepresentation * > gridConnectionSetRepresentationSet
 
std::vector< RESQML2_0_1_NS::BlockedWellboreRepresentation * > blockedWellboreRepresentationSet
 
- Protected Attributes inherited from RESQML2_NS::AbstractRepresentation
class AbstractFeatureInterpretationinterpretation
 
COMMON_NS::AbstractHdfProxyhdfProxy
 
class AbstractLocal3dCrslocalCrs
 
std::vector< SubRepresentation * > subRepresentationSet
 
std::vector< AbstractProperty * > propertySet
 
std::vector< AbstractRepresentation * > seismicSupportedRepSet
 
std::vector< class RepresentationSetRepresentation * > representationSetRepresentationSet
 
- Protected Attributes inherited from COMMON_NS::AbstractObject
gsoap_resqml2_0_1::eml20__AbstractCitedDataObject * gsoapProxy2_0_1
 
gsoap_eml2_1::eml21__AbstractObject * gsoapProxy2_1
 
COMMON_NS::EpcDocumentepcDocument
 
std::vector< RESQML2_NS::Activity * > activitySet
 
bool updateXml
 

Additional Inherited Members

- Protected Types inherited from COMMON_NS::AbstractObject
enum  EmlVersion { TWO_DOT_ZERO = 0, TWO_DOT_ONE = 1 }
 
- Static Protected Member Functions inherited from COMMON_NS::AbstractObject
static void addActivityToResqmlObject (RESQML2_NS::Activity *activity, AbstractObject *resqmlObject)
 

Detailed Description

This class is semantically abstract. Technically speaking, it is not an abstract because it can be used in case of partial transfer where we don't know the geometry of the ijk grid.

Constructor & Destructor Documentation

RESQML2_0_1_NS::AbstractIjkGridRepresentation::AbstractIjkGridRepresentation ( gsoap_resqml2_0_1::_resqml2__IjkGridRepresentation *  fromGsoap)
inlineprotected

Creates an instance of this class by wrapping a gsoap instance.

AbstractIjkGridRepresentation::AbstractIjkGridRepresentation ( soap *  soapContext,
RESQML2_NS::AbstractLocal3dCrs crs,
const std::string &  guid,
const std::string &  title,
const unsigned int &  iCount,
const unsigned int &  jCount,
const unsigned int &  kCount,
bool  withTruncatedPillars = false 
)
Parameters
soapContextThe soap context where the underlying gsoap proxy is going to be created.
RESQML2_0_1_NS::AbstractIjkGridRepresentation::AbstractIjkGridRepresentation ( gsoap_resqml2_0_1::eml20__DataObjectReference *  partialObject,
bool  withTruncatedPillars = false 
)
inline

Only to be used in partial transfer context

virtual RESQML2_0_1_NS::AbstractIjkGridRepresentation::~AbstractIjkGridRepresentation ( )
inlinevirtual

Destructor does nothing since the memory is managed by the gsoap context.

Member Function Documentation

unsigned long AbstractIjkGridRepresentation::getBlockSplitCoordinateLineCount ( ) const

Get the split coordinate line count within a block. Block information must be loaded.

ULONG64 RESQML2_0_1_NS::AbstractIjkGridRepresentation::getCellCount ( ) const
inlinevirtual

Get the count of cells in the grid

Implements RESQML2_NS::AbstractGridRepresentation.

unsigned int RESQML2_0_1_NS::AbstractIjkGridRepresentation::getColumnCount ( ) const
inline

Get the count of columns in the grid

void AbstractIjkGridRepresentation::getColumnsOfSplitCoordinateLines ( unsigned int *  columnIndices,
bool  reverseIAxis = false,
bool  reverseJAxis = false 
) const

Get all the columns impacted by all the split coordinate lines.

Parameters
columnIndicesIt must be pre allocated.
void AbstractIjkGridRepresentation::getEnabledCells ( bool *  enabledCells,
bool  reverseIAxis = false,
bool  reverseJAxis = false,
bool  reverseKAxis = false 
) const

Get the information on the dead/invisible cells. The enabledCells array must have a count of getCellCount() and must follow the index ordering i then j then k. A zero value in enabledCells means that the corresponding cell is disabled. A non zero value means that the corresponding cell is enabled.

Parameters
enabledCellsIt must be preallocated with the size of the cell count in the ijk grid. It won't be disallocated.
unsigned int AbstractIjkGridRepresentation::getFaceCount ( ) const

Get the count of faces in the grid This method requires you have already loaded the split information.

unsigned int AbstractIjkGridRepresentation::getGlobalIndexCellFromIjkIndex ( const unsigned int &  iCell,
const unsigned int &  jCell,
const unsigned int &  kCell 
) const

Get the global index of a column from its I, J and K indices in the grid.

unsigned int AbstractIjkGridRepresentation::getGlobalIndexColumnFromIjIndex ( const unsigned int &  iColumn,
const unsigned int &  jColumn 
) const

Get the global index of a cell from its I and J indices in the grid.

unsigned int AbstractIjkGridRepresentation::getGlobalIndexPillarFromIjIndex ( const unsigned int &  iPillar,
const unsigned int &  jPillar 
) const

Get the global index of a pillar from its I and J indices in the grid.

unsigned int AbstractIjkGridRepresentation::getICellCount ( ) const

Get the I cell count of the grid

unsigned int AbstractIjkGridRepresentation::getIColumnFromGlobalIndex ( const unsigned int &  globalIndex) const

Get the I coordinate of a column from its global index in the grid.

unsigned int AbstractIjkGridRepresentation::getIPillarFromGlobalIndex ( const unsigned int &  globalIndex) const

Get the I coordinate of a pillar from its global index in the grid.

unsigned int AbstractIjkGridRepresentation::getJCellCount ( ) const

Get the J cell count of the grid

unsigned int AbstractIjkGridRepresentation::getJColumnFromGlobalIndex ( const unsigned int &  globalIndex) const

Get the J coordinate of a column from its global index in the grid.

unsigned int AbstractIjkGridRepresentation::getJPillarFromGlobalIndex ( const unsigned int &  globalIndex) const

Get the J coordinate of a pillar from its global index in the grid.

gsoap_resqml2_0_1::resqml2__KDirection AbstractIjkGridRepresentation::getKDirection ( ) const
virtual

Get the K direction of the grid.

Implements RESQML2_NS::AbstractColumnLayerGridRepresentation.

unsigned int RESQML2_0_1_NS::AbstractIjkGridRepresentation::getPillarCount ( ) const
inline

Get the count of pillars in the grid

void AbstractIjkGridRepresentation::getPillarsOfSplitCoordinateLines ( unsigned int *  pillarIndices,
bool  reverseIAxis = false,
bool  reverseJAxis = false 
) const

Get all the pillars which correspond to all split coordinate lines. Order of the pillar correspond to order of the split coordinate lines.

Parameters
pillarIndicesIt must be pre allocated.
gsoap_resqml2_0_1::resqml2__PointGeometry * AbstractIjkGridRepresentation::getPointGeometry2_0_1 ( const unsigned int &  patchIndex) const
protectedvirtual

Get the point geometry of a specific patch of the representation.

Returns
nullptr if there is no point geometry for this particular patch otherwise the found point geometry.

Reimplemented from RESQML2_NS::AbstractRepresentation.

unsigned long AbstractIjkGridRepresentation::getSplitCoordinateLineCount ( ) const

Get the split coordinate line count

ULONG64 AbstractIjkGridRepresentation::getSplitNodeCount ( ) const

Get the split coordinate line count

std::string AbstractIjkGridRepresentation::getXmlTag ( ) const
virtual

Get the XML tag for the XML serialization of this instance

Implements COMMON_NS::AbstractObject.

ULONG64 AbstractIjkGridRepresentation::getXyzPointCountOfBlock ( ) const

Get the xyz point count of the current block. Block information must be loaded.

ULONG64 AbstractIjkGridRepresentation::getXyzPointCountOfKInterfaceOfPatch ( const unsigned int &  patchIndex) const

Get the xyz point count in each K Layer interface in a given patch.

Parameters
patchIndexThe index of the patch. It is generally zero.
virtual ULONG64 RESQML2_0_1_NS::AbstractIjkGridRepresentation::getXyzPointCountOfPatch ( const unsigned int &  patchIndex) const
inlinevirtual
ULONG64 AbstractIjkGridRepresentation::getXyzPointIndexFromCellCorner ( const unsigned int &  iCell,
const unsigned int &  jCell,
const unsigned int &  kCell,
const unsigned int &  corner 
) const

Get the XYZ point index in the HDF dataset from the corner of a cell. This method requires your have already loaded the split information.

Parameters
iCellThe I index of the cell
jCellThe J index of the cell
kCellThe K index of the cell
corner0 for (0,0,0) 1 for (1,0,0) 2 for (1,1,0) 3 for (0,1,0) 4 for (0,0,1) 5 for (1,0,1) 6 for (1,1,1) 7 for (0,1,1)
Returns
index of the XYZ point corresponding to the iCell jCell and corner parameters in the HDF dataset. Keep in mind to multiply the result by 3 to get the X index since the points are triplet of values.
void AbstractIjkGridRepresentation::getXyzPointOfBlockFromCellCorner ( const unsigned int &  iCell,
const unsigned int &  jCell,
const unsigned int &  kCell,
const unsigned int &  corner,
const double *  xyzPoints,
double &  x,
double &  y,
double &  z 
) const

Gets the x, y and z values of the corner of a cell of a given block. This method requires your have already both loaded the block information and get the geometry of the block thanks to getXyzPointsOfBlockOfPatch.

Parameters
iCellThe I index of the cell.
jCellThe J index of the cell.
kCellThe K index of the cell.
corner0 for (0,0,0) 1 for (1,0,0) 2 for (1,1,0) 3 for (0,1,0) 4 for (0,0,1) 5 for (1,0,1) 6 for (1,1,1) 7 for (0,1,1)
xyzPointsThe XYZ points of the block (resulting from a call to getXyzPointsOfBlockOfPatch).
x(output parameter) the x value of the corner we look for.
y(output parameter) the y value of the corner we look for.
z(output parameter) the z value of the corner we look for.
void AbstractIjkGridRepresentation::getXyzPointsOfKInterfaceOfPatch ( const unsigned int &  kInterface,
const unsigned int &  patchIndex,
double *  xyzPoints 
)

Get all the XYZ points of a particular K interface of a particular patch of this representation. XYZ points are given in the local CRS. This method is not const since it is optimized in order not to recompute the pillar information but to get it as input.

Parameters
kInterfaceThe K interface index starting from zero to kCellCount.
patchIndexThe index of the patch. It is generally zero.
xyzPointsA linearized 2d array where the first (quickest) dimension is coordinate dimension (XYZ) and second dimension is vertex dimension. It must be pre allocated with a size of 3*getXyzPointCountOfKInterfaceOfPatch.
virtual void RESQML2_0_1_NS::AbstractIjkGridRepresentation::getXyzPointsOfPatch ( const unsigned int &  patchIndex,
double *  xyzPoints 
) const
inlinevirtual

Get all the XYZ points of a particular patch of this representation. XYZ points are given in the local CRS.

Parameters
xyzPointsA linearized 2d array where the first (quickest) dimension is coordinate dimension (XYZ) and second dimension is vertex dimension. It must be pre allocated.

Implements RESQML2_NS::AbstractRepresentation.

Reimplemented in RESQML2_0_1_NS::IjkGridParametricRepresentation, RESQML2_0_1_NS::IjkGridExplicitRepresentation, RESQML2_0_1_NS::IjkGridLatticeRepresentation, and RESQML2_0_1_NS::IjkGridNoGeometryRepresentation.

bool AbstractIjkGridRepresentation::hasEnabledCellInformation ( ) const

Indicates if this grid contains information on enabled and disabled information.

bool AbstractIjkGridRepresentation::isColumnEdgeSplitted ( const unsigned int &  iColumn,
const unsigned int &  jColumn,
const unsigned int &  edge 
) const

Check either a column edge is splitted or not. This method requires you have already loaded the split information.

Parameters
iColumnThe I index of the column
jColumnThe J index of the column
edge0 for edge from i to i+1, lower j connection 1 for edge from j to j+1, upper i connection 2 for edge from i+1 to i, upper j connection 3 for edge from j+1 to j, lower i connection
void AbstractIjkGridRepresentation::loadBlockInformation ( const unsigned int &  iInterfaceStart,
const unsigned int &  iInterfaceEnd,
const unsigned int &  jInterfaceStart,
const unsigned int &  jInterfaceEnd,
const unsigned int &  kInterfaceStart,
const unsigned int &  kInterfaceEnd 
)

Load the block information into memory to speed up the processes and make easier block geometry handling for the user.

Parameters
iCellStartThe starting I cell index of the block taken from zero to iCellCount - 1.
iCellEndThe ending I cell index of the block taken from zero to iCellCount - 1.
jCellStartThe starting J cell index of the block taken from zero to jCellCount - 1.
jCellEndThe ending J cell index of the block taken from zero to jCellCount - 1.
kCellStartThe starting K cell index of the block taken from zero to kCellCount - 1.
kCellEndThe ending K cell index of the block taken from zero to kCellCount - 1.
void AbstractIjkGridRepresentation::loadSplitInformation ( )

Load the split information into memory to speed up processes. Be aware that you must unload by yourself this memory.

void AbstractIjkGridRepresentation::setEnabledCells ( unsigned char *  enabledCells)

Set the information on the dead/invisible cells. The geometry of the grid must have been defined yet. The enabledCells array must have a count of getCellCount() and must follow the index ordering i then j then k. A zero value in enabledCells means that the corresponding cell is disabled. A non zero value means that the corresponding cell is enabled.

void AbstractIjkGridRepresentation::setICellCount ( const unsigned int &  iCount)

Set the I cell count of the grid

void AbstractIjkGridRepresentation::setJCellCount ( const unsigned int &  jCount)

Set the J cell count of the grid

void AbstractIjkGridRepresentation::unloadSplitInformation ( )

Unload the split information from memory.


The documentation for this class was generated from the following files: