Commit 75df6c9b authored by fmg005's avatar fmg005

remove cmake directory, not needed

parent cc64ce46
#
# FIND_PACKAGE(Pulse REQUIRED)
#
# This file will define the following variables:
# - Pulse_LIBS : The list of libraries to link against.
# - Pulse_LIB_DIR : The directory(es) where lib files are. Calling LINK_DIRECTORIES
# with this path is NOT needed.
# - Pulse_INCLUDE_DIRS : The Pulse include directories.
# - Pulse_VERSION : The version of this Pulse build. Example: "2.4.0"
# - Pulse_VERSION_MAJOR : Major version part of Pulse_VERSION. Example: "2"
# - Pulse_VERSION_MINOR : Minor version part of Pulse_VERSION. Example: "4"
# - Pulse_VERSION_PATCH : Patch version part of Pulse_VERSION. Example: "0"
#
# ===================================================================================
set(Pulse_INCLUDE_DIRS "/home/farooq/Programming/pulse/builds/install/include"
"/home/farooq/Programming/pulse/builds/install/include/bind"
"/home/farooq/Programming/pulse/builds/install/include/cdm"
)
if(MSVC)
set( Pulse_LIB_DIR "/home/farooq/Programming/pulse/builds/install/lib/$(Configuration)" )
else()#TODO XCode might need a conditional
string(TOLOWER "${CMAKE_BUILD_TYPE}" lower_build_type)
set( Pulse_LIB_DIR "/home/farooq/Programming/pulse/builds/install/lib/${lower_build_type}" )
endif()
if(MSVC)
set(LOG4CPP_LIB "log4cpp")
else()
set(LOG4CPP_LIB "liblog4cpp")
endif()
if (WIN32)
set(LIB_ENDING "lib")
elseif (APPLE)
set(LIB_ENDING "a")
else()
set(LIB_ENDING "a")
endif()
set(Pulse_INSTALL "/home/farooq/Programming/pulse/builds/install")
set(Pulse_LIBS "${Pulse_LIB_DIR}/PulseEngine.${LIB_ENDING}"
"${Pulse_LIB_DIR}/CommonDataModel.${LIB_ENDING}"
"${Pulse_LIB_DIR}/DataModelBindings.${LIB_ENDING}"
"${Pulse_LIB_DIR}/${LOG4CPP_LIB}.${LIB_ENDING}"
"${Pulse_LIB_DIR}/libprotobuf.${LIB_ENDING}"
)
set(Pulse_DEBUG_LIBS "${Pulse_LIB_DIR}/PulseEngine.${LIB_ENDING}"
"${Pulse_LIB_DIR}/CommonDataModel.${LIB_ENDING}"
"${Pulse_LIB_DIR}/DataModelBindings.${LIB_ENDING}"
"${Pulse_LIB_DIR}/${LOG4CPP_LIB}.${LIB_ENDING}"
"${Pulse_LIB_DIR}/libprotobufd.${LIB_ENDING}"
)
set( Pulse_VERSION_MAJOR "1" )
set( Pulse_VERSION_MINOR "0" )
set( Pulse_VERSION_PATCH "0" )
set( Pulse_VERSION_PATCH "1.0.0" )
......@@ -12,12 +12,12 @@ Controller::Controller(CMD::Environment* env, PhysiologyData* data, std::map<str
// Initalize algorithm configuration variables
currentNorepiInfusionRate = 0;
SalineInfusionRate = 75.0;
maxNorepinephrineInfusionRate = 112.5;
SalineInfusionRate = 50.0;
maxNorepinephrineInfusionRate = 84;
targetMAPRangeMax = 80.0;
targetMAPRangeMin = 75.0;
MAPIncreaseThreshold = 85;
percentOfRate = 0;
MAPIncreaseThreshold = 80;
percentOfRate = 0.75;
currentMAP = 0;
/* The first action the controller should take is initialize infusions */
......
......@@ -12,7 +12,7 @@ Pump::Pump()
Pump::Pump(CMD::Environment* env, PhysiologyData* data, string substance): m_env(env), m_data(data),
m_substance(substance), pump_rate(0), LOG_INITIAL_PUMP_RATE(true), pump_data{make_pair(0.0,0ul)} {
NorepiConcentration = 32;
NorepiConcentration = 16;
SalineBagVolume = 500;
......
......@@ -85,7 +85,7 @@ int main(){
t1 = clock();
Simulation("Hassan");
Simulation("Gus");
t2 = clock();
......
......@@ -12,7 +12,7 @@ Pump::Pump()
Pump::Pump(CMD::Environment* env, PhysiologyData* data, string substance): m_env(env), m_data(data),
m_substance(substance), pump_rate(0), LOG_INITIAL_PUMP_RATE(true), pump_data{make_pair(0.0,0ul)} {
NorepiConcentration = 32;
NorepiConcentration = 16;
SalineBagVolume = 500;
......
......@@ -85,7 +85,7 @@ int main(){
t1 = clock();
Simulation("Hassan");
Simulation("Gus");
t2 = clock();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment