Skip to content
Snippets Groups Projects
Commit 963cb533 authored by Sreekanth Arikatla's avatar Sreekanth Arikatla
Browse files

COMP: Disable all physiology examples

parent 392ea4f6
No related branches found
No related tags found
No related merge requests found
......@@ -5,10 +5,10 @@
include(imstkAddExternalProject)
imstk_add_external_project( Pulse
GIT_REPOSITORY https://gitlab.kitware.com/physiology/engine.git
GIT_TAG 3.x
GIT_TAG f4d501c2f7cc091dc053a96ab5a56f79b7528c4f
GIT_SHALLOW TRUE
# URL https://gitlab.kitware.com/physiology/engine/-/archive/3.x/archive.zip
# URL_MD5 cf8edc032dc473668c6b3109cfee19e8
#URL https://gitlab.kitware.com/physiology/engine/-/archive/3.x/archive.zip
#URL_HASH 4189591a6859df46920bbc35f160eef23fc33ffd
CMAKE_CACHE_ARGS
-DPulse_SLAVE_BUILD:BOOL=ON
-DPulse_JAVA_API:BOOL=OFF
......@@ -16,7 +16,6 @@ imstk_add_external_project( Pulse
INSTALL_COMMAND $(SKIP_STEP_COMMAND)
)
if(NOT USE_SYSTEM_Pulse)
set(Pulse_DIR ${CMAKE_INSTALL_PREFIX}/lib/cmake/Pulse-3.0)
#message(STATUS "Pulse_DIR : ${Pulse_DIR}")
......
......@@ -21,6 +21,10 @@ if(iMSTK_USE_Vulkan)
return()
endif()
if(NOT iMSTK_USE_Pulse)
return()
endif()
project(Example-Physiology-HalfTorusFlow)
#-----------------------------------------------------------------------------
......
......@@ -56,7 +56,6 @@ limitations under the License.
namespace imstk
{
HemorrhageAction::HemorrhageAction(const Type t, const std::string& name)
{
m_hemorrhage = std::make_shared<SEHemorrhage>();
......
......@@ -48,10 +48,10 @@ PhysiologyModel::initialize()
switch (m_config->m_basePatient)
{
case PatientPhysiology::StandardMale:
patientFile = iMSTK_DATA_ROOT "/PhysiologyStates/StandardMale.json";
patientFile = iMSTK_DATA_ROOT "/PhysiologyState/StandardMale@0s.pbb";
break;
case PatientPhysiology::StandardFemale:
patientFile = iMSTK_DATA_ROOT "/PhysiologyStates/StandardFemale.json";
patientFile = iMSTK_DATA_ROOT "/PhysiologyState/StandardFemale.json";
break;
default:
LOG(WARNING) << "Could not find the patient. Initializing to StandardMale";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment