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

#include <ThermalUCPropertiesTest.h>

Inheritance diagram for ThermalUCPropertiesTest:
[legend]

Public Member Functions

 ThermalUCPropertiesTest ()
 

Protected Member Functions

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

Protected Attributes

const ThermalUCProperties_sp1
 
const ThermalUCProperties_sp2
 
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 ThermalUCPropertiesTest.h.

Constructor & Destructor Documentation

◆ ThermalUCPropertiesTest()

ThermalUCPropertiesTest::ThermalUCPropertiesTest ( )
inline

Definition at line 18 of file ThermalUCPropertiesTest.h.

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

Member Function Documentation

◆ buildObjects()

void ThermalUCPropertiesTest::buildObjects ( )
inlineprotected

Definition at line 21 of file ThermalUCPropertiesTest.h.

Referenced by ThermalUCPropertiesTest().

22  {
23  InputParameters uo_pars1 = _factory.getValidParams("ThermalUCProperties");
24  _fe_problem->addUserObject("ThermalUCProperties", "sp1", uo_pars1);
25  _sp1 = &_fe_problem->getUserObject<ThermalUCProperties>("sp1");
26 
27  InputParameters uo_pars2 = _factory.getValidParams("ThermalUCProperties");
28  uo_pars2.set<Real>("density") = 13000.0;
29  _fe_problem->addUserObject("ThermalUCProperties", "sp2", uo_pars2);
30  _sp2 = &_fe_problem->getUserObject<ThermalUCProperties>("sp2");
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 ThermalUCProperties * _sp2
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const ThermalUCProperties * _sp1

Member Data Documentation

◆ _sp1

const ThermalUCProperties* ThermalUCPropertiesTest::_sp1
protected

Definition at line 33 of file ThermalUCPropertiesTest.h.

Referenced by buildObjects().

◆ _sp2

const ThermalUCProperties* ThermalUCPropertiesTest::_sp2
protected

Definition at line 36 of file ThermalUCPropertiesTest.h.

Referenced by buildObjects().


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