https://mooseframework.inl.gov
subchannel
unit
include
PBSodiumFluidPropertiesTest.h
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
#pragma once
11
12
#include "
MooseObjectUnitTest.h
"
13
#include "
PBSodiumFluidProperties.h
"
14
15
class
PBSodiumFluidPropertiesTest
:
public
MooseObjectUnitTest
16
{
17
public
:
18
PBSodiumFluidPropertiesTest
() :
MooseObjectUnitTest
(
"SubChannelApp"
) {
buildObjects
(); }
19
20
protected
:
21
void
buildObjects
()
22
{
23
InputParameters
uo_pars =
_factory
.
getValidParams
(
"PBSodiumFluidProperties"
);
24
_fe_problem
->addUserObject(
"PBSodiumFluidProperties"
,
"fp"
, uo_pars);
25
_fp
= &
_fe_problem
->getUserObject<
PBSodiumFluidProperties
>(
"fp"
);
26
}
27
28
const
PBSodiumFluidProperties
*
_fp
;
29
};
MooseObjectUnitTest::_fe_problem
std::shared_ptr< FEProblem > _fe_problem
PBSodiumFluidProperties
Class that implements the equations of state for single phase liquid sodium.
Definition:
PBSodiumFluidProperties.h:17
MooseObjectUnitTest::_factory
Factory & _factory
Factory::getValidParams
InputParameters getValidParams(const std::string &name) const
PBSodiumFluidProperties.h
InputParameters
PBSodiumFluidPropertiesTest::buildObjects
void buildObjects()
Definition:
PBSodiumFluidPropertiesTest.h:21
MooseObjectUnitTest
PBSodiumFluidPropertiesTest::PBSodiumFluidPropertiesTest
PBSodiumFluidPropertiesTest()
Definition:
PBSodiumFluidPropertiesTest.h:18
PBSodiumFluidPropertiesTest
Definition:
PBSodiumFluidPropertiesTest.h:15
PBSodiumFluidPropertiesTest::_fp
const PBSodiumFluidProperties * _fp
Definition:
PBSodiumFluidPropertiesTest.h:28
MooseObjectUnitTest.h
Generated on Fri Jul 18 2025 13:43:55 for https://mooseframework.inl.gov by
1.8.14