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

#include <SalineMoltenSaltFluidPropertiesTest.h>

Inheritance diagram for SalineMoltenSaltFluidPropertiesTest:
[legend]

Public Member Functions

 SalineMoltenSaltFluidPropertiesTest ()
 

Protected Member Functions

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

Protected Attributes

const SalineMoltenSaltFluidProperties_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 SalineMoltenSaltFluidPropertiesTest.h.

Constructor & Destructor Documentation

◆ SalineMoltenSaltFluidPropertiesTest()

SalineMoltenSaltFluidPropertiesTest::SalineMoltenSaltFluidPropertiesTest ( )
inline

Definition at line 18 of file SalineMoltenSaltFluidPropertiesTest.h.

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

Member Function Documentation

◆ buildObjects()

void SalineMoltenSaltFluidPropertiesTest::buildObjects ( )
inlineprotected

Definition at line 24 of file SalineMoltenSaltFluidPropertiesTest.h.

Referenced by SalineMoltenSaltFluidPropertiesTest().

25  {
26  InputParameters uo_pars = _factory.getValidParams("SalineMoltenSaltFluidProperties");
27  uo_pars.set<std::vector<std::string>>("comp_name") = {"LiF", "NaF", "KF"};
28  uo_pars.set<std::vector<Real>>("comp_val") = {0.465, 0.115, 0.42};
29  uo_pars.set<std::string>("prop_def_file") = "../test/tests/saline/saline_custom.prp";
30  _fe_problem->addUserObject("SalineMoltenSaltFluidProperties", "fp", uo_pars);
31  _fp = &_fe_problem->getUserObject<SalineMoltenSaltFluidProperties>("fp");
32  }
std::shared_ptr< FEProblem > _fe_problem
T & set(const std::string &name, bool quiet_mode=false)
InputParameters getValidParams(const std::string &name) const
const SalineMoltenSaltFluidProperties * _fp

Member Data Documentation

◆ _fp

const SalineMoltenSaltFluidProperties* SalineMoltenSaltFluidPropertiesTest::_fp
protected

Definition at line 34 of file SalineMoltenSaltFluidPropertiesTest.h.

Referenced by buildObjects().


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