mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#6169 Element property table: invalidate Geo Mech results on changes in table.
This commit is contained in:
@@ -101,3 +101,11 @@ std::vector<RigFemResultAddress> RigFemPartResults::loadedResults() const
|
||||
}
|
||||
return currentResults;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RigFemPartResults::deleteAllScalarResults()
|
||||
{
|
||||
resultSets.clear();
|
||||
}
|
||||
|
||||
@@ -42,6 +42,7 @@ public:
|
||||
RigFemScalarResultFrames* createScalarResult( const RigFemResultAddress& resVarAddr );
|
||||
RigFemScalarResultFrames* findScalarResult( const RigFemResultAddress& resVarAddr );
|
||||
void deleteScalarResult( const RigFemResultAddress& resVarAddr );
|
||||
void deleteAllScalarResults();
|
||||
std::vector<RigFemResultAddress> loadedResults() const;
|
||||
|
||||
private:
|
||||
|
||||
@@ -599,6 +599,17 @@ RigFemScalarResultFrames* RigFemPartResultsCollection::createScalarResult( int
|
||||
return m_femPartResults[partIndex]->createScalarResult( resVarAddr );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RigFemPartResultsCollection::deleteAllScalarResults()
|
||||
{
|
||||
for ( cvf::ref<RigFemPartResults> results : m_femPartResults )
|
||||
{
|
||||
results->deleteAllScalarResults();
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -147,6 +147,7 @@ public:
|
||||
|
||||
RigFemScalarResultFrames* findOrLoadScalarResult( int partIndex, const RigFemResultAddress& resVarAddr );
|
||||
RigFemScalarResultFrames* createScalarResult( int partIndex, const RigFemResultAddress& resVarAddr );
|
||||
void deleteAllScalarResults();
|
||||
|
||||
bool isValidBiotData( const std::vector<float>& biotData, size_t elementCount ) const;
|
||||
static std::vector<std::string> getStressComponentNames( bool includeShear = true );
|
||||
|
||||
Reference in New Issue
Block a user