projects/biogears/src/engine/Systems/Nervous.cpp
void Nervous::SetUp()
{
  m_dt_s = m_data.GetTimeStep().GetValue(TimeUnit::s);
  m_normalizedGammaHeartRate = m_data.GetConfiguration().GetNormalizedHeartRateIntercept();
  m_normalizedGammaElastance = m_data.GetConfiguration().GetNormalizedHeartElastanceIntercept();
  m_normalizedGammaCompliance = m_data.GetConfiguration().GetNormalizedComplianceIntercept();
  m_normalizedGammaResistance = m_data.GetConfiguration().GetNormalizedResistanceIntercept();
  m_normalizedAlphaHeartRate = m_data.GetConfiguration().GetNormalizedHeartRateSympatheticSlope();
  m_normalizedAlphaElastance = m_data.GetConfiguration().GetNormalizedHeartElastanceSympatheticSlope();
  m_normalizedAlphaCompliance = m_data.GetConfiguration().GetNormalizedComplianceParasympatheticSlope();
  m_normalizedAlphaResistance = m_data.GetConfiguration().GetNormalizedResistanceSympatheticSlope();
  m_normalizedBetaHeartRate = m_data.GetConfiguration().GetNormalizedHeartRateParasympatheticSlope();
  m_Succinylcholine = m_data.GetSubstances().GetSubstance("Succinylcholine");
  m_Sarin = m_data.GetSubstances().GetSubstance("Sarin");

  // Set when feedback is turned on
  m_ArterialOxygenSetPoint_mmHg = 0;
  m_ArterialCarbonDioxideSetPoint_mmHg = 0;
}
//--------------------------------------------------------------------------------------------------
/// \brief
/// Initializes the nervous specific quantities
///
/// \details
/// Initializes the nervous system.
//--------------------------------------------------------------------------------------------------
\brief
Initializes the nervous specific quantities

\details
Initializes the nervous system.
\ brief Initializes the nervous specific quantities \ details Initializes the nervous system .
void Nervous::SetUp()
{
  m_dt_s = m_data.GetTimeStep().GetValue(TimeUnit::s);
  m_normalizedGammaHeartRate = m_data.GetConfiguration().GetNormalizedHeartRateIntercept();
  m_normalizedGammaElastance = m_data.GetConfiguration().GetNormalizedHeartElastanceIntercept();
  m_normalizedGammaCompliance = m_data.GetConfiguration().GetNormalizedComplianceIntercept();
  m_normalizedGammaResistance = m_data.GetConfiguration().GetNormalizedResistanceIntercept();
  m_normalizedAlphaHeartRate = m_data.GetConfiguration().GetNormalizedHeartRateSympatheticSlope();
  m_normalizedAlphaElastance = m_data.GetConfiguration().GetNormalizedHeartElastanceSympatheticSlope();
  m_normalizedAlphaCompliance = m_data.GetConfiguration().GetNormalizedComplianceParasympatheticSlope();
  m_normalizedAlphaResistance = m_data.GetConfiguration().GetNormalizedResistanceSympatheticSlope();
  m_normalizedBetaHeartRate = m_data.GetConfiguration().GetNormalizedHeartRateParasympatheticSlope();
  m_Succinylcholine = m_data.GetSubstances().GetSubstance("Succinylcholine");
  m_Sarin = m_data.GetSubstances().GetSubstance("Sarin");
  m_ArterialOxygenSetPoint_mmHg = 0;
  m_ArterialCarbonDioxideSetPoint_mmHg = 0;
}
void Nervous :: SetUp ( ) { m_dt_s = m_data . GetTimeStep ( ) . GetValue ( TimeUnit :: s ) ; m_normalizedGammaHeartRate = m_data . GetConfiguration ( ) . GetNormalizedHeartRateIntercept ( ) ; m_normalizedGammaElastance = m_data . GetConfiguration ( ) . GetNormalizedHeartElastanceIntercept ( ) ; m_normalizedGammaCompliance = m_data . GetConfiguration ( ) . GetNormalizedComplianceIntercept ( ) ; m_normalizedGammaResistance = m_data . GetConfiguration ( ) . GetNormalizedResistanceIntercept ( ) ; m_normalizedAlphaHeartRate = m_data . GetConfiguration ( ) . GetNormalizedHeartRateSympatheticSlope ( ) ; m_normalizedAlphaElastance = m_data . GetConfiguration ( ) . GetNormalizedHeartElastanceSympatheticSlope ( ) ; m_normalizedAlphaCompliance = m_data . GetConfiguration ( ) . GetNormalizedComplianceParasympatheticSlope ( ) ; m_normalizedAlphaResistance = m_data . GetConfiguration ( ) . GetNormalizedResistanceSympatheticSlope ( ) ; m_normalizedBetaHeartRate = m_data . GetConfiguration ( ) . GetNormalizedHeartRateParasympatheticSlope ( ) ; m_Succinylcholine = m_data . GetSubstances ( ) . GetSubstance ( " " ) ; m_Sarin = m_data . GetSubstances ( ) . GetSubstance ( " " ) ; m_ArterialOxygenSetPoint_mmHg = 0 ; m_ArterialCarbonDioxideSetPoint_mmHg = 0 ; }
\brief
Initializes the nervous specific quantities
\ brief Initializes the nervous specific quantities
// Set when feedback is turned on