Skip to content

Commit

Permalink
topo: add station param names
Browse files Browse the repository at this point in the history
  • Loading branch information
jmmuller committed Sep 26, 2024
1 parent 3ae8282 commit 94d2da5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions MMVII/src/Topo/ctopoobsset.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,15 @@ void cTopoObsSetStation::PushRotObs(std::vector<double> & aVObs) const
getRotSysCo2Instr().Mat().PushByCol(aVObs);
}

void cTopoObsSetStation::GetAdrInfoParam(cGetAdrInfoParam<tREAL8> & aGAIP)
{
aGAIP.SetNameType("Station");
aGAIP.SetIdObj(mOriginName);
aGAIP.TestParam(this, &(mParams[0]) ,"Wx");
aGAIP.TestParam(this, &(mParams[1]) ,"Wy");
aGAIP.TestParam(this, &(mParams[2]) ,"Wz");
}

std::string cTopoObsSetStation::toString() const
{
std::ostringstream oss;
Expand Down
1 change: 1 addition & 0 deletions MMVII/src/Topo/ctopoobsset.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ class cTopoObsSetStation : public cTopoObsSet
virtual std::string toString() const override;
void makeConstraints(cResolSysNonLinear<tREAL8> &aSys) override;
virtual bool initialize() override; ///< initialize rotation
void GetAdrInfoParam(cGetAdrInfoParam<tREAL8> & aGAIP) override;

void setOrigin(std::string _OriginName);
void PushRotObs(std::vector<double> & aVObs) const;
Expand Down

0 comments on commit 94d2da5

Please sign in to comment.