mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#809 Created Formation Names project items.
#819 Added delete command to Formation names #808 Added an import Formation Names command
This commit is contained in:
@@ -68,6 +68,7 @@
|
||||
#include "RimWellLogPlotCollection.h"
|
||||
#include "RimWellPath.h"
|
||||
#include "RimWellPathCollection.h"
|
||||
#include "RimFormationNamesCollection.h"
|
||||
|
||||
#include "RiuMainPlotWindow.h"
|
||||
#include "RiuMainWindow.h"
|
||||
@@ -385,6 +386,18 @@ bool RiaApplication::loadProject(const QString& projectFileName, ProjectLoadActi
|
||||
}
|
||||
}
|
||||
|
||||
// Load the formation names
|
||||
|
||||
for(RimOilField* oilField: m_project->oilFields)
|
||||
{
|
||||
if (oilField == NULL) continue;
|
||||
if(oilField->formationNamesCollection() != NULL)
|
||||
{
|
||||
oilField->formationNamesCollection()->readAllFormationNames();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Add well paths for each oil field
|
||||
for (size_t oilFieldIdx = 0; oilFieldIdx < m_project->oilFields().size(); oilFieldIdx++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user