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