|
Why do you need to do this? The point of sub-cycling is to abstract the act of subdividing the time-step. Providing information as to the index of the current subdivision seems at odds with the intended purpose. |
|
|
I am working in the kinematicParticle class. Here I want to compute the coefficient of restitution on the basis of incoming velocity. Therefore I need to compute this value only the first time step of the subcycling. I have a managed to do this in another way. However, for me it would have been easier to have a feature to determine the first or last subcycle. Therefore I thought others might be interested in something like this. This would enable more confinient programming on low level (say in the kinemeticParticle.). I thought this would make the life easier of other people who implement things here. |
|
|
Every other kinematic parcel model operates within the sub-steps. I am currently of the opinion that whatever impact your coefficient of restitution is representing should involve the velocities at the start and end of the sub-step, not the outer timestep.
Why is your model different? Why does it have to be aware of the position within the sub-cycling? |
|
|
Closing due to lack of response |
|