def nebm_step(self, y): self.compute_effective_field_and_energy(y) nebm_clib.project_images(self.gradientE, y, self.n_images, self.n_dofs_image) self.compute_tangents(y) self.compute_spring_force(y) nebm_clib.compute_effective_force(self.G, self.tangents, self.gradientE, self.spring_force, self._climbing_image, self.n_images, self.n_dofs_image)
def nebm_step(self, y): # The convergence of the algorithm depends on how we redefine the # angles: Redefining the tangents and spring force helps a little self.compute_effective_field_and_energy(y) self.compute_tangents(y) self.compute_spring_force(y) nebm_clib.compute_effective_force(self.G, self.tangents, self.gradientE, self.spring_force, self.climbing_image, self.n_images, self.n_dofs_image)
def nebm_step(self, y): # The convergence of the algorithm depends on how we redefine the # angles: Redefining the tangents and spring force helps a little self.compute_effective_field_and_energy(y) self.compute_tangents(y) self.compute_spring_force(y) nebm_clib.compute_effective_force(self.G, self.tangents, self.gradientE, self.spring_force, self.climbing_image, self.n_images, self.n_dofs_image )
def nebm_step(self, y): self.compute_effective_field_and_energy(y) self.compute_tangents(y) self.compute_spring_force(y) nebm_clib.compute_effective_force(self.G, self.tangents, self.gradientE, self.spring_force, self.climbing_image, self.n_images, self.n_dofs_image ) nebm_cartesian.project_images(self.G, y, self.n_images, self.n_dofs_image )