https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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 ()
 
TaddObject (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.

Member Function Documentation

◆ buildObjects()

void ThermalUCPropertiesTest::buildObjects ( )
inlineprotected

Definition at line 21 of file ThermalUCPropertiesTest.h.

22 {
23 InputParameters uo_pars1 = _factory.getValidParams("ThermalUCProperties");
24 _fe_problem->addUserObject("ThermalUCProperties", "sp1", uo_pars1);
26
27 InputParameters uo_pars2 = _factory.getValidParams("ThermalUCProperties");
28 uo_pars2.set<Real>("density") = 13000.0;
29 _fe_problem->addUserObject("ThermalUCProperties", "sp2", uo_pars2);
31 }
InputParameters getValidParams(const std::string &name) const
T & set(const std::string &name, bool quiet_mode=false)
std::shared_ptr< FEProblem > _fe_problem
const ThermalUCProperties * _sp1
const ThermalUCProperties * _sp2
const T & getUserObject(const std::string &param_name, bool is_dependency=true) const
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real

Referenced by ThermalUCPropertiesTest().

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: