MEHPForceEvaluator

class pylimer_tools_cpp.MEHPForceEvaluator(self: pylimer_tools_cpp.MEHPForceEvaluator)

Bases: pybind11_object

The base interface to change the way the force is evaluated during a MEHP run.

Attributes Summary

Methods Summary

evaluate_stress_contribution(self, ...)

An evaluation of the stress-contribution.

Attributes Documentation

is_2d
network

Methods Documentation

evaluate_stress_contribution(self: pylimer_tools_cpp.MEHPForceEvaluator, spring_distances: float, i: int, j: int, spring_index: int) float

An evaluation of the stress-contribution.

Parameters:
  • springDistances – The three coordinate differences for one spring.

  • i – The row index of the stress tensor

  • j – The column index of the stress tensor