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

#include <SodiumPropertiesTest.h>

Inheritance diagram for SodiumPropertiesTest:
[legend]

Public Member Functions

 SodiumPropertiesTest ()
 

Protected Member Functions

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

Protected Attributes

const SodiumProperties_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 SodiumPropertiesTest.h.

Constructor & Destructor Documentation

◆ SodiumPropertiesTest()

SodiumPropertiesTest::SodiumPropertiesTest ( )
inline

Definition at line 18 of file SodiumPropertiesTest.h.

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

Member Function Documentation

◆ buildObjects()

void SodiumPropertiesTest::buildObjects ( )
inlineprotected

Definition at line 21 of file SodiumPropertiesTest.h.

Referenced by SodiumPropertiesTest().

22  {
23  InputParameters uo_pars = _factory.getValidParams("SodiumProperties");
24  _fe_problem->addUserObject("SodiumProperties", "fp", uo_pars);
25  _fp = &_fe_problem->getUserObject<SodiumProperties>("fp");
26  }
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...

Member Data Documentation

◆ _fp

const SodiumProperties* SodiumPropertiesTest::_fp
protected

Definition at line 28 of file SodiumPropertiesTest.h.

Referenced by buildObjects().


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