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

#include <ThermalGraphitePropertiesTest.h>

Inheritance diagram for ThermalGraphitePropertiesTest:
[legend]

Public Member Functions

 ThermalGraphitePropertiesTest ()
 

Protected Member Functions

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

Protected Attributes

const ThermalGraphiteProperties_sp1
 
const ThermalGraphiteProperties_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 ThermalGraphitePropertiesTest.h.

Constructor & Destructor Documentation

◆ ThermalGraphitePropertiesTest()

ThermalGraphitePropertiesTest::ThermalGraphitePropertiesTest ( )
inline

Definition at line 18 of file ThermalGraphitePropertiesTest.h.

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

Member Function Documentation

◆ buildObjects()

void ThermalGraphitePropertiesTest::buildObjects ( )
inlineprotected

Definition at line 21 of file ThermalGraphitePropertiesTest.h.

Referenced by ThermalGraphitePropertiesTest().

22  {
23  InputParameters uo_pars1 = _factory.getValidParams("ThermalGraphiteProperties");
24  uo_pars1.set<MooseEnum>("grade") = "H_451";
25  _fe_problem->addUserObject("ThermalGraphiteProperties", "sp1", uo_pars1);
26  _sp1 = &_fe_problem->getUserObject<ThermalGraphiteProperties>("sp1");
27 
28  InputParameters uo_pars2 = _factory.getValidParams("ThermalGraphiteProperties");
29  uo_pars2.set<MooseEnum>("grade") = "H_451";
30  uo_pars2.set<Real>("density") = 2000.0;
31  _fe_problem->addUserObject("ThermalGraphiteProperties", "sp2", uo_pars2);
32  _sp2 = &_fe_problem->getUserObject<ThermalGraphiteProperties>("sp2");
33  }
std::shared_ptr< FEProblem > _fe_problem
T & set(const std::string &name, bool quiet_mode=false)
const ThermalGraphiteProperties * _sp1
InputParameters getValidParams(const std::string &name) const
Graphite thermal properties as a function of temperature.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const ThermalGraphiteProperties * _sp2

Member Data Documentation

◆ _sp1

const ThermalGraphiteProperties* ThermalGraphitePropertiesTest::_sp1
protected

Definition at line 36 of file ThermalGraphitePropertiesTest.h.

Referenced by buildObjects().

◆ _sp2

const ThermalGraphiteProperties* ThermalGraphitePropertiesTest::_sp2
protected

Definition at line 39 of file ThermalGraphitePropertiesTest.h.

Referenced by buildObjects().


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