PISM, A Parallel Ice Sheet Model  stable v2.1-1-g6902d5502 committed by Ed Bueler on 2023-12-20 08:38:27 -0800

◆ set_units()

void pism::TSDiagnostic::set_units ( const std::string &  units,
const std::string &  output_units 
)
protected

Set internal (MKS) and "output" units.

output_units is ignored if output.use_MKS is set.

Definition at line 171 of file Diagnostic.cc.

References m_config, and m_variable.

Referenced by pism::diagnostics::scalar::IceAreaGlacierized::IceAreaGlacierized(), pism::diagnostics::scalar::IceAreaGlacierizedColdBase::IceAreaGlacierizedColdBase(), pism::diagnostics::scalar::IceAreaGlacierizedGrounded::IceAreaGlacierizedGrounded(), pism::diagnostics::scalar::IceAreaGlacierizedShelf::IceAreaGlacierizedShelf(), pism::diagnostics::scalar::IceAreaGlacierizedTemperateBase::IceAreaGlacierizedTemperateBase(), pism::diagnostics::scalar::IceEnthalpy::IceEnthalpy(), pism::diagnostics::scalar::IceEnthalpyGlacierized::IceEnthalpyGlacierized(), pism::diagnostics::scalar::IceMass::IceMass(), pism::diagnostics::scalar::IceMassFluxAtGroundingLine::IceMassFluxAtGroundingLine(), pism::diagnostics::scalar::IceMassFluxBasal::IceMassFluxBasal(), pism::diagnostics::scalar::IceMassFluxBasalFloating::IceMassFluxBasalFloating(), pism::diagnostics::scalar::IceMassFluxBasalGrounded::IceMassFluxBasalGrounded(), pism::diagnostics::scalar::IceMassFluxCalving::IceMassFluxCalving(), pism::diagnostics::scalar::IceMassFluxConservationError::IceMassFluxConservationError(), pism::diagnostics::scalar::IceMassFluxDischarge::IceMassFluxDischarge(), pism::diagnostics::scalar::IceMassFluxSurface::IceMassFluxSurface(), pism::diagnostics::scalar::IceMassGlacierized::IceMassGlacierized(), pism::diagnostics::scalar::IceMassNotDisplacingSeaWater::IceMassNotDisplacingSeaWater(), pism::diagnostics::scalar::IceMassRateOfChange::IceMassRateOfChange(), pism::diagnostics::scalar::IceMassRateOfChangeDueToFlow::IceMassRateOfChangeDueToFlow(), pism::diagnostics::scalar::IceMassRateOfChangeGlacierized::IceMassRateOfChangeGlacierized(), pism::diagnostics::scalar::IceVolume::IceVolume(), pism::diagnostics::scalar::IceVolumeCold::IceVolumeCold(), pism::diagnostics::scalar::IceVolumeGlacierized::IceVolumeGlacierized(), pism::diagnostics::scalar::IceVolumeGlacierizedCold::IceVolumeGlacierizedCold(), pism::diagnostics::scalar::IceVolumeGlacierizedGrounded::IceVolumeGlacierizedGrounded(), pism::diagnostics::scalar::IceVolumeGlacierizedShelf::IceVolumeGlacierizedShelf(), pism::diagnostics::scalar::IceVolumeGlacierizedTemperate::IceVolumeGlacierizedTemperate(), pism::diagnostics::scalar::IceVolumeRateOfChange::IceVolumeRateOfChange(), pism::diagnostics::scalar::IceVolumeRateOfChangeGlacierized::IceVolumeRateOfChangeGlacierized(), pism::diagnostics::scalar::IceVolumeTemperate::IceVolumeTemperate(), pism::energy::LiquifiedIceFlux::LiquifiedIceFlux(), pism::diagnostics::scalar::MaxDiffusivity::MaxDiffusivity(), pism::diagnostics::scalar::MaxHorizontalVelocity::MaxHorizontalVelocity(), pism::diagnostics::scalar::SeaLevelRisePotential::SeaLevelRisePotential(), pism::diagnostics::scalar::TimeStepLength::TimeStepLength(), pism::diagnostics::scalar::TimeStepRatio::TimeStepRatio(), pism::surface::diagnostics::TotalSurfaceAccumulation::TotalSurfaceAccumulation(), pism::surface::diagnostics::TotalSurfaceMelt::TotalSurfaceMelt(), and pism::surface::diagnostics::TotalSurfaceRunoff::TotalSurfaceRunoff().