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

#include <SinglePhaseFluidPropertiesTest.h>

Inheritance diagram for SinglePhaseFluidPropertiesTest:
[legend]

Public Member Functions

 SinglePhaseFluidPropertiesTest ()
 

Protected Member Functions

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

Protected Attributes

const TestSinglePhaseFluidProperties_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 SinglePhaseFluidPropertiesTest.h.

Constructor & Destructor Documentation

◆ SinglePhaseFluidPropertiesTest()

SinglePhaseFluidPropertiesTest::SinglePhaseFluidPropertiesTest ( )
inline

Definition at line 18 of file SinglePhaseFluidPropertiesTest.h.

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

Member Function Documentation

◆ buildObjects()

void SinglePhaseFluidPropertiesTest::buildObjects ( )
inlineprotected

Definition at line 21 of file SinglePhaseFluidPropertiesTest.h.

Referenced by SinglePhaseFluidPropertiesTest().

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

Member Data Documentation

◆ _fp

const TestSinglePhaseFluidProperties* SinglePhaseFluidPropertiesTest::_fp
protected

Definition at line 28 of file SinglePhaseFluidPropertiesTest.h.

Referenced by buildObjects().


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