Object belonging checkers¶
Object belonging checkers serve two purpooses.
Firstly, they are used to split a
ParticleVector into two disjointed parts
(probably forming a new Particle Vector): the particles that are inside any object of
ObjectVector and the particles that are outside.
Secondly, they are used to maintain the mentioned inside-outside property of the particles
in the resulting
Such maintenance is performed periodically, and the particles of, e.g. inner PV that apper to mistakingly
be outside of the reference
ObjectVector will be moved to the outer PV (and viceversa).
If one of the PVs was specified as “none”, the erroneous particles will be deleted from the simulation.
||Base class for checking if particles belong to objects|
||This checker will use the analytical representation of the ellipsoid to detect inside-outside status.|
||This checker will use the triangular mesh associated with objects to detect inside-outside status.|
Base class for checking if particles belong to objects
Initialize self. See help(type(self)) for accurate signature.
This checker will use the analytical representation of the ellipsoid to detect inside-outside status.
__init__(name: str) → None¶
Parameters: name – name of the checker