-
Notifications
You must be signed in to change notification settings - Fork 1
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
Define mechanical interaction model #5
Comments
The mechanical interactions between particles appear to be implemented in the BMXParticleContainer::EvolveParticles method located in the src/des/bmx_pc.cpp file. Most of the existing interactions appear to be commented out, but this has code for evaluating pairwise interactions. |
@asalmgren added a EvolveParticles routine for evolving particles in des/bmx_pc_interaction.cpp that acts as a scaffolding for creating a particle interaction functionality. This routine seems to be similar to the EvolveParticles routine in the bmx_pc.cpp file so I commented out the version in bmx_pc.cpp. I also created a BMXCellInteraction class that is located in chemistry/bmx_cell_interaction.H and chemistry/bmx_cell_interaction.cpp that is called by the EvolveParticles routine. This class is designed to encapsulate the particle interactions so that they can be more easily modified in the future. |
Implemented a simple cubic interaction force between particles. This is repulsive at short distance and slightly attractive at longer distances up to a cutoff value. It vanishes at the cutoff. Test cases indicate that the particles start moving when a particle splitting event occurs. |
Define a mechanical interaction model between cerlls. Start with spherical cells.
The text was updated successfully, but these errors were encountered: