https://mooseframework.inl.gov
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
NaKFluidPropertiesTest Class Reference

#include <NaKFluidPropertiesTest.h>

Inheritance diagram for NaKFluidPropertiesTest:
[legend]

Public Member Functions

 NaKFluidPropertiesTest ()
 

Protected Member Functions

void buildObjects ()
 
T & addObject (const std::string &type, const std::string &name, InputParameters &params)
 

Protected Attributes

const NaKFluidProperties_fp
 
std::unique_ptr< MooseMesh_mesh
 
std::shared_ptr< MooseApp_app
 
Factory_factory
 
std::shared_ptr< FEProblem_fe_problem
 

Detailed Description

Definition at line 15 of file NaKFluidPropertiesTest.h.

Constructor & Destructor Documentation

◆ NaKFluidPropertiesTest()

NaKFluidPropertiesTest::NaKFluidPropertiesTest ( )
inline

Definition at line 18 of file NaKFluidPropertiesTest.h.

18 : MooseObjectUnitTest("FluidPropertiesApp") { buildObjects(); }
MooseObjectUnitTest(const std::string &app_name)

Member Function Documentation

◆ buildObjects()

void NaKFluidPropertiesTest::buildObjects ( )
inlineprotected

Definition at line 21 of file NaKFluidPropertiesTest.h.

Referenced by NaKFluidPropertiesTest().

22  {
23  InputParameters uo_pars = _factory.getValidParams("NaKFluidProperties");
24  uo_pars.set<Real>("weight_fraction_K") = 0.778;
25  _fe_problem->addUserObject("NaKFluidProperties", "fp", uo_pars);
26  _fp = &_fe_problem->getUserObject<NaKFluidProperties>("fp");
27  }
std::shared_ptr< FEProblem > _fe_problem
NaK fluid properties as a function of pressure (Pa) and temperature (K).
T & set(const std::string &name, bool quiet_mode=false)
InputParameters getValidParams(const std::string &name) const
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const NaKFluidProperties * _fp

Member Data Documentation

◆ _fp

const NaKFluidProperties* NaKFluidPropertiesTest::_fp
protected

Definition at line 29 of file NaKFluidPropertiesTest.h.

Referenced by buildObjects().


The documentation for this class was generated from the following file: