Skip to content

Commit

Permalink
cmp - make bessel linkage consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
claudioperez committed Aug 23, 2021
1 parent 11db95a commit c9dfb38
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions SRC/element/HUelements/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

target_sources(OPS_Element
PRIVATE
MultipleShearSpring.cpp
Expand Down
3 changes: 3 additions & 0 deletions SRC/element/HUelements/DBESI0.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

#include <math.h>

#ifdef __cplusplus
extern "C"
#endif
double dbesi0(double x)
{
int k;
Expand Down
3 changes: 3 additions & 0 deletions SRC/element/HUelements/DBESI1.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

#include <math.h>

#ifdef __cplusplus
extern "C"
#endif
double dbesi1(double x)
{
int k;
Expand Down
5 changes: 0 additions & 5 deletions SRC/element/HUelements/KikuchiBearing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,8 @@


// Bessel function, Copyright(C) 1996 Takuya OOURA
#ifdef _WIN32
extern "C" double dbesi0(double);
extern "C" double dbesi1(double);
#else
extern double dbesi0(double);
extern double dbesi1(double);
#endif


static bool errDetected(bool ifNoError, const char *msg){
Expand Down

0 comments on commit c9dfb38

Please sign in to comment.