- Timestamp:
- 05/23/12 16:47:41 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/branches/trunk-jpl-damage/src/c/objects/Kriging/Observation.cpp
r12229 r12280 15 15 Observation::Observation(double x_in,double y_in,int xi_in,int yi_in,int index_in,double value_in){ 16 16 17 this->x = x_in; 18 this->y = y_in; 19 this->xi = xi_in; 20 this->yi = yi_in; 21 this->index = index_in; 22 this->value = value_in; 17 this->x = x_in; 18 this->y = y_in; 19 this->xi = xi_in; 20 this->yi = yi_in; 21 this->index = index_in; 22 this->value = value_in; 23 this->weight = 1.; 23 24 24 25 } … … 42 43 printf(" xi : "); printbinary(this->xi); printf("\n"); 43 44 printf(" yi : "); printbinary(this->yi); printf("\n"); 45 printf(" weight: %g\n",this->weight); 44 46 printf(" value : %g\n",this->value); 45 47 }
Note:
See TracChangeset
for help on using the changeset viewer.