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

◆ set_scales()

void pism::inverse::IPDesignVariableParamExp::set_scales ( const Config config,
const std::string &  design_var_name 
)
virtual

Initializes the scale parameters of the parameterization.

Every IPDesignVariableParameterization has an associated scale for the design variable \(d_{\rm scale}\) that equals 1 in internal units. The scale for a design variable named foo is stored in an Config file as design_param_foo_scale. Subclasses may have additional parameters that are follow the naming convention design_param_foo_*.

Parameters
configThe config file to read the scale parameters from.
design_var_nameThe associated name of the design variable, e.g. 'tauc' or 'hardav'

Reimplemented from pism::inverse::IPDesignVariableParameterization.

Definition at line 146 of file IPDesignVariableParameterization.cc.

References pism::Config::get_number(), m_d_eps, and pism::inverse::IPDesignVariableParameterization::set_scales().