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

#include <ThermalCompositeSiCPropertiesTest.h>

Inheritance diagram for ThermalCompositeSiCPropertiesTest:
[legend]

Public Member Functions

 ThermalCompositeSiCPropertiesTest ()
 

Protected Member Functions

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

Protected Attributes

const ThermalCompositeSiCProperties_sp1
 
const ThermalCompositeSiCProperties_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 ThermalCompositeSiCPropertiesTest.h.

Constructor & Destructor Documentation

◆ ThermalCompositeSiCPropertiesTest()

ThermalCompositeSiCPropertiesTest::ThermalCompositeSiCPropertiesTest ( )
inline

Definition at line 18 of file ThermalCompositeSiCPropertiesTest.h.

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

Member Function Documentation

◆ buildObjects()

void ThermalCompositeSiCPropertiesTest::buildObjects ( )
inlineprotected

Definition at line 24 of file ThermalCompositeSiCPropertiesTest.h.

Referenced by ThermalCompositeSiCPropertiesTest().

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

Member Data Documentation

◆ _sp1

const ThermalCompositeSiCProperties* ThermalCompositeSiCPropertiesTest::_sp1
protected

Definition at line 36 of file ThermalCompositeSiCPropertiesTest.h.

Referenced by buildObjects().

◆ _sp2

const ThermalCompositeSiCProperties* ThermalCompositeSiCPropertiesTest::_sp2
protected

Definition at line 39 of file ThermalCompositeSiCPropertiesTest.h.

Referenced by buildObjects().


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