https://mooseframework.inl.gov
SodiumPropertiesTest.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 "SodiumProperties.h"
14 
16 {
17 public:
18  SodiumPropertiesTest() : MooseObjectUnitTest("FluidPropertiesApp") { buildObjects(); }
19 
20 protected:
21  void buildObjects()
22  {
23  InputParameters uo_pars = _factory.getValidParams("SodiumProperties");
24  _fe_problem->addUserObject("SodiumProperties", "fp", uo_pars);
25  _fp = &_fe_problem->getUserObject<SodiumProperties>("fp");
26  }
27 
29 };
std::shared_ptr< FEProblem > _fe_problem
InputParameters getValidParams(const std::string &name) const
const SodiumProperties * _fp
Properties of liquid sodium from ANL/RE-95/2 report "Thermodynamic and Transport Properties of Sodium...