51 const std::string& name()
const;
54 static bool hasRUNSPEC(
const Deck& );
55 static bool hasGRID(
const Deck& );
56 static bool hasEDIT(
const Deck& );
57 static bool hasPROPS(
const Deck& );
58 static bool hasREGIONS(
const Deck& );
59 static bool hasSOLUTION(
const Deck& );
60 static bool hasSUMMARY(
const Deck& );
61 static bool hasSCHEDULE(
const Deck& );
65 static bool checkSectionTopology(
const Deck& deck,
68 bool ensureKeywordSectionAffiliation =
false);
73 const DeckKeyword& getKeyword(
const std::string& keyword, std::size_t index)
const {
74 auto view = this->operator[](keyword);
78 const DeckKeyword& getKeyword(
const std::string& keyword)
const {
79 auto view = this->operator[](keyword);
84 std::vector<const DeckKeyword*> getKeywordList(
const std::string& keyword)
const {
85 std::vector<const DeckKeyword*> kw_list;
86 auto view = this->operator[](keyword);
87 for (
const auto& kw : view)
88 kw_list.push_back(&kw);
92 template <
class Keyword>
93 std::vector<const DeckKeyword*> getKeywordList()
const {
94 return this->getKeywordList(Keyword::keywordName);
98 bool hasKeyword(
const std::string& keyword)
const {
99 return this->has_keyword(keyword);
102 template <
class Keyword>
103 bool hasKeyword()
const {
104 return this->has_keyword(Keyword::keywordName);
111 std::string section_name;
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition Exceptions.hpp:30