abarret / clotting_model

An IBAMR implementation of Fogelson and Guy, 2008
2 stars 0 forks source link

Add cohesion relax #1

Closed abarret closed 2 years ago

abarret commented 2 years ago

@jmcragun, take a look at this. Two commits here, the first sets up the advection diffusion integrator to register platelets and the activating chemical. It also sets up the cohesion stress variable. The second commit sets up the beta function and registers it with the forcing function.

Note that the way I've implemented the beta function requires that the setter in CohesionStressRHS to take a function of the form std::function<double(double, void*)>. You could also rewrite it to use std::bind().

jmcragun commented 2 years ago

In the intentionally blank spot, should the definition for beta be included? Or should it be left as-is?