Skip to content
Snippets Groups Projects
Commit ba9d7aab authored by Giovanni La Mura's avatar Giovanni La Mura
Browse files

Reset cumulative cross-section at 0 in scale iteration

parent 62e4b64f
No related branches found
No related tags found
No related merge requests found
......@@ -1918,6 +1918,9 @@ void scr0(double vk, double exri, C1 *c1, C1_AddOns *c1ao, C3 *c3, C4 * c4) {
std::complex<double> sum21, rm, re, csam;
csam = -(ccs / (exri * vk)) * std::complex<double>(0.0, 0.5);
//double scs = 0.0, ecs = 0.0, acs = 0.0;
c3->scs = 0.0;
c3->ecs = 0.0;
c3->acs = 0.0;
c3->tfsas = cc0;
for (int i14 = 1; i14 <= c4->nsph; i14++) {
int iogi = c1->iog[i14 - 1];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment