TwoParticleContactObjective

class TwoParticleContactObjective : public feasst::Formula
class TwoParticleContact : public feasst::Action

Generate the contact distance between two particles. The current implementation assumes these are hard particles. Thus, the energy can only be zero or NEAR_INFINITY.

Arguments

  • dimension: dimension to move particles along to find contact (default: 0).

  • output_file: name of file to output contact distance. Do not print if empty (default: empty).

  • tolerance: tolerance of minimum distance search (default: 1e-6).