mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Read multiple FAULTS keywords
A list of files are cached in the project file. When reading faults from these files, make sure multiple FAULTS keywords in the same file is parsed.
This commit is contained in:
@@ -75,6 +75,13 @@ void CellRange::setRange(const cvf::Vec3st& min, const cvf::Vec3st& max)
|
||||
m_min = min;
|
||||
m_max = max;
|
||||
|
||||
CVF_ASSERT(m_min.x() != cvf::UNDEFINED_SIZE_T);
|
||||
CVF_ASSERT(m_min.y() != cvf::UNDEFINED_SIZE_T);
|
||||
CVF_ASSERT(m_min.z() != cvf::UNDEFINED_SIZE_T);
|
||||
CVF_ASSERT(m_max.x() != cvf::UNDEFINED_SIZE_T);
|
||||
CVF_ASSERT(m_max.y() != cvf::UNDEFINED_SIZE_T);
|
||||
CVF_ASSERT(m_max.z() != cvf::UNDEFINED_SIZE_T);
|
||||
|
||||
CVF_ASSERT(normalize());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user