项目作者: nirajan-mandal

项目描述 :
Modeling Gray-Scott Reaction Diffusion Model using MPI in C++
高级语言: C++
项目地址: git://github.com/nirajan-mandal/Gray-Scott-Reaction-Diffusion-Model.git


Gray-Scott Reaction Diffusion Model

Modeling Gray-Scott Reaction Diffusion Model using MPI in C++. This was my final project for the Scientific Computing seminar (SCMP 401) at Kenyon College.

C++ MPI Code

Basic Code flow diagram:

Code flow chart

Example: simulation using three nodes.

Each node has 100x100 grid. The boundry wraps such that the recation occours on a torus surface.

Parameters:

  • Du=0.16
  • Dv=0.08
  • k=0.055
  • f=0.02

Last frame output, see vidoe simulation below, that matches leopard’s skin pattern.
Leopard pattern

Video Simulation MP4 file

Leopard