(file) Return to sw_functions.c CVS log (file) (dir) Up to [Development] / JSOC / proj / sharp / apps

Diff for /JSOC/proj/sharp/apps/sw_functions.c between version 1.41 and 1.43

version 1.41, 2021/05/25 01:17:33 version 1.43, 2021/05/26 04:45:48
Line 1293  int computeAbsFlux_los(float *los, int *
Line 1293  int computeAbsFlux_los(float *los, int *
     *mean_vf_los_ptr     = sum*cdelt1*cdelt1*(rsun_ref/rsun_obs)*(rsun_ref/rsun_obs)*100.0*100.0;     *mean_vf_los_ptr     = sum*cdelt1*cdelt1*(rsun_ref/rsun_obs)*(rsun_ref/rsun_obs)*100.0*100.0;
     *count_mask_los_ptr  = count_mask_los;     *count_mask_los_ptr  = count_mask_los;
  
     printf("USFLUXL=%f\n",*mean_vf_los_ptr);      //printf("USFLUXL=%f\n",*mean_vf_los_ptr);
     printf("CMASKL=%f\n",*count_mask_los_ptr);      //printf("CMASKL=%f\n",*count_mask_los_ptr);
  
     return 0;     return 0;
 } }
Line 1380  int computeLOSderivative(float *los, int
Line 1380  int computeLOSderivative(float *los, int
  
     *mean_derivative_los_ptr = (sum)/(count_mask); // would be divided by ((nx-2)*(ny-2)) if shape of count_mask = shape of magnetogram     *mean_derivative_los_ptr = (sum)/(count_mask); // would be divided by ((nx-2)*(ny-2)) if shape of count_mask = shape of magnetogram
  
     printf("MEANGBL=%f\n",*mean_derivative_los_ptr);      //printf("MEANGBL=%f\n",*mean_derivative_los_ptr);
  
         return 0;         return 0;
 } }


Legend:
Removed from v.1.41  
changed lines
  Added in v.1.43

Karen Tian
Powered by
ViewCVS 0.9.4