Class Calculations

    • Method Detail

      • setupCalculations

        abstract boolean setupCalculations()
      • getUnits

        abstract String getUnits()
      • compute

        abstract double compute​(int iType,
                                Object[] dataIn)
      • setConstraints

        public void setConstraints​(javajs.util.Lst<MMConstraint> constraints)
      • addForce

        void addForce​(javajs.util.V3d v,
                      int i,
                      double dE)
      • setSilent

        public void setSilent​(boolean TF)
      • getLogData

        public String getLogData()
      • appendLogData

        void appendLogData​(String s)
      • setLoggingEnabled

        void setLoggingEnabled​(boolean TF)
      • setPreliminary

        void setPreliminary​(boolean TF)
      • calc

        private double calc​(int iType,
                            boolean gradients,
                            boolean canConstrain)
      • energyStrBnd

        double energyStrBnd​(boolean gradients)
      • energyBond

        double energyBond​(boolean gradients)
      • energyAngle

        double energyAngle​(boolean gradients)
      • energyTorsion

        double energyTorsion​(boolean gradients)
      • energyStretchBend

        double energyStretchBend​(boolean gradients)
      • energyOOP

        double energyOOP​(boolean gradients)
      • energyVDW

        double energyVDW​(boolean gradients)
      • energyES

        double energyES​(boolean gradients)
      • constraintEnergy

        private double constraintEnergy​(int iType)
      • constrainQuadratic

        private double constrainQuadratic​(double value,
                                          double targetValue,
                                          double k,
                                          int iType)
      • getConstraintList

        void getConstraintList()
      • getDebugHeader

        abstract String getDebugHeader​(int iType)
      • getDebugHeader2

        protected String getDebugHeader2​(int iType)
      • getDebugFooter

        String getDebugFooter​(int iType,
                              double energy)
      • setPairVariables

        void setPairVariables​(Calculation c)
      • setAngleVariables

        void setAngleVariables​(Calculation c)
      • setOopVariables

        void setOopVariables​(Calculation c,
                             boolean fixTheta)
      • setTorsionVariables

        void setTorsionVariables​(Calculation c)
      • isLinear

        boolean isLinear​(int i)
        Parameters:
        i -
        Returns:
        T/F