Changeset 2059 in ntrip


Ignore:
Timestamp:
Dec 1, 2009, 11:58:48 AM (15 years ago)
Author:
mervart
Message:

* empty log message *

Location:
trunk/BNC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncmodel.cpp

    r2058 r2059  
    4949// Constructor
    5050////////////////////////////////////////////////////////////////////////////
    51 bncParam::bncParam() {
     51bncParam::bncParam(bncParam::parType typeIn) {
     52  type = typeIn;
    5253}
    5354
     
    6061////////////////////////////////////////////////////////////////////////////
    6162bncModel::bncModel() {
    62   _xcBanc.ReSize(4);
     63  _xcBanc.ReSize(4); _xcBanc = 0.0;
     64  _params.push_back(new bncParam(bncParam::CRD_X));
     65  _params.push_back(new bncParam(bncParam::CRD_Y));
     66  _params.push_back(new bncParam(bncParam::CRD_Z));
    6367}
    6468
  • trunk/BNC/bncmodel.h

    r2058 r2059  
    3535class bncParam {
    3636 public:
    37   enum type {CRD_X, CRD_Y, CRD_Z, TROPO, AMB_L3};
    38   bncParam();
     37  enum parType {CRD_X, CRD_Y, CRD_Z, TROPO, AMB_L3};
     38  bncParam(parType typeIn);
    3939  ~bncParam();
    40   double x0;
     40  parType  type;
     41  double   x0;
    4142};
    4243
     
    4950 
    5051 private:
    51   Matrix       _QQ;
    52   ColumnVector _xx;
    53   ColumnVector _xcBanc;
     52  QList<bncParam*> _params;
     53  Matrix           _QQ;
     54  ColumnVector     _xx;
     55  ColumnVector     _xcBanc;
    5456};
    5557
Note: See TracChangeset for help on using the changeset viewer.