- Timestamp:
- Dec 1, 2009, 4:26:11 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncmodel.cpp
r2067 r2070 49 49 50 50 using namespace std; 51 52 const unsigned MINOBS = 4; 53 const double MINELE = 10.0 * M_PI / 180.0; 51 54 52 55 // Constructor … … 98 101 //////////////////////////////////////////////////////////////////////////// 99 102 t_irc bncModel::cmpBancroft(t_epoData* epoData) { 100 101 const unsigned MINOBS = 4;102 103 103 104 if (epoData->size() < MINOBS) { … … 164 165 } 165 166 satData->azSat = atan2(neu[1], neu[0]); 167 168 if (satData->eleSat < MINELE) { 169 delete satData; 170 it2.remove(); 171 } 166 172 } 167 173 … … 224 230 //////////////////////////////////////////////////////////////////////////// 225 231 t_irc bncModel::update(t_epoData* epoData) { 232 233 if (epoData->size() < MINOBS) { 234 return failure; 235 } 226 236 227 237 unsigned nPar = _params.size(); … … 261 271 // ----------------- 262 272 ColumnVector vv = _AA * _dx - _ll; 273 274 cout << setprecision(3) << _dx.t() 275 << setprecision(3) << vv.t() << endl; 276 cout.flush(); 263 277 264 278 // Set Solution Vector
Note:
See TracChangeset
for help on using the changeset viewer.