Skip to content

Commit

Permalink
changes related to MacOS update to 14.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ssandrews committed Oct 31, 2023
1 parent a1a77a5 commit 95bd2f1
Show file tree
Hide file tree
Showing 14 changed files with 1,106 additions and 1,413 deletions.
10 changes: 9 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ elseif (APPLE)
message(STATUS "Compiling on an Apple computer")
message(STATUS "Host system version is ${CMAKE_HOST_SYSTEM_VERSION}")
if(CMAKE_HOST_SYSTEM_VERSION VERSION_GREATER_EQUAL 21)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wno-deprecated -mmacosx-version-min=13")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wno-deprecated -mmacosx-version-min=14")
elseif()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wno-deprecated -mmacosx-version-min=10.9")
endif()
Expand Down Expand Up @@ -412,6 +412,11 @@ if (OPTION_USE_LIBTIFF)
find_library(TIFF_LIBRARY libtiff.a ${CMAKE_SOURCE_DIR}/Mac/libtiff/lib NO_DEFAULT_PATH)
else ()
find_package(TIFF)
if(TIFF_LIBRARY)
cmake_path(GET TIFF_LIBRARY PARENT_PATH TIFF_RPATH)
message(STATUS "Libtiff run path: '${TIFF_RPATH}'")
list(APPEND RUN_LIBS ${TIFF_RPATH})
endif()
endif()

if(TIFF_INCLUDE_DIR AND TIFF_LIBRARY)
Expand Down Expand Up @@ -505,6 +510,9 @@ if (OPTION_TARGET_SMOLDYN)
add_executable(smoldyn ${MAIN_FILES})
target_link_libraries(smoldyn PUBLIC smoldyn_static)
target_link_libraries(smoldyn PUBLIC ${DEP_LIBS})
if(RUN_LIBS)
set_target_properties(smoldyn PROPERTIES INSTALL_RPATH ${RUN_LIBS})
endif()
endif ()


Expand Down
Binary file modified Mac/libtiff/lib/libtiff.5.7.0.dylib
Binary file not shown.
Binary file modified Mac/libtiff/lib/libtiff.5.dylib
Binary file not shown.
Binary file modified Mac/libtiff/lib/libtiff.dylib
Binary file not shown.
Binary file modified Mac/libtiff/lib/libtiffxx.5.7.0.dylib
Binary file not shown.
Binary file modified Mac/libtiff/lib/libtiffxx.5.dylib
Binary file not shown.
Binary file modified Mac/libtiff/lib/libtiffxx.dylib
Binary file not shown.
Binary file modified docs/Smoldyn/SmoldynCodeDoc.pdf
Binary file not shown.
1,161 changes: 597 additions & 564 deletions docs/Smoldyn/SmoldynCodeDoc.tex

Large diffs are not rendered by default.

Binary file modified docs/libSteve/SurfaceParam.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/libSteve/SurfaceParam.tex
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ \section{Functions for external use}


\item[\ttt{int}]
\ttt{surfacetransmit(double *kap1ptr,double *kap2ptr,double *p1ptr,double *p2ptr,double difc1,double difc2,double dt);}
\ttt{surfacetransmit(double *kap1ptr, double *kap2ptr, double *p1ptr, double *p2ptr, double difc1, double difc2, double dt);}

This expands upon \ttt{surfaceprob} and \ttt{surfacerate} for partial transmission, offering additional functionality. This function allows for, but doesn't require, different diffusion coefficients on the two sides of the surface, entered in \ttt{difc1} and \ttt{difc2}. Also, \ttt{dt} is the simulation time step. The four transmission parameters are $\kappa_1$, $\kappa_2$, $P_1$, and $P_2$, of which one side 1 value and one side 2 value should be entered as inputs, and the other two values will be returned as outputs; the side number represents the side that a molecule diffuses \textit{from}. All of these values are entered as pointers due to the fact that two of them will be outputs. Enter the output parameters with the value $-2$ to show that they are unknowns. The input parameters are not changed by this function.

Expand Down
488 changes: 488 additions & 0 deletions examples/S94_archive/Andrews_Arkin_2010/ellipse_12_12.txt

Large diffs are not rendered by default.

Loading

0 comments on commit 95bd2f1

Please sign in to comment.