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

#include <SimpleFluidPropertiesTest.h>

Inheritance diagram for SimpleFluidPropertiesTest:
[legend]

Public Member Functions

 SimpleFluidPropertiesTest ()
 

Protected Member Functions

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

Protected Attributes

const SimpleFluidProperties_fp
 
const SimpleFluidProperties_fp2
 
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 SimpleFluidPropertiesTest.h.

Constructor & Destructor Documentation

◆ SimpleFluidPropertiesTest()

SimpleFluidPropertiesTest::SimpleFluidPropertiesTest ( )
inline

Definition at line 18 of file SimpleFluidPropertiesTest.h.

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

Member Function Documentation

◆ buildObjects()

void SimpleFluidPropertiesTest::buildObjects ( )
inlineprotected

Definition at line 21 of file SimpleFluidPropertiesTest.h.

Referenced by SimpleFluidPropertiesTest().

22  {
23  InputParameters uo_params = _factory.getValidParams("SimpleFluidProperties");
24  _fe_problem->addUserObject("SimpleFluidProperties", "fp", uo_params);
25  _fp = &_fe_problem->getUserObject<SimpleFluidProperties>("fp");
26 
27  InputParameters uo2_params = _factory.getValidParams("SimpleFluidProperties");
28  uo2_params.set<Real>("porepressure_coefficient") = 0.0;
29  _fe_problem->addUserObject("SimpleFluidProperties", "fp2", uo2_params);
30  _fp2 = &_fe_problem->getUserObject<SimpleFluidProperties>("fp2");
31  }
std::shared_ptr< FEProblem > _fe_problem
T & set(const std::string &name, bool quiet_mode=false)
InputParameters getValidParams(const std::string &name) const
const SimpleFluidProperties * _fp2
Fluid properties of a simple, idealised fluid density=density0 * exp(P / bulk_modulus - thermal_expan...
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const SimpleFluidProperties * _fp

Member Data Documentation

◆ _fp

const SimpleFluidProperties* SimpleFluidPropertiesTest::_fp
protected

Definition at line 33 of file SimpleFluidPropertiesTest.h.

Referenced by buildObjects().

◆ _fp2

const SimpleFluidProperties* SimpleFluidPropertiesTest::_fp2
protected

Definition at line 34 of file SimpleFluidPropertiesTest.h.

Referenced by buildObjects().


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