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

#include <MethaneFluidPropertiesTest.h>

Inheritance diagram for MethaneFluidPropertiesTest:
[legend]

Public Member Functions

 MethaneFluidPropertiesTest ()
 

Protected Member Functions

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

Protected Attributes

const MethaneFluidProperties_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 MethaneFluidPropertiesTest.h.

Constructor & Destructor Documentation

◆ MethaneFluidPropertiesTest()

MethaneFluidPropertiesTest::MethaneFluidPropertiesTest ( )
inline

Definition at line 18 of file MethaneFluidPropertiesTest.h.

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

Member Function Documentation

◆ buildObjects()

void MethaneFluidPropertiesTest::buildObjects ( )
inlineprotected

Definition at line 21 of file MethaneFluidPropertiesTest.h.

Referenced by MethaneFluidPropertiesTest().

22  {
23  InputParameters uo_pars = _factory.getValidParams("MethaneFluidProperties");
24  _fe_problem->addUserObject("MethaneFluidProperties", "fp", uo_pars);
25  _fp = &_fe_problem->getUserObject<MethaneFluidProperties>("fp");
26  }
std::shared_ptr< FEProblem > _fe_problem
const MethaneFluidProperties * _fp
InputParameters getValidParams(const std::string &name) const
Methane (CH4) fluid properties as a function of pressure (Pa) and temperature (K).

Member Data Documentation

◆ _fp

const MethaneFluidProperties* MethaneFluidPropertiesTest::_fp
protected

Definition at line 28 of file MethaneFluidPropertiesTest.h.

Referenced by buildObjects().


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