Skip to content

Commit

Permalink
updated isat library
Browse files Browse the repository at this point in the history
  • Loading branch information
JayHuLBL committed Nov 14, 2023
1 parent 29913a4 commit b0293a0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
Binary file modified Buildings/Resources/Library/linux64/libisat.so
100644 → 100755
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,11 @@ typedef struct{
ModelicaSharedData *modelica;
} CosimulationData;

#define FFD_ISAT

#ifdef FFD_ISAT
typedef enum { COSIM_WARNING, COSIM_ERROR, COSIM_NORMAL, COSIM_NEW } COSIM_MSG_TYPE;
typedef enum { temp_roo, temp_occ, vel_occ, temp_sen, vel_sen, temp_rack, heat_wall1, heat_wall2, heat_wall3, heat_wall4, heat_wall5, heat_wall6} OUTPUT_TYPE;
typedef enum { inlet_temp, inlet_mass, inlet_vel, block_temp, block_hea, rack_hea, sur_temp, sur_hea } INPUT_TYPE;
#endif

4 changes: 2 additions & 2 deletions Buildings/Resources/src/ISAT/Linux/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ BINDIR = ../../../Library/linux$(ARCH)
CC = gcc

#Note that Dymola use 32bit compiler, so generated executable only support 32bit loaded library
CC_FLAGS_32 = -Wall -lm -m32 -std=c89 -pedantic -msse2 -mfpmath=sse
CC_FLAGS_64 = -Wall -lm -m64 -std=c89 -pedantic -msse2 -mfpmath=sse
CC_FLAGS_32 = -Wall -lm -m32 -std=c89 -pedantic -msse2 -mfpmath=sse -fcommon
CC_FLAGS_64 = -Wall -lm -m64 -std=c89 -pedantic -msse2 -mfpmath=sse -fcommon

# Directory for FFD source code
FFD = ../../FastFluidDynamics/
Expand Down

0 comments on commit b0293a0

Please sign in to comment.