mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2369 Elm Props: Close selected files
This commit is contained in:
@@ -132,6 +132,17 @@ void RigFemPartResultsCollection::addElementPropertyFiles(const std::vector<QStr
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RigFemPartResultsCollection::removeElementPropertyFiles(const std::vector<QString>& filenames)
|
||||
{
|
||||
for (const QString filename : filenames)
|
||||
{
|
||||
m_elementPropertyReader->removeFile(filename.toStdString());
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -52,7 +52,8 @@ public:
|
||||
void setActiveFormationNames(RigFormationNames* activeFormationNames);
|
||||
RigFormationNames* activeFormationNames();
|
||||
|
||||
void addElementPropertyFiles(const std::vector<QString>& filename);
|
||||
void addElementPropertyFiles(const std::vector<QString>& filenames);
|
||||
void removeElementPropertyFiles(const std::vector<QString>& filenames);
|
||||
|
||||
void setCalculationParameters(double cohesion, double frictionAngleRad);
|
||||
double parameterCohesion() const { return m_cohesion;}
|
||||
|
||||
Reference in New Issue
Block a user