> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# IRockyBreakableParticle Struct Reference

`#include <rocky_particle_api.hpp>`

## Public Member Functions

| Type | Name |
| - | - |
| double | [get\_minimum\_fragment\_size](#a39311189362162e429f060557815729c) () const |
| double | [get\_original\_volume](#a22690da66add12be7a332bc4a0e596cc) () const |
| int | [get\_particle\_group\_index](#a6c9870ef714ee07eeb24bef485dac1b9) () const |
| double | [get\_strength](#abaff8573c455f7cf3793fefd8c43a793) () const |
| double | [get\_original\_size](#aca4e9c89438f779e191757c12103c65f) () const |
| void | [set\_as\_unbreakable](#a685c12928a91ee0fe62a243f35167d42) () const |
| [IRockyParticleScalars](https://developer.synopsys.com/docs/rocky/rocky-solver-sdk/2025-r1/structIRockyParticleScalars.md) | [get\_scalars](#a624157a56984db93a967eb5cad75fa83) () |
| [IRockyParticleBreakageScalars](https://developer.synopsys.com/docs/rocky/rocky-solver-sdk/2025-r1/structIRockyParticleBreakageScalars.md) | [get\_breakage\_scalars](#a5ccd372c25b095a9739c11dae8f02ab7) () |

## Detailed Description

[`IRockyBreakableParticle`](https://developer.synopsys.com/docs/rocky/rocky-solver-sdk/2025-r1/structIRockyBreakableParticle) is an interface for particles enabled to break through instantaneous breakage during a simulation. It may used for the initialization of [`IRockyParticleBreakageScalars`](https://developer.synopsys.com/docs/rocky/rocky-solver-sdk/2025-r1/structIRockyParticleBreakageScalars) that custom instantaneous breakage and/or fragment size distribution models may need.

## Member Function Documentation

### get\_breakage\_scalars()

```cpp theme={null}
IRockyParticleBreakageScalars IRockyBreakableParticle::get_breakage_scalars()
```

**Returns**

An [`IRockyParticleBreakageScalars`](https://developer.synopsys.com/docs/rocky/rocky-solver-sdk/2025-r1/structIRockyParticleBreakageScalars) object, that gives access to all particle breakage scalars variables defined in the project.

### get\_minimum\_fragment\_size()

```cpp theme={null}
double IRockyBreakableParticle::get_minimum_fragment_size() const
```

**Returns**

The minimum size that a fragment generated at a breakage event of the particle can have. Please refer to the DEM Technical Manual for more information about how this parameter is defined.

### get\_original\_size()

```cpp theme={null}
double IRockyBreakableParticle::get_original_size() const
```

**Returns**

The value of the particle's size at the moment it enters a simulation.

### get\_original\_volume()

```cpp theme={null}
double IRockyBreakableParticle::get_original_volume() const
```

**Returns**

The volume of the particle at the moment it enters a simulation.

### get\_particle\_group\_index()

```cpp theme={null}
int IRockyBreakableParticle::get_particle_group_index() const
```

**Returns**

The index that identifies internally the particle group to which the particle belongs.

### get\_scalars()

```cpp theme={null}
IRockyParticleScalars IRockyBreakableParticle::get_scalars()
```

**Returns**

An [`IRockyParticleScalars`](https://developer.synopsys.com/docs/rocky/rocky-solver-sdk/2025-r1/structIRockyParticleScalars) object, that gives access to all particle scalars variables defined in the project.

### get\_strength()

```cpp theme={null}
double IRockyBreakableParticle::get_strength() const
```

**Returns**

A random value between 0 and 1 assigned to a particle at the time of generation. This value can be related to the breakage probability in a custom instantaneous breakage model.

### set\_as\_unbreakable()

```cpp theme={null}
void IRockyBreakableParticle::set_as_unbreakable() const
```

**If this method is called during breakage initialization, the particle**

will be marked to be ignored at all instantaneous breakage-related procedures during the simulation.
