My Project
|
Public Member Functions | |
virtual | ~GridConnectionSetRepresentation () |
virtual std::string | getXmlTag () const |
virtual std::string | getHdfProxyUuid () const =0 |
virtual ULONG64 | getCellIndexPairCount () const =0 |
virtual ULONG64 | getCellIndexPairs (ULONG64 *cellIndexPairs) const =0 |
virtual unsigned int | getCellIndexPairCountFromInterpretationIndex (const unsigned int &interpretationIndex) const =0 |
virtual bool | isAssociatedToInterpretations () const =0 |
virtual void | getInterpretationIndexCumulativeCount (unsigned int *cumulativeCount) const =0 |
virtual void | getInterpretationIndices (unsigned int *interpretationIndices) const =0 |
virtual LONG64 | getInterpretationIndexNullValue () const =0 |
virtual void | getGridConnectionSetInformationFromInterpretationIndex (ULONG64 *cellIndexPairs, ULONG64 *gridIndexPairs, int *localFaceIndexPairs, const unsigned int &interpretationIndex) const =0 |
virtual std::string | getInterpretationUuidFromIndex (const unsigned int &interpretationIndex) const =0 |
class AbstractFeatureInterpretation * | getInterpretationFromIndex (const unsigned int &interpretationIndex) const |
virtual unsigned int | getInterpretationCount () const =0 |
virtual bool | hasLocalFacePerCell () const =0 |
virtual void | getLocalFacePerCellIndexPairs (int *localFacePerCellIndexPairs) const =0 |
virtual bool | isBasedOnMultiGrids () const =0 |
virtual void | getGridIndexPairs (ULONG64 *gridIndexPairs) const =0 |
virtual void | setCellIndexPairsUsingExistingDataset (const ULONG64 &cellIndexPairCount, const std::string &cellIndexPair, const ULONG64 &nullValue, resqml2::AbstractHdfProxy *proxy, const std::string &gridIndexPair="")=0 |
void | setCellIndexPairs (const ULONG64 &cellIndexPairCount, ULONG64 *cellIndexPair, const ULONG64 &nullValue, resqml2::AbstractHdfProxy *proxy, ULONG64 *gridIndexPair=nullptr) |
virtual void | setLocalFacePerCellIndexPairs (const ULONG64 &cellIndexPairCount, int *localFacePerCellIndexPair, resqml2::AbstractHdfProxy *proxy)=0 |
virtual void | setConnectionInterpretationIndices (unsigned int *interpretationIndices, const unsigned int &interpretationIndiceCount, const ULONG64 &nullValue, resqml2::AbstractHdfProxy *proxy)=0 |
void | pushBackInterpretation (class AbstractFeatureInterpretation *interp) |
void | pushBackSupportingGridRepresentation (class AbstractGridRepresentation *supportingGridRep) |
virtual unsigned int | getSupportingGridRepresentationCount () const =0 |
class AbstractGridRepresentation * | getSupportingGridRepresentation (unsigned int index) const |
virtual std::string | getSupportingGridRepresentationUuid (unsigned int index) const =0 |
virtual std::string | getSupportingGridRepresentationTitle (unsigned int index) const =0 |
virtual std::string | getSupportingGridRepresentationContentType (unsigned int index) const =0 |
ULONG64 | getXyzPointCountOfPatch (const unsigned int &patchIndex) const |
void | getXyzPointsOfPatch (const unsigned int &patchIndex, double *xyzPoints) const |
unsigned int | getPatchCount () const |
Public Member Functions inherited from resqml2::AbstractRepresentation | |
virtual | ~AbstractRepresentation () |
class AbstractLocal3dCrs * | getLocalCrs () const |
virtual std::string | getLocalCrsUuid () const |
class AbstractHdfProxy * | getHdfProxy () const |
const std::vector< class AbstractProperty * > & | getPropertySet () const |
std::vector< class AbstractValuesProperty * > | getValuesPropertySet () const |
unsigned int | getValuesPropertyCount () const |
class AbstractValuesProperty * | getValuesProperty (const unsigned int &index) const |
void | setInterpretation (class AbstractFeatureInterpretation *interp) |
class AbstractFeatureInterpretation * | getInterpretation () const |
std::string | getInterpretationUuid () const |
std::string | getInterpretationContentType () const |
void | addSubRepresentation (SubRepresentation *subRep) |
std::vector< SubRepresentation * > | getSubRepresentationSet () const |
unsigned int | getSubRepresentationCount () const |
SubRepresentation * | getSubRepresentation (const unsigned int &index) const |
std::vector< SubRepresentation * > | getFaultSubRepresentationSet () const |
unsigned int | getFaultSubRepresentationCount () const |
SubRepresentation * | getFaultSubRepresentation (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 |
AbstractRepresentation * | getSeismicSupportOfPatch (const unsigned int &patchIndex) |
void | pushBackIntoRepresentationSet (class RepresentationSetRepresentation *repSet, bool xml=true) |
void | setHdfProxy (resqml2::AbstractHdfProxy *proxy) |
void | addSeismic3dCoordinatesToPatch (const unsigned int patchIndex, double *inlines, double *crosslines, const unsigned int &pointCount, resqml2::AbstractRepresentation *seismicSupport, resqml2::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, resqml2::AbstractHdfProxy *proxy) |
void | getSeismicLineAbscissaOfPointsOfPatch (const unsigned int &patchIndex, double *values) |
Public Member Functions inherited from resqml2::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::eml__AbstractCitedDataObject * | getGsoapProxy () const |
soap * | getGsoapContext () const |
int | getGsoapType () const |
gsoap_resqml2_0_1::eml__DataObjectReference * | newResqmlReference () const |
gsoap_resqml2_0_1::resqml2__ContactElementReference * | newResqmlContactElementReference () const |
common::EpcDocument * | getEpcDocument () const |
virtual std::string | getXmlNamespace () const |
virtual std::string | getResqmlVersion () const |
std::string | getContentType () const |
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 |
void | addOrSetExtraMetadata (const std::string &key, const std::string &value) |
std::tr1::unordered_map< std::string, std::string > | getExtraMetadataSet () const |
std::string | getExtraMetadata (const std::string &key) |
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 = "GridConnectionSetRepresentation" |
Static Public Attributes inherited from resqml2::AbstractRepresentation | |
static const char * | XML_TAG = "AbstractRepresentation" |
Protected Member Functions | |
GridConnectionSetRepresentation (gsoap_resqml2_0_1::eml__DataObjectReference *partialObject) | |
GridConnectionSetRepresentation (class AbstractFeatureInterpretation *interp) | |
GridConnectionSetRepresentation (gsoap_resqml2_0_1::_resqml2__GridConnectionSetRepresentation *fromGsoap) | |
virtual void | pushBackXmlInterpretation (class AbstractFeatureInterpretation *interp)=0 |
virtual void | pushBackXmlSupportingGridRepresentation (class AbstractGridRepresentation *supportingGridRep)=0 |
Protected Member Functions inherited from resqml2::AbstractRepresentation | |
AbstractRepresentation (common::EpcDocument *epcDoc, gsoap_resqml2_0_1::eml__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) |
virtual gsoap_resqml2_0_1::resqml2__PointGeometry * | getPointGeometry2_0_1 (const unsigned int &patchIndex) const |
gsoap_resqml2_0_1::resqml2__PointGeometry * | createPointGeometryPatch2_0_1 (const unsigned int &patchIndex, double *points, unsigned long long *numPoints, const unsigned int &numDimensionsInArray, resqml2::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 resqml2::AbstractObject | |
AbstractObject (common::EpcDocument *epcDoc, gsoap_resqml2_0_1::eml__DataObjectReference *partialObject) | |
Indicate whether methods update the XML (gSoap) or only the C++ classes of the API. More... | |
AbstractObject (gsoap_resqml2_0_1::eml__AbstractCitedDataObject *proxy=nullptr) | |
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) |
Additional Inherited Members | |
Public Types inherited from resqml2::AbstractRepresentation | |
enum | indexableElement { NODE = 0, EDGE = 1, FACE = 2, VOLUME = 3, PILLAR = 4 } |
Static Protected Member Functions inherited from resqml2::AbstractObject | |
static void | addActivityToResqmlObject (resqml2::Activity *activity, AbstractObject *resqmlObject) |
Protected Attributes inherited from resqml2::AbstractRepresentation | |
class AbstractFeatureInterpretation * | interpretation |
resqml2::AbstractHdfProxy * | hdfProxy |
class AbstractLocal3dCrs * | localCrs |
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 resqml2::AbstractObject | |
gsoap_resqml2_0_1::eml__AbstractCitedDataObject * | gsoapProxy2_0_1 |
common::EpcDocument * | epcDocument |
std::vector< resqml2::Activity * > | activitySet |
bool | updateXml |
|
inlineprotected |
Only to be used in partial transfer context
|
inlineprotected |
Creates an instance of this class in a gsoap context.
|
inlineprotected |
Creates an instance of this class by wrapping a gsoap instance.
|
inlinevirtual |
Destructor does nothing since the memory is managed by the gsoap context.
Reimplemented in resqml2_0_1::GridConnectionSetRepresentation.
|
pure virtual |
Get the cell index pair count of this grid connection representation
Implemented in resqml2_0_1::GridConnectionSetRepresentation.
|
pure virtual |
Get the cell index pairs count which correspond to a particular interpretation.
interpretationIndex | The index of the interpretation in the collection of feature interpretation of this grid connection set. |
Implemented in resqml2_0_1::GridConnectionSetRepresentation.
|
pure virtual |
Get the cell index pair count of this grid connection representation
Implemented in resqml2_0_1::GridConnectionSetRepresentation.
|
pure virtual |
Get the cell index pairs, the grid index pairs (optional) and the local face pairs (optional) which correspond to a particular interpretation.
cellIndexPairs | Mandatory. Must be allocated with getCellIndexPairCountFromIndex first. |
gridIndexPairs | Optional (put null if you don't want it). Must be allocated with getCellIndexPairCountFromIndex first. |
localFaceIndexPairs | Optional (put null if you don't want it). Must be allocated with getCellIndexPairCountFromIndex first. |
interpretationIndex | The index of the interpretation in the collection of feature interpretation of this grid connection set. |
Implemented in resqml2_0_1::GridConnectionSetRepresentation.
|
pure virtual |
Get the grid index pairs of this grid connection representation The count of gridIndexPairs must be getCellIndexPairCount()*2.
Implemented in resqml2_0_1::GridConnectionSetRepresentation.
|
pure virtual |
Get the count of interpretations in this grid connection set.
Implemented in resqml2_0_1::GridConnectionSetRepresentation.
AbstractFeatureInterpretation * GridConnectionSetRepresentation::getInterpretationFromIndex | ( | const unsigned int & | interpretationIndex | ) | const |
Get a particular interpretation of this grid connection set.
interpretationIndex | The index of the interpretation in the collection of feature interpretation of this grid connection set. |
|
pure virtual |
Get the interpretation index cumulative count of this grid connection representation The count of cumulativeCount must be getCellIndexPairCount().
Implemented in resqml2_0_1::GridConnectionSetRepresentation.
|
pure virtual |
Returns the null value for interpretation index.
Implemented in resqml2_0_1::GridConnectionSetRepresentation.
|
pure virtual |
Get the interpretation indices of this grid connection representation The count of interpretationIndices is the last value of the array returning by getInterpretationIndexCumulativeCount.
Implemented in resqml2_0_1::GridConnectionSetRepresentation.
|
pure virtual |
Get the UUID of a particular interpretation of this grid connection set.
interpretationIndex | The index of the interpretation in the collection of feature interpretation of this grid connection set. |
Implemented in resqml2_0_1::GridConnectionSetRepresentation.
|
pure virtual |
Get the local face cell index pairs of this grid connection representation The count of localFacePerCellIndexPairs must be getCellIndexPairCount()*2.
Implemented in resqml2_0_1::GridConnectionSetRepresentation.
|
inlinevirtual |
Always return one since this representation does not contain patches.
Implements resqml2::AbstractRepresentation.
AbstractGridRepresentation * GridConnectionSetRepresentation::getSupportingGridRepresentation | ( | unsigned int | index | ) | const |
Get the supporting grid representation located at a specific index of this grid connection representation.
|
pure virtual |
Get the one of the supporting grid representation content type of this grid connection representation.
Implemented in resqml2_0_1::GridConnectionSetRepresentation.
|
pure virtual |
Get the count of the supporting grid representations of this grid connection representation.
Implemented in resqml2_0_1::GridConnectionSetRepresentation.
|
pure virtual |
Get the one of the supporting grid representation title of this grid connection representation.
Implemented in resqml2_0_1::GridConnectionSetRepresentation.
|
pure virtual |
Get the one of the supporting grid representation uuid of this grid connection representation.
Implemented in resqml2_0_1::GridConnectionSetRepresentation.
|
virtual |
Get the XML tag for the XML serialization of this instance
Implements resqml2::AbstractObject.
|
virtual |
Get the xyz point count in a given patch.
Implements resqml2::AbstractRepresentation.
|
virtual |
Get all the XYZ points of a particular patch of this representation. XYZ points are given in the local CRS.
xyzPoints | A 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.
|
pure virtual |
Indicates if the grid connection set representation contains information on the connected faces of the two cells.
Implemented in resqml2_0_1::GridConnectionSetRepresentation.
|
pure virtual |
Indicates wether the cell connection are associated to interpretation or not.
Implemented in resqml2_0_1::GridConnectionSetRepresentation.
|
pure virtual |
Indicates if the grid connection set representation is based on several grids.
Implemented in resqml2_0_1::GridConnectionSetRepresentation.
void GridConnectionSetRepresentation::pushBackInterpretation | ( | class AbstractFeatureInterpretation * | interp | ) |
Pushes back an interpretation which can be mapped with some connections.
interp | The interpration to push back. |
void GridConnectionSetRepresentation::pushBackSupportingGridRepresentation | ( | class AbstractGridRepresentation * | supportingGridRep | ) |
Pushes back a grid representation which is one of the support of this representation. And push back this representation as a grid connection information of the grid representation as well.
void GridConnectionSetRepresentation::setCellIndexPairs | ( | const ULONG64 & | cellIndexPairCount, |
ULONG64 * | cellIndexPair, | ||
const ULONG64 & | nullValue, | ||
resqml2::AbstractHdfProxy * | proxy, | ||
ULONG64 * | gridIndexPair = nullptr |
||
) |
Set the cell index pairs of the grid connections representation
cellIndexPairCount | The count of cell index pair. It is half of all the stored numerical values. |
cellIndexPair | All the cell index pair in a 1d Array where the cell indices go faster than the pair. |
nullValue | The integer null value used in the hdf dataset for null cell and potentially null grid. |
proxy | The HDF proxy where the numerical values (cell indices) are stored. |
gridIndexPair | All the grid index pair in a 1d Array where the grid indices go faster than the pair. The grid at an index must correspond to the cell at the same index in the cellIndexPair array. |
|
pure virtual |
Set the cell index pairs of the grid connections representation using some exisiting hdf5 datasets.
cellIndexPairCount | The count of cell index pair. It is half of all the stored numerical values. |
cellIndexPair | The HDF dataset path where we can find all the cell index pair in a 1d Array where the cell indices go faster than the pair. |
nullValue | The integer null value used in the hdf dataset for null cell and potentially null grid. |
proxy | The HDF proxy where the numerical values (cell indices) are stored. |
gridIndexPair | The HDF dataset path where we can find all the grid index pair in a 1d Array where the grid indices go faster than the pair. The grid at an index must correspond to the cell at the same index in the cellIndexPair array. |
Implemented in resqml2_0_1::GridConnectionSetRepresentation.
|
pure virtual |
For each connection in the grid connection set representation, allow to map zero or one feature interpretation. TODO: Resqml allows to map with more than one feature interpretation.
interpretationIndices | For each connection, the index of the corresponding interpretation in the interpretation set of this grid connection. The count of this array is given by the next parameter. |
interpretationIndiceCount | The count of interpretation indices. |
nullValue | The null value must be used as the corresponding interpretation index for each connection which are not associated to any interpretation. |
proxy | The Hdf proxy where the numerical values will be stored. |
Implemented in resqml2_0_1::GridConnectionSetRepresentation.
|
pure virtual |
Optional 2 x #Connections array of local face-per-cell indices for (Cell1,Cell2) for each connection. Local face-per-cell indices are used because global face indices need not have been defined. If no face-per-cell definition occurs as part of the grid representation, e.g., for a block-centered grid, then this array need not appear. Null value = -1 by dcoumentation
Implemented in resqml2_0_1::GridConnectionSetRepresentation.