Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added const accessor to previous_velocity in Basic_Agent #163

Conversation

vincent-noel
Copy link
Collaborator

In PhysiMeSS we wanted to have a way to check if the cells are stuck between fibers, so we needed a way to access the value of the velocity computed in update_velocity.
Since velocity is set back to zero at the end of update_position, but stored in a private variable of Basic_Agent called previous_velocity, we added a const accessor to this variable.

@MathCancer MathCancer merged commit fae55ed into MathCancer:development Jul 26, 2023
@vincent-noel vincent-noel deleted the feat/previous_velocity_accessor branch July 27, 2023 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants