Changeset 3750 in Sophya for trunk/SophyaLib/BaseTools/fiondblock.cc
- Timestamp:
- Mar 3, 2010, 9:44:38 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/BaseTools/fiondblock.cc
r3661 r3750 139 139 inline void PIOSReadArray(PInPersist & is, complex<double> * arr, size_t n) 140 140 { r_8 * pr = (r_8 *)arr; is.Get(pr, n*2); } 141 #ifdef SO_LDBLE128 142 // ces fonctions ne devraient jamais etre appelees ( pas de r_16 en V_PPF <= 3 ) 143 inline void PIOSReadArray(PInPersist & is, r_16 * arr, size_t n) 144 { is.Get(arr, n); } 145 inline void PIOSReadArray(PInPersist & is, complex<long double> * arr, size_t n) 146 { r_16 * pr = (r_16 *)arr; is.Get(pr, n*2); } 147 #endif 141 148 //--------------------------------------------------------------------------- 142 149 … … 196 203 #pragma define_template FIO_NDataBlock< complex<r_4> > 197 204 #pragma define_template FIO_NDataBlock< complex<r_8> > 205 #ifdef SO_LDBLE128 206 #pragma define_template FIO_NDataBlock<r_16> 207 #pragma define_template FIO_NDataBlock< complex<r_16> > 208 #endif 209 198 210 #endif 199 211 … … 213 225 template class FIO_NDataBlock< complex<r_4> >; 214 226 template class FIO_NDataBlock< complex<r_8> >; 215 } 216 #endif 227 #ifdef SO_LDBLE128 228 template class FIO_NDataBlock<r_16>; 229 template class FIO_NDataBlock< complex<r_16> >; 230 #endif 231 } 232 #endif
Note:
See TracChangeset
for help on using the changeset viewer.