add some f2c runtime functions, remove exception, avoid name conflict with libgfortran
This commit is contained in:
12
lib/linalg/pow_lmp_dd.cpp
Normal file
12
lib/linalg/pow_lmp_dd.cpp
Normal file
@ -0,0 +1,12 @@
|
||||
|
||||
#include "lmp_f2c.h"
|
||||
#undef abs
|
||||
|
||||
#include <cmath>
|
||||
|
||||
extern "C" {
|
||||
double pow_lmp_dd(doublereal *ap, doublereal *bp)
|
||||
{
|
||||
return (pow(*ap, *bp));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user