57 DeclareParameter(GhostVectorSource,
int);
63 int getMemberAt(
int index) {
return members_.at(index); }
64 size_t getNMembers() {
return members_.size(); }
65 std::vector<int> getMembers() {
return members_; }
67 void setMembers(
const std::vector<int>& members) {
69 if (members_.size() < 2 || members_.size() > 3) {
70 std::ostringstream oss;
71 oss <<
"members" << containerToString(members) <<
" is invalid"
77 void setMembers(
const std::tuple<int, int, int>& tuple) {
78 auto [first, second, third] = tuple;
80 members_.push_back(first);
81 members_.push_back(second);
82 members_.push_back(third);
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_; }
95 std::vector<RealType> getOverridePars() {
return orPars_; }
98 std::vector<int> members_;
101 std::vector<RealType> orPars_;