21 |
#include "DataLazy.h" |
#include "DataLazy.h" |
22 |
#include "FunctionSpaceFactory.h" |
#include "FunctionSpaceFactory.h" |
23 |
#include "AbstractContinuousDomain.h" |
#include "AbstractContinuousDomain.h" |
24 |
|
#if defined (_WIN32) && !defined(__INTEL_COMPILER) |
25 |
#include "UnaryFuncs.h" |
#include "UnaryFuncs.h" |
26 |
|
#endif |
27 |
#include "FunctionSpaceException.h" |
#include "FunctionSpaceException.h" |
28 |
#include "EscriptParams.h" |
#include "EscriptParams.h" |
29 |
|
|
1326 |
Data |
Data |
1327 |
Data::erf() const |
Data::erf() const |
1328 |
{ |
{ |
1329 |
#ifdef _WIN32 |
#if defined (_WIN32) && !defined(__INTEL_COMPILER) |
1330 |
throw DataException("Error - Data:: erf function is not supported on _WIN32 platforms."); |
throw DataException("Error - Data:: erf function is not supported on _WIN32 platforms."); |
1331 |
#else |
#else |
1332 |
if (isLazy()) |
if (isLazy()) |
1346 |
DataLazy* c=new DataLazy(borrowDataPtr(),ASINH); |
DataLazy* c=new DataLazy(borrowDataPtr(),ASINH); |
1347 |
return Data(c); |
return Data(c); |
1348 |
} |
} |
1349 |
#ifdef _WIN32 |
#if defined (_WIN32) && !defined(__INTEL_COMPILER) |
1350 |
return C_TensorUnaryOperation(*this, escript::asinh_substitute); |
return C_TensorUnaryOperation(*this, escript::asinh_substitute); |
1351 |
#else |
#else |
1352 |
return C_TensorUnaryOperation(*this, ::asinh); |
return C_TensorUnaryOperation(*this, ::asinh); |
1361 |
DataLazy* c=new DataLazy(borrowDataPtr(),ACOSH); |
DataLazy* c=new DataLazy(borrowDataPtr(),ACOSH); |
1362 |
return Data(c); |
return Data(c); |
1363 |
} |
} |
1364 |
#ifdef _WIN32 |
#if defined (_WIN32) && !defined(__INTEL_COMPILER) |
1365 |
return C_TensorUnaryOperation(*this, escript::acosh_substitute); |
return C_TensorUnaryOperation(*this, escript::acosh_substitute); |
1366 |
#else |
#else |
1367 |
return C_TensorUnaryOperation(*this, ::acosh); |
return C_TensorUnaryOperation(*this, ::acosh); |
1376 |
DataLazy* c=new DataLazy(borrowDataPtr(),ATANH); |
DataLazy* c=new DataLazy(borrowDataPtr(),ATANH); |
1377 |
return Data(c); |
return Data(c); |
1378 |
} |
} |
1379 |
#ifdef _WIN32 |
#if defined (_WIN32) && !defined(__INTEL_COMPILER) |
1380 |
return C_TensorUnaryOperation(*this, escript::atanh_substitute); |
return C_TensorUnaryOperation(*this, escript::atanh_substitute); |
1381 |
#else |
#else |
1382 |
return C_TensorUnaryOperation(*this, ::atanh); |
return C_TensorUnaryOperation(*this, ::atanh); |