Skip to content

tictaqqn/runge-kutta

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simulation on Birds Swarms

Solving ODE with Runge-Kutta method and automatic differentiation.

Models

Assume N birds flying in swarms. Let x be positon of i-th birds, and v0 be preferred speed. Newton's equation of each bird is

where

V is Mexican-hat potential and f expresses preferred distance between birds, whereas g aligns their velocity with that of neighborhood.

Results

Results

Reference

Gros C.(2015). Complex and adaptive dynamical systems , Springer

About

n-dimensional generic Runge-Kutta method with Rust

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published