23 if (nt->nrn_fast_imem) {
27 nt->nrn_fast_imem =
nullptr;
38 nt->nrn_fast_imem->nrn_sav_rhs = (
double*)
ecalloc_align(n,
sizeof(
double));
39 nt->nrn_fast_imem->nrn_sav_d = (
double*)
ecalloc_align(n,
sizeof(
double));
54 parallel loop present(vec_rhs, vec_area, fast_imem_d, fast_imem_rhs)
if (nt->
compute_gpu)
57 for (
int i = i1;
i < i3; ++
i) {
58 fast_imem_rhs[
i] = (fast_imem_d[
i] * vec_rhs[
i] + fast_imem_rhs[
i]) * vec_area[
i] * 0.01;
74 for (
int i = i1;
i < i3; ++
i) {
75 fast_imem_rhs[
i] = (vec_rhs[
i] + fast_imem_rhs[
i]) * vec_area[
i] * 0.01;