My Project
Public Types | Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
resqml2_0_1::AbstractIjkGridRepresentation Class Reference

#include <AbstractIjkGridRepresentation.h>

Inheritance diagram for resqml2_0_1::AbstractIjkGridRepresentation:
resqml2::AbstractColumnLayerGridRepresentation resqml2::AbstractGridRepresentation resqml2::AbstractRepresentation common::AbstractObject resqml2_0_1::IjkGridExplicitRepresentation resqml2_0_1::IjkGridLatticeRepresentation resqml2_0_1::IjkGridNoGeometryRepresentation resqml2_0_1::IjkGridParametricRepresentation

Public Types

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

Public Member Functions

 AbstractIjkGridRepresentation (soap *soapContext, resqml2::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::AbstractFeatureInterpretation *interp, resqml2::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
 
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 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
 
ULONG64 getXyzPointCountOfKInterfaceOfPatch (const unsigned int &patchIndex) 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)
 
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::AbstractColumnLayerGridRepresentation
virtual ~AbstractColumnLayerGridRepresentation ()
 
unsigned int getKCellCount () const
 
void setKCellCount (const unsigned int &kCount)
 
void setIntervalAssociationWithStratigraphicOrganizationInterpretation (ULONG64 *stratiUnitIndices, const ULONG64 &nullValue, resqml2_0_1::AbstractStratigraphicOrganizationInterpretation *stratiOrgInterp)
 
gsoap_resqml2_0_1::eml20__DataObjectReference * getStratigraphicOrganizationInterpretationDor () const
 
bool hasIntervalStratigraphicUnitIndices () const
 
ULONG64 getIntervalStratigraphicUnitIndices (ULONG64 *stratiUnitIndices)
 
- Public Member Functions inherited from resqml2::AbstractGridRepresentation
virtual ~AbstractGridRepresentation ()
 
std::vector< resqml2::GridConnectionSetRepresentation * > getGridConnectionSetRepresentationSet () const
 
unsigned int getGridConnectionSetRepresentationCount () const
 
resqml2::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::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::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::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::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::AbstractStratigraphicOrganizationInterpretation *stratiOrgInterp)
 
resqml2_0_1::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::AbstractRepresentation
virtual ~AbstractRepresentation ()
 
class AbstractLocal3dCrsgetLocalCrs () const
 
virtual gsoap_resqml2_0_1::eml20__DataObjectReference * getLocalCrsDor () const
 
std::string getLocalCrsUuid () const
 
common::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)
 
void pushBackIntoRepresentationSet (class RepresentationSetRepresentation *repSet, bool xml=true)
 
ULONG64 getRepresentationSetRepresentationCount () const
 
RepresentationSetRepresentationgetRepresentationSetRepresentation (const ULONG64 &index) const
 
void setHdfProxy (common::AbstractHdfProxy *proxy)
 
void addSeismic3dCoordinatesToPatch (const unsigned int patchIndex, double *inlines, double *crosslines, const unsigned int &pointCount, resqml2::AbstractRepresentation *seismicSupport, common::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::AbstractRepresentation *seismicSupport)
 
void addSeismic2dCoordinatesToPatch (const unsigned int patchIndex, double *lineAbscissa, const unsigned int &pointCount, resqml2::AbstractRepresentation *seismicSupport, common::AbstractHdfProxy *proxy)
 
void getSeismicLineAbscissaOfPointsOfPatch (const unsigned int &patchIndex, double *values)
 
- Public Member Functions inherited from common::AbstractObject
bool isPartial () const
 
std::string getUuid () const
 
std::string getTitle () const
 
std::string getEditor () const
 
time_t getCreation () const
 
std::string getOriginator () const
 
std::string getDescription () const
 
time_t getLastUpdate () const
 
std::string getFormat () const
 
std::string getDescriptiveKeywords () const
 
void setTitle (const std::string &title)
 
void setEditor (const std::string &editor)
 
void setCreation (const time_t &creation)
 
void setOriginator (const std::string &originator)
 
void setDescription (const std::string &description)
 
void setLastUpdate (const time_t &lastUpdate)
 
void setFormat (const std::string &format)
 
void setDescriptiveKeywords (const std::string &descriptiveKeywords)
 
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::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::Activity * > & getActivitySet () const
 
unsigned int getActivityCount () const
 
resqml2::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::AbstractGridRepresentation
static const char * XML_TAG = "AbstractGridRepresentation"
 
- Static Public Attributes inherited from resqml2::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::AbstractColumnLayerGridRepresentation
 AbstractColumnLayerGridRepresentation (common::EpcDocument *epcDoc, gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject, bool withTruncatedPillars)
 
 AbstractColumnLayerGridRepresentation (resqml2::AbstractFeatureInterpretation *interp, resqml2::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::EpcDocument *epcDoc)
 
- Protected Member Functions inherited from resqml2::AbstractGridRepresentation
 AbstractGridRepresentation (gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject, bool withTruncatedPillars)
 
 AbstractGridRepresentation (resqml2::AbstractFeatureInterpretation *interp, resqml2::AbstractLocal3dCrs *crs, bool withTruncatedPillars)
 
 AbstractGridRepresentation (gsoap_resqml2_0_1::resqml2__AbstractGridRepresentation *fromGsoap, bool withTruncatedPillars)
 
void importRelationshipSetFromEpc (common::EpcDocument *epcDoc)
 
- Protected Member Functions inherited from resqml2::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::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::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
 
- Protected Attributes inherited from resqml2::AbstractGridRepresentation
bool withTruncatedPillars
 
std::vector< AbstractGridRepresentation * > childGridSet
 
std::vector< resqml2::GridConnectionSetRepresentation * > gridConnectionSetRepresentationSet
 
std::vector< resqml2_0_1::BlockedWellboreRepresentation * > blockedWellboreRepresentationSet
 
- Protected Attributes inherited from resqml2::AbstractRepresentation
class AbstractFeatureInterpretationinterpretation
 
common::AbstractHdfProxyhdfProxy
 
class AbstractLocal3dCrslocalCrs
 
std::vector< AbstractRepresentation * > seismicSupportSet
 
std::vector< SubRepresentation * > subRepresentationSet
 
std::vector< AbstractProperty * > propertySet
 
std::vector< AbstractRepresentation * > seismicSupportedRepSet
 
std::vector< class RepresentationSetRepresentation * > representationSetRepresentationSet
 
- Protected Attributes inherited from common::AbstractObject
gsoap_resqml2_0_1::eml20__AbstractCitedDataObject * gsoapProxy2_0_1
 
gsoap_eml2_1::eml21__AbstractObject * gsoapProxy2_1
 
common::EpcDocumentepcDocument
 
std::vector< resqml2::Activity * > activitySet
 
bool updateXml
 

Additional Inherited Members

- Protected Types inherited from common::AbstractObject
enum  EmlVersion { TWO_DOT_ZERO = 0, TWO_DOT_ONE = 1 }
 
- Static Protected Member Functions inherited from common::AbstractObject
static void addActivityToResqmlObject (resqml2::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::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::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::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::AbstractIjkGridRepresentation::~AbstractIjkGridRepresentation ( )
inlinevirtual

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

Member Function Documentation

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

Get the count of cells in the grid

Implements resqml2::AbstractGridRepresentation.

unsigned int resqml2_0_1::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::AbstractColumnLayerGridRepresentation.

unsigned int resqml2_0_1::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::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::AbstractObject.

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

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

virtual ULONG64 resqml2_0_1::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
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::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::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::AbstractRepresentation.

Reimplemented in resqml2_0_1::IjkGridParametricRepresentation, resqml2_0_1::IjkGridExplicitRepresentation, resqml2_0_1::IjkGridLatticeRepresentation, and resqml2_0_1::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::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: