mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Added nodal results reading to Femreader interface
Adjusted interface Started to add control code to fire reader and visualization generation
This commit is contained in:
@@ -37,11 +37,12 @@ public:
|
||||
RifGeoMechReaderInterface();
|
||||
virtual ~RifGeoMechReaderInterface();
|
||||
|
||||
virtual bool open(const std::string& fileName, RigGeoMechCaseData* geoMechCase) = 0;
|
||||
virtual bool readFemParts(const std::string& fileName, RigGeoMechCaseData* geoMechCase) = 0;
|
||||
virtual void close() = 0;
|
||||
|
||||
virtual std::vector<double> timeSteps() = 0;
|
||||
|
||||
virtual std::vector<double> timeSteps() = 0;
|
||||
virtual std::vector<std::string> scalarNodeResultNames() = 0;
|
||||
virtual void readScalarNodeResult(const std::string& resultName, int partIndex, int stepIndex, std::vector<float>* resultValues ) = 0;
|
||||
|
||||
private:
|
||||
};
|
||||
|
||||
@@ -112,7 +112,7 @@ void readOdbFile(const std::string& fileName, RigGeoMechCaseData* geoMechCase)
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RifOdbReader::open(const std::string& fileName, RigGeoMechCaseData* geoMechCase)
|
||||
bool RifOdbReader::readFemParts(const std::string& fileName, RigGeoMechCaseData* geoMechCase)
|
||||
{
|
||||
odb_initializeAPI();
|
||||
|
||||
|
||||
@@ -36,10 +36,12 @@ public:
|
||||
RifOdbReader();
|
||||
virtual ~RifOdbReader();
|
||||
|
||||
virtual bool open(const std::string& fileName, RigGeoMechCaseData* geoMechCase);
|
||||
virtual bool readFemParts(const std::string& fileName, RigGeoMechCaseData* geoMechCase);
|
||||
virtual void close();
|
||||
|
||||
virtual std::vector<double> timeSteps();
|
||||
virtual std::vector<std::string> scalarNodeResultNames() {return std::vector<std::string> ();};
|
||||
virtual void readScalarNodeResult(const std::string& resultName, int partIndex, int stepIndex, std::vector<float>* resultValues ) {};
|
||||
|
||||
private:
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user