https://mooseframework.inl.gov
SCMClosureBase.C
Go to the documentation of this file.
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 "SCMClosureBase.h"
11 #include "MooseObject.h"
12 #include "SCM.h"
13 
16 {
18  params.registerBase("SCMClosureBase");
19 
20  // Suppress unused parameters
21  params.suppressParameter<bool>("use_displaced_mesh");
22  params.suppressParameter<ExecFlagEnum>("execute_on");
23  params.suppressParameter<bool>("allow_duplicate_execution_on_initial");
24  params.suppressParameter<bool>("force_preic");
25  params.suppressParameter<bool>("force_preaux");
26  params.suppressParameter<bool>("force_postaux");
27  params.suppressParameter<int>("execution_order_group");
28 
29  return params;
30 }
31 
33  : ThreadedGeneralUserObject(parameters),
34  _subchannel_mesh(SCM::getConstMesh<SubChannelMesh>(_subproblem.mesh())),
35  _scm_problem(dynamic_cast<SubChannel1PhaseProblem &>(_fe_problem))
36 {
37 }
static InputParameters validParams()
MeshBase & mesh
void suppressParameter(const std::string &name)
void registerBase(const std::string &value)
SCMClosureBase(const InputParameters &parameters)
const T & getConstMesh(const MooseMesh &mesh)
function to cast const mesh
Definition: SCM.h:21
Base class for the 1-phase steady-state/transient subchannel solver.
static InputParameters validParams()
Base class for subchannel meshes.
Definition: SCM.h:16