Support BC in Schedule section

This commit is contained in:
Tor Harald Sandve
2023-04-14 13:23:56 +02:00
parent 5709708016
commit ff58ca550f
7 changed files with 85 additions and 1 deletions

View File

@@ -99,15 +99,20 @@ public:
std::vector<BCFace>::const_iterator begin() const;
std::vector<BCFace>::const_iterator end() const;
bool operator==(const BCConfig& other) const;
BCFace operator[](std::size_t index) const;
void updateBC(const DeckRecord& record);
template<class Serializer>
void serializeOp(Serializer& serializer)
{
serializer(m_faces);
serializer(m_gridDims);
}
private:
std::vector<BCFace> m_faces;
GridDims m_gridDims;
};
} //namespace Opm