Commit fc575a48 authored by Jeff Webb's avatar Jeff Webb
Browse files

Updated internal hemorrhage methodology to not do anything that effects the...

Updated internal hemorrhage methodology to not do anything that effects the circuit untill there is an internal hemorrhage action.
parent 5f27dceb
...@@ -1318,7 +1318,7 @@ void PulseController::SetupCardiovascular() ...@@ -1318,7 +1318,7 @@ void PulseController::SetupCardiovascular()
SEFluidCircuitNode& AbdominalCavity = cCardiovascular.CreateNode(pulse::CardiovascularNode::AbdominalCavity1); SEFluidCircuitNode& AbdominalCavity = cCardiovascular.CreateNode(pulse::CardiovascularNode::AbdominalCavity1);
AbdominalCavity.GetVolumeBaseline().SetValue(10.0, VolumeUnit::mL); AbdominalCavity.GetVolumeBaseline().SetValue(10.0, VolumeUnit::mL);
AbdominalCavity.GetPressure().SetValue(1.0, PressureUnit::mmHg); AbdominalCavity.GetPressure().SetValue(0.0, PressureUnit::mmHg);
// Create Paths, set switch (diodes), compliances, and resistances where appropriate // Create Paths, set switch (diodes), compliances, and resistances where appropriate
SEFluidCircuitPath& VenaCavaToRightHeart2 = cCardiovascular.CreatePath(VenaCava, RightHeart2, pulse::CardiovascularPath::VenaCavaToRightHeart2); SEFluidCircuitPath& VenaCavaToRightHeart2 = cCardiovascular.CreatePath(VenaCava, RightHeart2, pulse::CardiovascularPath::VenaCavaToRightHeart2);
......
...@@ -1498,7 +1498,7 @@ void Cardiovascular::InternalHemorrhagePressureApplication() ...@@ -1498,7 +1498,7 @@ void Cardiovascular::InternalHemorrhagePressureApplication()
double pressureResponseFraction = 0.45; //Tuning the pressure applied to the aorta double pressureResponseFraction = 0.45; //Tuning the pressure applied to the aorta
//Set the pressure on the aorta based on the abdominal cavity pressure //Set the pressure on the aorta based on the abdominal cavity pressure
m_InternalHemorrhageToAorta->GetPressureSourceBaseline().SetValue(pressureResponseFraction*abdominalCavityPressure_mmHg, PressureUnit::mmHg); m_InternalHemorrhageToAorta->GetNextPressureSource().SetValue(pressureResponseFraction*abdominalCavityPressure_mmHg, PressureUnit::mmHg);
} }
......
Supports Markdown
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