PISM, A Parallel Ice Sheet Model  stable v2.1.1 committed by Constantine Khrulev on 2024-12-04 13:36:58 -0900

◆ convert_vec() [1/2]

void pism::convert_vec ( petsc::Vec v,
std::shared_ptr< units::System system,
const std::string &  spec1,
const std::string &  spec2 
)

Convert a PETSc Vec from the units in from into units in to (in place).

Parameters
vdata to convert
systemunit system
spec1source unit specification string
spec2destination unit specification string