https://mooseframework.inl.gov
thermal_hydraulics
src
actions
THMPreconditioningIntegrityCheckAction.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 "
THMPreconditioningIntegrityCheckAction.h
"
11
#include "
THMProblem.h
"
12
#include "
ThermalHydraulicsApp.h
"
13
14
registerMooseAction
(
"ThermalHydraulicsApp"
,
15
THMPreconditioningIntegrityCheckAction
,
16
"THM:preconditioning_integrity_check"
);
17
18
InputParameters
19
THMPreconditioningIntegrityCheckAction::validParams
()
20
{
21
InputParameters
params =
Action::validParams
();
22
23
return
params;
24
}
25
26
THMPreconditioningIntegrityCheckAction::THMPreconditioningIntegrityCheckAction
(
27
const
InputParameters
& parameters)
28
:
Action
(parameters)
29
{
30
}
31
32
void
33
THMPreconditioningIntegrityCheckAction::act
()
34
{
35
THMProblem
* thm_problem =
dynamic_cast<
THMProblem
*
>
(
_problem
.get());
36
if
(thm_problem)
37
thm_problem->
couplingMatrixIntegrityCheck
();
38
}
THMPreconditioningIntegrityCheckAction::validParams
static InputParameters validParams()
Definition:
THMPreconditioningIntegrityCheckAction.C:19
THMProblem
Specialization of FEProblem to run with component subsystem.
Definition:
THMProblem.h:18
THMPreconditioningIntegrityCheckAction.h
registerMooseAction
registerMooseAction("ThermalHydraulicsApp", THMPreconditioningIntegrityCheckAction, "THM:preconditioning_integrity_check")
Action
Simulation::couplingMatrixIntegrityCheck
virtual void couplingMatrixIntegrityCheck() const
Check integrity of coupling matrix used by the preconditioner.
Definition:
Simulation.C:807
InputParameters
Action::validParams
static InputParameters validParams()
ThermalHydraulicsApp.h
THMPreconditioningIntegrityCheckAction
Action to trigger the integrity check of preconditioner.
Definition:
THMPreconditioningIntegrityCheckAction.h:17
THMProblem.h
Action::_problem
std::shared_ptr< FEProblemBase > & _problem
THMPreconditioningIntegrityCheckAction::act
virtual void act()
Definition:
THMPreconditioningIntegrityCheckAction.C:33
THMPreconditioningIntegrityCheckAction::THMPreconditioningIntegrityCheckAction
THMPreconditioningIntegrityCheckAction(const InputParameters ¶meters)
Definition:
THMPreconditioningIntegrityCheckAction.C:26
Generated on Fri Jul 18 2025 11:57:40 for https://mooseframework.inl.gov by
1.8.14