    

 ## On this page

  

 

 # IRockyMaterial Struct Reference

 Last update: 17.07.2025 

`#include <<a class="el" href="rocky__material__api_8hpp_source.xhtml">rocky_material_api.hpp</a>>`

## <a id="pub-methods" name="pub-methods"></a>Public Member Functions

ROCKY\_FUNCTIONS double [get\_young\_modulus](structIRockyMaterial.xhtml#ac2296f9b2afe54b6660f584d5d937994) () const ROCKY\_FUNCTIONS double [get\_poisson\_ratio](structIRockyMaterial.xhtml#a77ed523db8076cb87c69334481e0ad9b) () const ROCKY\_FUNCTIONS double [get\_density](structIRockyMaterial.xhtml#ac4a3805a7f95f47fbd93761d1b2013fe) () const ROCKY\_FUNCTIONS double [get\_specific\_heat](structIRockyMaterial.xhtml#ab0f6b6ddb2c899c76bad757864649a22) () const ROCKY\_FUNCTIONS double [get\_thermal\_conductivity](structIRockyMaterial.xhtml#a35481246571a954fa8954efc49631ba5) () const <a id="details" name="details"></a>## Detailed Description

`<a class="el" href="structIRockyMaterial.xhtml">IRockyMaterial</a>` is an interface for the internal material object, which gives access to values of the physical properties associated to the material that makes up some entity in Rocky. The values of all those properties are dimensionless values.



## Member Function Documentation

<a id="ac4a3805a7f95f47fbd93761d1b2013fe" name="ac4a3805a7f95f47fbd93761d1b2013fe"></a>## [◆ ](#ac4a3805a7f95f47fbd93761d1b2013fe)get\_density()

 ROCKY\_FUNCTIONS double IRockyMaterial::get\_density  ( )  const

ReturnsThe value of the density of the material. 



<a id="a77ed523db8076cb87c69334481e0ad9b" name="a77ed523db8076cb87c69334481e0ad9b"></a>## [◆ ](#a77ed523db8076cb87c69334481e0ad9b)get\_poisson\_ratio()

 ROCKY\_FUNCTIONS double IRockyMaterial::get\_poisson\_ratio  ( )  const

ReturnsThe value of the Poisson's ratio specified for the material. 



<a id="ab0f6b6ddb2c899c76bad757864649a22" name="ab0f6b6ddb2c899c76bad757864649a22"></a>## [◆ ](#ab0f6b6ddb2c899c76bad757864649a22)get\_specific\_heat()

 ROCKY\_FUNCTIONS double IRockyMaterial::get\_specific\_heat  ( )  const

ReturnsThe value of the specific heat of the material. 



<a id="a35481246571a954fa8954efc49631ba5" name="a35481246571a954fa8954efc49631ba5"></a>## [◆ ](#a35481246571a954fa8954efc49631ba5)get\_thermal\_conductivity()

 ROCKY\_FUNCTIONS double IRockyMaterial::get\_thermal\_conductivity  ( )  const

ReturnsThe value of the thermal conductivity of the material. 



<a id="ac2296f9b2afe54b6660f584d5d937994" name="ac2296f9b2afe54b6660f584d5d937994"></a>## [◆ ](#ac2296f9b2afe54b6660f584d5d937994)get\_young\_modulus()

 ROCKY\_FUNCTIONS double IRockyMaterial::get\_young\_modulus  ( )  const

ReturnsThe value of the Young's or elastic modulus. This value is the product of the Young's modulus specified for the material and the numerical softening factor, which is commonly used for reducing the stiffness and, in turn, increasing the simulation timestep. For more details, please refer to the DEM Technical Manual.