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

#include <ThermalMonolithicSiCPropertiesTest.h>

Inheritance diagram for ThermalMonolithicSiCPropertiesTest:
[legend]

Public Member Functions

 ThermalMonolithicSiCPropertiesTest ()
 

Protected Member Functions

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

Protected Attributes

const ThermalMonolithicSiCProperties_sp1
 
const ThermalMonolithicSiCProperties_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 ThermalMonolithicSiCPropertiesTest.h.

Constructor & Destructor Documentation

◆ ThermalMonolithicSiCPropertiesTest()

ThermalMonolithicSiCPropertiesTest::ThermalMonolithicSiCPropertiesTest ( )
inline

Definition at line 18 of file ThermalMonolithicSiCPropertiesTest.h.

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

Member Function Documentation

◆ buildObjects()

void ThermalMonolithicSiCPropertiesTest::buildObjects ( )
inlineprotected

Definition at line 24 of file ThermalMonolithicSiCPropertiesTest.h.

Referenced by ThermalMonolithicSiCPropertiesTest().

25  {
26  InputParameters uo_pars1 = _factory.getValidParams("ThermalMonolithicSiCProperties");
27  uo_pars1.set<MooseEnum>("thermal_conductivity_model") = "SNEAD";
28  _fe_problem->addUserObject("ThermalMonolithicSiCProperties", "sp1", uo_pars1);
29  _sp1 = &_fe_problem->getUserObject<ThermalMonolithicSiCProperties>("sp1");
30 
31  InputParameters uo_pars2 = _factory.getValidParams("ThermalMonolithicSiCProperties");
32  uo_pars2.set<MooseEnum>("thermal_conductivity_model") = "STONE";
33  uo_pars2.set<Real>("density") = 3000.0;
34  _fe_problem->addUserObject("ThermalMonolithicSiCProperties", "sp2", uo_pars2);
35  _sp2 = &_fe_problem->getUserObject<ThermalMonolithicSiCProperties>("sp2");
36  }
std::shared_ptr< FEProblem > _fe_problem
Monolithic silicon carbide properties as a function of temperature.
const ThermalMonolithicSiCProperties * _sp2
const ThermalMonolithicSiCProperties * _sp1
T & set(const std::string &name, bool quiet_mode=false)
InputParameters getValidParams(const std::string &name) const
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real

Member Data Documentation

◆ _sp1

const ThermalMonolithicSiCProperties* ThermalMonolithicSiCPropertiesTest::_sp1
protected

Definition at line 39 of file ThermalMonolithicSiCPropertiesTest.h.

Referenced by buildObjects().

◆ _sp2

const ThermalMonolithicSiCProperties* ThermalMonolithicSiCPropertiesTest::_sp2
protected

Definition at line 42 of file ThermalMonolithicSiCPropertiesTest.h.

Referenced by buildObjects().


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