https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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 ()
 
TaddObject (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

Member Function Documentation

◆ buildObjects()

void SalineMoltenSaltFluidPropertiesTest::buildObjects ( )
inlineprotected

Definition at line 24 of file SalineMoltenSaltFluidPropertiesTest.h.

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);
32 }
InputParameters getValidParams(const std::string &name) const
T & set(const std::string &name, bool quiet_mode=false)
std::shared_ptr< FEProblem > _fe_problem
const SalineMoltenSaltFluidProperties * _fp
const T & getUserObject(const std::string &param_name, bool is_dependency=true) const

Referenced by SalineMoltenSaltFluidPropertiesTest().

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: