Did I find the right examples for you? yes no

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)

src/p/e/pele-HEAD/pele/potentials/xyspin.py   pele(Download)
    def getEnergyGradient(self, angles):
        import _cython_tools
        return _cython_tools.xymodel_energy_gradient(angles, self.phase_matrix, self.neighbors) 
        #do internal energies first
        E = 0.