Skip to content
Snippets Groups Projects
Commit 74b41167 authored by cameron-stewart's avatar cameron-stewart
Browse files

removed addition of zero

parent 5a340cca
Branches
No related merge requests found
Pipeline #13173 passed with stages
in 4 hours, 4 minutes, and 50 seconds
......@@ -150,8 +150,6 @@ public:
gradu(b, a) += velocity->get(cell + *d)[a] * real_c(d.c(b)) * real_c(0.5);
} else if(boundaryHandling->isDomain(cell - *d)){
gradu(b, a) += velocity->get(cell - *d)[a] * real_c(d.c(b)) * real_c(-0.5) + velocity->get(cell)[a] * real_c(d.c(b));
} else {
gradu(b, a) += real_t(0);
}
}
}
......@@ -224,8 +222,6 @@ public:
f[i] += stress->get(cell + *d)(k, i) * real_c(d.c(k));
} else if(boundaryHandling->isDomain(cell - *d)){
f[i] += -stress->get(cell - *d)(k, i) * real_c(d.c(k)) + stress->get(cell)(k, i) * real_c(d.c(k)) * real_c(2.0);
} else {
f[i] += real_t(0);
}
}
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment