Uses of Class
com.molecular_java.Ball
-
Uses of Ball in com.molecular_java
Fields in com.molecular_java with type parameters of type BallModifier and TypeFieldDescriptionSimSpace.ballsAn array which contains balls in the simulation space.Methods in com.molecular_java with parameters of type BallModifier and TypeMethodDescriptionstatic doubleMethod counts angle between the tree given balls.static doublePhysics.bendingPotential(SimSpace s, Ball ball1, Ball ball2, Ball ball3) This function is used to count bending potential over three balls, assuming, that ball1 has bond to ball2 and ball2 has bond to ball3.static DoublePhysics.distanceOfTwoBalls(SimSpace s, Ball ball1, Ball ball2) A method to count distance of two given molecules.static DoublePhysics.lennardJonesPotential(SimSpace s, Ball ball1, Ball ball2, Double distance) Method to count "Lennard-Jones potential".Method parameters in com.molecular_java with type arguments of type BallModifier and TypeMethodDescriptionstatic doublePhysics.bendingPotentialInSystem(SimSpace s, double factor, List<Ball> balls) Method counts bending potential of the system represented by balls in a list.static DoublePhysics.calculatePotential(SimSpace s, List<Ball> balls, int b1, int b2, Double factor) This method calculates potential for 2 functions -- PotentialInSystem and Pressure in system.static DoublePhysics.potentialInSystem(SimSpace s, double factor, List<Ball> balls) Method counts a potential in a system represented by balls in list.Constructors in com.molecular_java with parameters of type Ball