- snprintf(property_name, 80,
- "buoyant_forces/gas-cell[%d]/ballonet[%d]/temp-R",
- Parent->GetIndex(),
- CellNum);
- PropertyManager->Tie( property_name, &Temperature );
- snprintf(property_name, 80,
- "buoyant_forces/gas-cell[%d]/ballonet[%d]/pressure-psf",
- Parent->GetIndex(),
- CellNum);
- PropertyManager->Tie( property_name, &Pressure );
- snprintf(property_name, 80,
- "buoyant_forces/gas-cell[%d]/ballonet[%d]/volume-ft3",
- Parent->GetIndex(),
- CellNum);
- PropertyManager->Tie( property_name, &Volume );
- snprintf(property_name, 80,
- "buoyant_forces/gas-cell[%d]/ballonet[%d]/contents-mol",
- Parent->GetIndex(),
- CellNum);
- PropertyManager->Tie( property_name, &Contents );
- snprintf(property_name, 80,
- "buoyant_forces/gas-cell[%d]/ballonet[%d]/valve_open",
- Parent->GetIndex(),
- CellNum);
- PropertyManager->Tie( property_name, &ValveOpen );
+
+ property_name = base_property_name + "/temp-R";
+ PropertyManager->Tie( property_name, &Temperature, false );
+
+ property_name = base_property_name + "/pressure-psf";
+ PropertyManager->Tie( property_name, &Pressure, false );
+
+ property_name = base_property_name + "/volume-ft3";
+ PropertyManager->Tie( property_name, &Volume, false );
+
+ property_name = base_property_name + "/contents-mol";
+ PropertyManager->Tie( property_name, &Contents, false );
+
+ property_name = base_property_name + "/valve_open";
+ PropertyManager->Tie( property_name, &ValveOpen, false );