element
- class granoo3.lib.element
Bases:
granoo3.lib.body
abstract class for modeling a dem element. An element has no shape
Methods Summary
bond_list
(arg1)get the connected bond list
bonded_element_list
(arg1)get the list of the bonded elements
has_strain
(arg1)check if this object has a strain property
has_thermal
(arg1)check if this object has a thermal property
is_bonded
(arg1, arg2)ask if the element is bonded to another
is_discrete_element
(arg1)ask if the element is a spherical discrete element
is_voronoi_element
(arg1)ask if the element is a polyhedral voronoi element
kinetic_energy
(arg1)compute kinetic energy
strain
(arg1)get the strain property
thermal
(arg1)get thermal property
Methods Documentation
- bonded_element_list((element)arg1) element_list[STATIC]
get the list of the bonded elements
- has_strain((element)arg1) bool[STATIC]
check if this object has a strain property
- has_thermal((element)arg1) bool[STATIC]
check if this object has a thermal property
- is_bonded((element)arg1, (element)arg2) bool[STATIC]
ask if the element is bonded to another
- is_discrete_element((element)arg1) bool[STATIC]
ask if the element is a spherical discrete element
- is_voronoi_element((element)arg1) bool[STATIC]
ask if the element is a polyhedral voronoi element
- kinetic_energy((element)arg1) float[STATIC]
compute kinetic energy