Skip to content
Steven A White edited this page Aug 28, 2019 · 7 revisions

BioGears includes a number HowTo API examples which are short BioGears simulations snippits that exercise one or two simple Patient Actions before closing a simulation. Each one can be built as an independent executable and launched from inside a BioGears runtime directory where all the relevant requirements are located. While the BioGears API does allow for the runtime directory to be specified when the physiology is created most HowTo's simply assume it is the current directory.

HowTos are toggled as a group by the Biogears_BUILD_HOWTOS CMake variable and are individually togged using the BUILD_EX_howto-${NAME} variables

Existing HowTos

  • AirwayObstruction
  • AnesthesiaMachine
  • Asthma
  • BolusDrug
  • BrainInjury
  • CMakeLists.txt
  • common-source
  • ConcurrentEngines
  • ConsumeNutrients
  • COPD
  • CPR
  • CreateAPatient
  • CWD_Change
  • EngineUse
  • EnvironmentChange
  • Exercise
  • Fasciculation
  • Hemorrhage
  • InfusionDrug
  • LobarPneumonia
  • MechanicalVentilation
  • PainStimulus
  • ParameterOverride
  • PulmonaryFunctionTest
  • RunScenario
  • SarinExposure
  • SceanrioBase
  • SepsisDynamic
  • Smoke
  • TensionPneumothorax
  • ThreadedBioGears
  • VasopressinShockTherapy

##Running HowTos

   export BIOGEARS_ROOT=/opt/biogears
    cd /opt/biogears/build-gcc5.4
    cd runtime
    ../outputs/bin/howto-bolusdrug