-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BLD: Switch to src layout for pywrapper.
- Loading branch information
1 parent
3f149b0
commit dc99a18
Showing
19 changed files
with
80 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
/** | ||
* @file iapws.h | ||
* @brief Main C header for the IAPWS library. | ||
*/ | ||
#ifndef IAPWS_H | ||
#define IAPWS_H | ||
#include "iapws_version.h" | ||
#include "iapws_g704.h" | ||
#include "iapws_r283.h" | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/** | ||
* @file iapws_g704.h | ||
* @brief C header for the module iapws_g704. | ||
*/ | ||
|
||
#ifndef IAPWS_G704_H | ||
#define IAPWS_G704_H | ||
|
||
extern void iapws_g704_capi_kh(double *T, char *gas, int heavywater, double *k, int size_gas, size_t size_T); | ||
extern void iapws_g704_capi_kd(double *T, char *gas, int heavywater, double *k, int size_gas, size_t size_T); | ||
extern int iapws_g704_capi_ngases(int heavywater); | ||
extern char **iapws_g704_capi_gases(int heavywater); | ||
extern char *iapws_g704_capi_gases2(int heavywater); | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/** | ||
* @file iapws_r283.h | ||
* @brief C header for the module iapws_r283. | ||
*/ | ||
|
||
#ifndef IAPWS_R283_H | ||
#define IAPWS_R283_H | ||
|
||
#if _MSC_VER | ||
#define ADD_IMPORT __declspec(dllimport) | ||
#else | ||
#define ADD_IMPORT | ||
#endif | ||
|
||
ADD_IMPORT extern const double iapws_Tc_H2O; | ||
ADD_IMPORT extern const double iapws_Tc_D2O; | ||
|
||
ADD_IMPORT extern const double iapws_pc_H2O; | ||
ADD_IMPORT extern const double iapws_pc_D2O; | ||
|
||
ADD_IMPORT extern const double iapws_rhoc_H2O; | ||
ADD_IMPORT extern const double iapws_rhoc_D2O; | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
/** | ||
* @file | ||
* @brief Version | ||
*/ | ||
|
||
#ifndef iapws_VERSION_H | ||
#define iapws_VERSION_H | ||
extern char* iapws_get_version(void); | ||
#endif | ||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import os | ||
import sys | ||
PROJECT_PATH = os.getcwd() | ||
SOURCE_PATH = os.path.join(PROJECT_PATH,"src") | ||
sys.path.append(SOURCE_PATH) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
Empty file.