https://mooseframework.inl.gov
Loading...
Searching...
No Matches
fluid_properties
unit
include
HeliumFluidPropertiesTest.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 "
HeliumFluidProperties.h
"
14
15
class
HeliumFluidPropertiesTest
:
public
MooseObjectUnitTest
16
{
17
public
:
18
HeliumFluidPropertiesTest
() :
MooseObjectUnitTest
(
"FluidPropertiesApp"
) {
buildObjects
(); }
19
20
protected
:
21
void
buildObjects
()
22
{
23
InputParameters
uo_pars =
_factory
.
getValidParams
(
"HeliumFluidProperties"
);
24
_fe_problem
->addUserObject(
"HeliumFluidProperties"
,
"fp"
, uo_pars);
25
_fp
= &
_fe_problem
->
getUserObject
<
HeliumFluidProperties
>(
"fp"
);
26
}
27
28
const
HeliumFluidProperties
*
_fp
;
29
};
HeliumFluidProperties.h
MooseObjectUnitTest.h
Factory::getValidParams
InputParameters getValidParams(const std::string &name) const
HeliumFluidPropertiesTest
Definition
HeliumFluidPropertiesTest.h:16
HeliumFluidPropertiesTest::buildObjects
void buildObjects()
Definition
HeliumFluidPropertiesTest.h:21
HeliumFluidPropertiesTest::HeliumFluidPropertiesTest
HeliumFluidPropertiesTest()
Definition
HeliumFluidPropertiesTest.h:18
HeliumFluidPropertiesTest::_fp
const HeliumFluidProperties * _fp
Definition
HeliumFluidPropertiesTest.h:28
HeliumFluidProperties
Fluid properties for helium .
Definition
HeliumFluidProperties.h:18
MooseObjectUnitTest
MooseObjectUnitTest::_fe_problem
std::shared_ptr< FEProblem > _fe_problem
MooseObjectUnitTest::_factory
Factory & _factory
ThreadedGeneralUserObject::getUserObject
const T & getUserObject(const std::string ¶m_name, bool is_dependency=true) const
InputParameters
Generated on Mon Aug 24 2026 19:09:48 for https://mooseframework.inl.gov by
1.9.8