mc_lj_potential.Box.volume

property Box.volume

Property decorator function which calculates the volume of the cubic simulation box.

Parameters

box_length (float) – Side of cubic simulation box.

Returns

volume=box_length**3

Return type

float