PISM, A Parallel Ice Sheet Model 2.2.1-cd005eec8 committed by Constantine Khrulev on 2025-03-07
Loading...
Searching...
No Matches

◆ 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