https://mooseframework.inl.gov
solid_properties
unit
include
ThermalSS316PropertiesTest.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 "
ThermalSS316Properties.h
"
14
15
class
ThermalSS316PropertiesTest
:
public
MooseObjectUnitTest
16
{
17
public
:
18
ThermalSS316PropertiesTest
() :
MooseObjectUnitTest
(
"SolidPropertiesApp"
) {
buildObjects
(); }
19
20
protected
:
21
void
buildObjects
()
22
{
23
InputParameters
uo_pars =
_factory
.
getValidParams
(
"ThermalSS316Properties"
);
24
_fe_problem
->addUserObject(
"ThermalSS316Properties"
,
"sp"
, uo_pars);
25
_sp
= &
_fe_problem
->getUserObject<
ThermalSS316Properties
>(
"sp"
);
26
}
27
28
const
ThermalSS316Properties
*
_sp
;
29
};
ThermalSS316PropertiesTest
Definition:
ThermalSS316PropertiesTest.h:15
MooseObjectUnitTest::_fe_problem
std::shared_ptr< FEProblem > _fe_problem
MooseObjectUnitTest::_factory
Factory & _factory
Factory::getValidParams
InputParameters getValidParams(const std::string &name) const
ThermalSS316Properties
Stainless steel alloy 316 thermal solid properties as a function of temperature.
Definition:
ThermalSS316Properties.h:18
InputParameters
MooseObjectUnitTest
ThermalSS316PropertiesTest::_sp
const ThermalSS316Properties * _sp
Definition:
ThermalSS316PropertiesTest.h:28
ThermalSS316Properties.h
ThermalSS316PropertiesTest::ThermalSS316PropertiesTest
ThermalSS316PropertiesTest()
Definition:
ThermalSS316PropertiesTest.h:18
ThermalSS316PropertiesTest::buildObjects
void buildObjects()
Definition:
ThermalSS316PropertiesTest.h:21
MooseObjectUnitTest.h
Generated on Fri Jul 18 2025 13:43:49 for https://mooseframework.inl.gov by
1.8.14