52 DeclareParameter(GhostVectorSource,
int);
58 int getCenter() {
return center_; }
59 int getSatelliteAt(
int index) {
return satellites_.at(index); }
60 size_t getNSatellites() {
return satellites_.size(); }
61 std::vector<int> getSatellites() {
return satellites_; }
62 void setCenter(
int center) { center_ = center; }
63 void addSatellite(
int sat) {
64 if (satellites_.size() > 3) {
65 std::ostringstream oss;
66 oss <<
"Too many satellites in inversion to add another!" << std::endl;
69 satellites_.push_back(sat);
72 void setSatellites(
const std::vector<int>& sats) {
73 if (sats.size() == 3) {
74 satellites_.push_back(sats.at(0));
75 satellites_.push_back(sats.at(1));
76 satellites_.push_back(sats.at(2));
78 std::ostringstream oss;
79 oss <<
"Incorrect number of satellites to add to inversion!"
84 void overrideType(std::string type, std::vector<RealType> pars) {
90 virtual void validate();
91 bool hasOverride() {
return hasOverride_; }
92 std::string getOverrideType() {
return orType_; }
94 std::vector<RealType> getOverridePars() {
return orPars_; }
98 std::vector<int> satellites_;
101 std::vector<RealType> orPars_;