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 "THMSetupQuadratureAction.h" 11 : #include "THMProblem.h" 12 : 13 : registerMooseAction("ThermalHydraulicsApp", THMSetupQuadratureAction, "setup_quadrature"); 14 : 15 : InputParameters 16 4797 : THMSetupQuadratureAction::validParams() 17 : { 18 4797 : InputParameters params = Action::validParams(); 19 4797 : return params; 20 : } 21 : 22 4797 : THMSetupQuadratureAction::THMSetupQuadratureAction(const InputParameters & parameters) 23 4797 : : Action(parameters) 24 : { 25 4797 : } 26 : 27 : void 28 4731 : THMSetupQuadratureAction::act() 29 : { 30 4731 : THMProblem * thm_problem = dynamic_cast<THMProblem *>(_problem.get()); 31 4731 : if (thm_problem) 32 3270 : thm_problem->setupQuadrature(); 33 4731 : }