Closed themikelau closed 1 year ago
getj=.true.
calc_diffusion_term
icompact=1.2*10.*nneigh_average*npart
0.5*(dWidrlightrhorhom+dWjdrlightrhorhom)
rhoj
varij2
varij
compute_flux
getj=.true.
), so that atomic statements can be removed fromcalc_diffusion_term
.icompact=1.2*10.*nneigh_average*npart
) .0.5*(dWidrlightrhorhom+dWjdrlightrhorhom)
forcalc_diffusion_term
.rhoj
intovarij2
instead ofvarij
so thatcompute_flux
only needs to accessvarij2