https://mooseframework.inl.gov
Loading...
Searching...
No Matches
thermal_hydraulics
src
actions
THMBuildMeshAction.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 "
THMBuildMeshAction.h
"
11
#include "
THMProblem.h
"
12
13
registerMooseAction
(
"ThermalHydraulicsApp"
,
THMBuildMeshAction
,
"THM:build_mesh"
);
14
15
InputParameters
16
THMBuildMeshAction::validParams
()
17
{
18
InputParameters
params =
Action::validParams
();
19
return
params;
20
}
21
22
THMBuildMeshAction::THMBuildMeshAction
(
const
InputParameters
& params) :
Action
(params) {}
23
24
void
25
THMBuildMeshAction::act
()
26
{
27
THMProblem
* thm_problem =
dynamic_cast<
THMProblem
*
>
(
_problem
.get());
28
if
(thm_problem)
29
thm_problem->
buildMesh
();
30
}
registerMooseAction
registerMooseAction("ThermalHydraulicsApp", THMBuildMeshAction, "THM:build_mesh")
THMBuildMeshAction.h
THMProblem.h
Action
Action::validParams
static InputParameters validParams()
Action::_problem
std::shared_ptr< FEProblemBase > & _problem
Simulation::buildMesh
virtual void buildMesh()
Create mesh for this simulation.
Definition
Simulation.C:87
THMBuildMeshAction
Definition
THMBuildMeshAction.h:15
THMBuildMeshAction::validParams
static InputParameters validParams()
Definition
THMBuildMeshAction.C:16
THMBuildMeshAction::THMBuildMeshAction
THMBuildMeshAction(const InputParameters ¶ms)
Definition
THMBuildMeshAction.C:22
THMBuildMeshAction::act
virtual void act()
Definition
THMBuildMeshAction.C:25
THMProblem
Specialization of FEProblem to run with component subsystem.
Definition
THMProblem.h:19
InputParameters
Generated on Fri Aug 21 2026 13:41:55 for https://mooseframework.inl.gov by
1.9.8