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

#include <LeadFluidPropertiesTest.h>

Inheritance diagram for LeadFluidPropertiesTest:
[legend]

Public Member Functions

 LeadFluidPropertiesTest ()
 

Protected Member Functions

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

Protected Attributes

const LeadFluidProperties_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 LeadFluidPropertiesTest.h.

Constructor & Destructor Documentation

◆ LeadFluidPropertiesTest()

LeadFluidPropertiesTest::LeadFluidPropertiesTest ( )
inline

Definition at line 18 of file LeadFluidPropertiesTest.h.

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

Member Function Documentation

◆ buildObjects()

void LeadFluidPropertiesTest::buildObjects ( )
inlineprotected

Definition at line 21 of file LeadFluidPropertiesTest.h.

Referenced by LeadFluidPropertiesTest().

22  {
23  InputParameters uo_pars = _factory.getValidParams("LeadFluidProperties");
24  _fe_problem->addUserObject("LeadFluidProperties", "fp", uo_pars);
25  _fp = &_fe_problem->getUserObject<LeadFluidProperties>("fp");
26  }
std::shared_ptr< FEProblem > _fe_problem
InputParameters getValidParams(const std::string &name) const
Fluid properties for (Lead) .
const LeadFluidProperties * _fp

Member Data Documentation

◆ _fp

const LeadFluidProperties* LeadFluidPropertiesTest::_fp
protected

Definition at line 28 of file LeadFluidPropertiesTest.h.

Referenced by buildObjects().


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