MEDYAN.apply_chem_boundary!

Tuple{MEDYAN.Context}

apply_chem_boundary!(c::Context)::Nothing

Update chem voxel volumes and diffusion rates.

The chem boundary is the intersection of any boundary set by set_chem_boundary! and membranes with chem_boundary=true.

set_chem_boundary_oversampling_factor! can be used to increase the boundary sampling resolution at the expense of increased memory use.

Calling this will invalidate the chem cache.