15 #include "CeeUnstructGrid/Base.h" 16 #include "CeeCore/PtrRef.h" 17 #include "CeeUnstructGrid/Error.h" 18 #include "CeeUnstructGrid/DataResultGroup.h" 19 #include "CeeUnstructGrid/DataSourceDirectory.h" 35 virtual bool isSupportedFileFormat(
const Str& filename) = 0;
37 virtual bool open(
const Str& filename,
Error* error) = 0;
38 virtual void close() = 0;
40 virtual size_t geometryCount()
const = 0;
42 virtual bool hasNewGeometryForEachState(
size_t globalGeometryIndex)
const;
44 virtual bool readGeometry(
int stateId,
size_t geometryIndex,
DataGeometry* geometry,
Error* error) = 0;
45 virtual bool readScalarResult(
int stateId,
size_t geometryIndex,
int resultId,
DataResultScalar* scalarResult,
Error* error);
46 virtual bool readVectorResult(
int stateId,
size_t geometryIndex,
int resultId,
DataResultVector* vectorResult,
Error* error);
47 virtual bool readDisplacementResult(
int stateId,
size_t geometryIndex,
int resultId,
DataResultDisplacement* displacementResult,
Error* error);
48 virtual bool readSymmetricTensorResult(
int stateId,
size_t geometryIndex,
int resultId,
DataResultSymmetricTensor* symmetricTensorResult,
Error* error);
Symmetric tensor results for all parts in the geometry.
Definition: DataResultSymmetricTensor.h:29
Namespace cee contains all functionality and structures under the Core component. ...
Definition: AppComponent.cpp:26
A general unicode based string class.
Definition: Str.h:28
Scalar result for all parts in the geometry.
Definition: DataResultScalar.h:28
The DataReader is an easy and efficient way to get data into the UnstructGridModel, leveraging the data management support of UnstructGridModel through the DataSourceReader.
Definition: DataReader.h:29
Base class for all reference counted objects with built-in support for intrusive reference counting...
Definition: RefCountedObject.h:34
Metadata directory for a data source.
Definition: DataSourceDirectory.h:40
Displacements results for all parts in the geometry.
Definition: DataResultDisplacement.h:30
Error object for simple error management
Definition: Error.h:27
The geometry of the model for a certain state.
Definition: DataGeometry.h:28
Vector results for all parts in the geometry.
Definition: DataResultVector.h:29