Class Atom
java.lang.Object
org.episteme.natural.physics.classical.mechanics.Particle
org.episteme.natural.chemistry.Atom
- All Implemented Interfaces:
Serializable, SpatialOctree.SpatialObject, Commented, ComprehensiveIdentification, Identified<Identification>, Named
An atom in a molecular structure.
Extends Generic Linear Algebra Particle for physical simulation.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoiddistanceTo(Atom other) Distance to another atom.getForce()getId()Returns the unique identifier of this entity.Returns the traits map for this entity.doublegetX()Returns the x-coordinate of this atom.doublegetY()Returns the y-coordinate of this atom.doublegetZ()Returns the z-coordinate of this atom.voidvoidsetFormalCharge(Quantity<ElectricCharge> charge) voidsetIsotope(Isotope isotope) toString()Methods inherited from class Particle
distanceTo, getAcceleration, getMass, getMassValue, getPosition, getVelocity, kineticEnergy, setAcceleration, setAcceleration, setAcceleration, setPosition, setPosition, setVelocity, setVelocity, setVelocity, updatePosition, updateVelocityMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Commented
getComments, getTrait, setCommentsMethods inherited from interface ComprehensiveIdentification
getName, getTrait, setName, setTrait
-
Field Details
-
traits
-
-
Constructor Details
-
Atom
-
Atom
-
-
Method Details
-
getElement
-
getForce
-
setForce
-
addForce
-
clearForce
public void clearForce() -
getFormalCharge
-
setFormalCharge
-
setIsotope
-
getIsotope
-
getId
Description copied from interface:IdentifiedReturns the unique identifier of this entity.- Specified by:
getIdin interfaceIdentified<Identification>- Returns:
- the identifier
-
getX
public double getX()Returns the x-coordinate of this atom.- Specified by:
getXin interfaceSpatialOctree.SpatialObject- Overrides:
getXin classParticle- Returns:
- the x-coordinate
-
getY
public double getY()Returns the y-coordinate of this atom.- Specified by:
getYin interfaceSpatialOctree.SpatialObject- Overrides:
getYin classParticle- Returns:
- the y-coordinate
-
getZ
public double getZ()Returns the z-coordinate of this atom.- Specified by:
getZin interfaceSpatialOctree.SpatialObject- Overrides:
getZin classParticle- Returns:
- the z-coordinate
-
getTraits
Description copied from interface:ComprehensiveIdentificationReturns the traits map for this entity.- Specified by:
getTraitsin interfaceCommented- Specified by:
getTraitsin interfaceComprehensiveIdentification- Returns:
- the traits map
-
distanceTo
-
toString
-