Go to the documentation of this file. 70 #ifndef __OPENFLUID_TOOLS_FORTRANCPP_HPP__ 71 #define __OPENFLUID_TOOLS_FORTRANCPP_HPP__ 102 # define BEGIN_EXTERN_FORTRAN \ 105 # define END_EXTERN_FORTRAN } 107 # define BEGIN_EXTERN_FORTRAN 108 # define END_EXTERN_FORTRAN 131 #define EXTERN_FFUNCTION(x) x##_ 146 #define CALL_FFUNCTION(x) x##_ 161 #define EXTERN_FSUBROUTINE(x) void x##_ 177 #define CALL_FSUBROUTINE(x) x##_ 198 #define EXTERN_FMODFUNCTION(x,y) __##x##_MOD_##y 214 #define CALL_FMODFUNCTION(x,y) __##x##_MOD_##y 230 #define EXTERN_FMODSUBROUTINE(x,y) void __##x##_MOD_##y 246 #define CALL_FMODSUBROUTINE(x,y) __##x##_MOD_##y 281 #define FREAL8 double 293 #define FREAL16 long double 321 #define FINT2 short int 335 #define FINT8 long int 360 #define FLOGICAL1 bool 379 #define FCHARACTER char 391 #define FSTRING char* 403 #define FSTRINGLEN int 422 #define STD2FSTRING(str) (strdup((str).c_str())) 434 #define STD2FSTRINGLEN(str) (strlen((str).c_str())) 446 #define STD2FSTRINGFULL(str) (strdup((str).c_str()),strlen((str).c_str()))