Uses of Class
com.molecular_java.SimSpace
-
Uses of SimSpace in com.molecular_java
Methods in com.molecular_java with parameters of type SimSpaceModifier and TypeMethodDescriptionstatic 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.bendingPotentialInSystem(SimSpace s, double factor, List<Ball> balls) Method counts bending potential of the system represented by balls in a list.static DoublePhysics.boltzmannsFactor(SimSpace s) The Boltzmann's factor is count from the temperature and the difference between potentials.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 Double[]Physics.centerOfMass(SimSpace s) Computes a position of center of mass of balls in given simulation space.voidStepVars.CountAdditionalParams(SimSpace s) In this method some additional parameters about the simulation are count.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".voidCounts the averages from the sums in the end of the simulation.static DoublePhysics.potentialInSystem(SimSpace s, double factor, List<Ball> balls) Method counts a potential in a system represented by balls in list.static DoublePhysics.radiusOfGyration(SimSpace s) This method counts the gyration radius of the balls in system.Constructors in com.molecular_java with parameters of type SimSpace