RepeatCurrentTimeStep_InitializeVariables

initialize the (temporary) pointcloud of a repeating operation for particular entities

RepeatCurrentTimeStep(n) = ( %RepeatCurrentTimeStep_BasedOnSamePointCloud% ) RepeatCurrentTimeStep_InitializeVariables(n) = ( %ind_TemporaryPC%, %ind_OriginalPC%, %ind_2_TemporaryPC%, %ind_2_OriginalPC%, etc. )
  • the temporary pointcloud is initialized with the current values of the original pointcloud
  • with this feature, we can preset dedicated entities with other values
  • always give pairs of indices
  • all indices apply, als user defined indices %indU_...%
example:
RepeatCurrentTimeStep_SaveVariables(n) = ( %indU_v(1)%, %ind_v(1)%, %indU_v(2)%, %ind_v(2)%, %indU_v(3)%, %ind_v(3)% ) RepeatCurrentTimeStep_InitializeVariables(n) = ( %ind_v(1)%, %indU_v(1)%, %ind_v(2)%, %indU_v(2)%, %ind_v(3)%, %indU_v(3)% )
This example shows how to save the velocity result of the temporary pointcloud in the variables %indU_v(i)%, and then write them back to the temporary pointcloud in the next time cycle.