56 DeclareParameter(GhostVectorSource,
int);
62 int getMemberAt(
int index) {
return members_.at(index); }
63 size_t getNMembers() {
return members_.size(); }
64 std::vector<int> getMembers() {
return members_; }
66 void setMembers(
const std::vector<int>& members) {
68 if (members_.size() < 3 || members_.size() > 4) {
69 std::ostringstream oss;
70 oss <<
"members" << containerToString(members) <<
" is invalid"
76 void setMembers(
const std::tuple<int, int, int, int>& tuple) {
77 auto [first, second, third, fourth] = tuple;
79 members_.push_back(first);
80 members_.push_back(second);
81 members_.push_back(third);
82 members_.push_back(fourth);
85 void overrideType(std::string type, std::vector<RealType> pars) {
91 virtual void validate();
92 bool hasOverride() {
return hasOverride_; }
93 std::string getOverrideType() {
return orType_; }
94 std::vector<RealType> getOverridePars() {
return orPars_; }
97 std::vector<int> members_;
100 std::vector<RealType> orPars_;