source:
issm/oecreview/Archive/17984-18295/ISSM-18124-18125.diff@
18296
Last change on this file since 18296 was 18296, checked in by , 11 years ago | |
---|---|
File size: 3.1 KB |
-
../trunk-jpl/src/c/shared/Numerics/isnan.cpp
1 /*This routine only used by Intel compler: */ 2 3 #ifdef HAVE_CONFIG_H 4 #include <config.h> 5 #else 6 #error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!" 7 #endif 8 9 #include "isnan.h" 10 11 #if defined(_HAVE_ADOLC_) && !defined(_WRAPPERS_) 12 template <> int xIsNan<adouble> (const adouble& X){ 13 return isnan(X.getValue()); 14 } 15 #endif -
../trunk-jpl/src/c/shared/Numerics/isnan.h
24 24 25 25 #if defined(_HAVE_ADOLC_) && !defined(_WRAPPERS_) 26 26 #include "./types.h" 27 template <> int xIsNan<adouble> (const adouble& X){ 28 return isnan(X.getValue()); 29 } 27 template <> int xIsNan<adouble> (const adouble& X); 30 28 #endif 31 29 32 30 #endif -
../trunk-jpl/src/c/shared/MemOps/MemOps.cpp
1 /* 2 * MemOps.cpp 3 * 4 * Created on: Sep 10, 2013 5 * Author: utke 6 */ 7 8 #ifdef HAVE_CONFIG_H 9 #include <config.h> 10 #else 11 #error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!" 12 #endif 13 14 #include "MemOps.h" 15 16 #if defined(_HAVE_ADOLC_) && !defined(_WRAPPERS_) 17 template <> adouble* xNew(unsigned int size) { 18 ensureContiguousLocations(size); 19 adouble* aT_p=new adouble[size]; 20 assert(aT_p); 21 return aT_p; 22 } 23 #endif -
../trunk-jpl/src/c/shared/MemOps/MemOps.h
143 143 144 144 #if defined(_HAVE_ADOLC_) && !defined(_WRAPPERS_) 145 145 #include "../Numerics/types.h" 146 template <> adouble* xNew(unsigned int size) { 147 ensureContiguousLocations(size); 148 adouble* aT_p=new adouble[size]; 149 assert(aT_p); 150 return aT_p; 151 } 146 template <> adouble* xNew(unsigned int size); 152 147 #endif 153 148 154 149 #endif -
../trunk-jpl/src/c/Makefile.am
174 174 ./classes/Profiler.cpp\ 175 175 ./shared/shared.h\ 176 176 ./shared/MemOps/MemOps.h\ 177 ./shared/MemOps/MemOps.cpp\ 177 178 ./shared/Matrix/matrix.h\ 178 179 ./shared/Matrix/MatrixUtils.cpp\ 179 180 ./shared/io/io.h\ … … 202 203 ./shared/Numerics/GaussPoints.cpp\ 203 204 ./shared/Numerics/cross.cpp\ 204 205 ./shared/Numerics/isnan.h\ 206 ./shared/Numerics/isnan.cpp\ 205 207 ./shared/Numerics/cubic.cpp\ 206 208 ./shared/Numerics/NewtonSolveDnorm.cpp\ 207 209 ./shared/Numerics/extrema.cpp\
Note:
See TracBrowser
for help on using the repository browser.