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 "GeneralUserObject.h" 11 : 12 : InputParameters 13 3145644 : GeneralUserObject::validParams() 14 : { 15 3145644 : InputParameters params = UserObject::validParams(); 16 3145644 : params += MaterialPropertyInterface::validParams(); 17 : 18 3145644 : return params; 19 0 : } 20 : 21 30189 : GeneralUserObject::GeneralUserObject(const InputParameters & parameters) 22 : : UserObject(parameters), 23 : ScalarCoupleable(this), 24 : MaterialPropertyInterface(this, Moose::EMPTY_BLOCK_IDS, Moose::EMPTY_BOUNDARY_IDS), 25 30189 : TransientInterface(this) 26 : { 27 30189 : } 28 : 29 : void 30 0 : GeneralUserObject::threadJoin(const UserObject &) 31 : { 32 0 : mooseError("GeneralUserObjects do not execute using threads, this function does nothing and " 33 : "should not be used."); 34 : } 35 : 36 : void 37 0 : GeneralUserObject::subdomainSetup() 38 : { 39 0 : mooseError("GeneralUserObjects do not execute subdomainSetup method, this function does nothing " 40 : "and should not be used."); 41 : }