VariableValue & ScalarCoupleable::coupledScalarValueOld(const std::string & var_name, unsigned int comp) { if (!isCoupledScalar(var_name, comp)) return *getDefaultValue(var_name); MooseVariableScalar * var = getScalarVar(var_name, comp); return (_sc_is_implicit) ? var->slnOld() : var->slnOlder(); }
VariableValue & ScalarCoupleable::coupledScalarValue(const std::string & var_name, unsigned int comp) { MooseVariableScalar * var = getScalarVar(var_name, comp); return (_sc_is_implicit) ? var->sln() : var->slnOld(); }