Skip to content

Extract a common part of Process.cpp to a function

wenqing requested to merge wenqing/ogs:minor_imprv_process into master

Extract the following repeated part to a local function

    for (auto* const solution : x)
    {
        MathLib::LinAlg::setLocalAccessibleVector(*solution);
    }
    for (auto* const solution : x_prev)
    {
        MathLib::LinAlg::setLocalAccessibleVector(*solution);
    }
  1. Feature description was added to the changelog
  2. Tests covering your feature were added?
  3. Any new feature or behaviour change was documented?

Merge request reports