20 #ifndef OPM_FILTERCAKE_HPP 21 #define OPM_FILTERCAKE_HPP 29 class KeywordLocation;
33 enum class FilterCakeGeometry {
40 static FilterCakeGeometry filterCakeGeometryFromString(
const std::string& str,
const KeywordLocation& location);
41 static std::string filterCakeGeometryToString(
const FilterCakeGeometry& geometry);
43 FilterCakeGeometry geometry{FilterCakeGeometry::NONE};
46 std::optional<double> radius;
47 std::optional<double> flow_area;
50 mutable double sf_multiplier{1.};
56 template<
class Serializer>
62 serializer(flow_area);
63 serializer(sf_multiplier);
68 bool operator==(
const FilterCake& other)
const;
70 void applyCleanMultiplier(
const double factor);
72 static std::string filterCakeToString(
const FilterCake& fc);
77 #endif //OPM_FILTERCAKE_HPP Definition: KeywordLocation.hpp:27
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition: Exceptions.hpp:30
Definition: FilterCake.hpp:31
Definition: DeckRecord.hpp:32
Class for (de-)serializing.
Definition: Serializer.hpp:94