Line data Source code
1 : //* This file is part of the MOOSE framework 2 : //* https://mooseframework.inl.gov 3 : //* 4 : //* All rights reserved, see COPYRIGHT for full restrictions 5 : //* https://github.com/idaholab/moose/blob/master/COPYRIGHT 6 : //* 7 : //* Licensed under LGPL 2.1, please see LICENSE for details 8 : //* https://www.gnu.org/licenses/lgpl-2.1.html 9 : 10 : #include "ChainControlData.h" 11 : 12 : const ChainControl & 13 232 : ChainControlDataBase::getChainControl() const 14 : { 15 232 : if (!_chain_control) 16 0 : mooseError("No chain control has been set for chain control data '", name(), "'."); 17 : 18 232 : return *_chain_control; 19 : }