Changeset 746 for codes/icosagcm/devel/Python/src/unstructured.pyx
- Timestamp:
- 10/05/18 01:10:39 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
codes/icosagcm/devel/Python/src/unstructured.pyx
r700 r746 12 12 #-------------- choose precision of kernel computations ------------# 13 13 14 DEF prec_double=False 15 16 IF prec_double: 14 # the compile-time constant CPP_MIXED_PREC is set by setup.py 15 # based on the value of mixed_prec defined in module data_unstructured 16 17 IF CPP_MIXED_PREC: 18 c_num=c_float 19 ctypedef float num 20 np_num=np.float32 21 ELSE: 17 22 c_num=c_double 18 23 ctypedef double num 19 24 np_num=np.float64 20 ELSE:21 c_num=c_float22 ctypedef float num23 np_num=np.float3224 25 25 26 ctypedef num *num_ptr
Note: See TracChangeset
for help on using the changeset viewer.