comp-physics / RBC3D

3D Spectral boundary integral solver for cell-scale blood flow
MIT License
7 stars 3 forks source link

Add AB2 and RK2; Randomized Cell Placement Support for Different Cell Types #16

Closed smullangi3 closed 5 months ago

smullangi3 commented 5 months ago

2nd-order Adams-Bashforth and general explicit Runge-Kutta time integrator methods are added to ModTimeInt.F90 in common/. Note that RK2 can be Heun's method, Ralston's method, or the Midpoint method by choosing an 'alpha' of 1, 2/3, or 1/2 respectively.

Additionally, the randomized cell placement algorithm is expanded to place cells of any specified type, where 1: RBC, 2: WBC, and 3: Sickle Cell.

sbryngelson commented 5 months ago

please rename the TimeInt subroutine(s) to TimeInt_Euler so it's obvious what they are now that we support more than 1 method.

smullangi3 commented 5 months ago

please rename the TimeInt subroutine(s) to TimeInt_Euler so it's obvious what they are now that we support more than 1 method.

Done in 2nd revision