setConstants: Setting of the algorithm constants

Description Usage Arguments Details

Description

This function is used to set the different constants of the MDSRefMaps algorithm.

Usage

1
2
setConstants(K = 1, F = 0.1, DELTA_T = 0.001, MASS = 10,
  ACC_THRESHOLD = 0)

Arguments

K

a numeric value indicating the spring strength between two particles

F

a numeric value indicating the friction of the springs

DELTA_T

a numeric value indicating the time between two steps of the algorithm

MASS

a numeric value indicating the mass of each particle

ACC_THRESHOLD

a numeric value indicating the acceleration threshold (a value of 0 disactivate this acceleration threshold)

Details

The 'ACC_THRESHOLD' parameter can be used to contrain the object accelerations.


tchitchek-lab/MDSRefMaps documentation built on May 31, 2019, 7:28 a.m.