mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 23:31:12 +00:00
Changed precision+Fix script generation
This commit is contained in:
parent
6ba820d0a5
commit
c51c87e2a6
2 changed files with 2 additions and 1 deletions
|
@ -22,7 +22,7 @@ double gslIntegrate(FunT& v, double a, double b, double prec, int NPTS = 1024)
|
||||||
f.function = &gslSpecialFunction<FunT>;
|
f.function = &gslSpecialFunction<FunT>;
|
||||||
f.params = &v;
|
f.params = &v;
|
||||||
|
|
||||||
gsl_integration_qag(&f, a, b, 0, prec, NPTS, GSL_INTEG_GAUSS61,
|
gsl_integration_qag(&f, a, b, prec, 0, NPTS, GSL_INTEG_GAUSS61,
|
||||||
w, &result, &abserr);
|
w, &result, &abserr);
|
||||||
|
|
||||||
gsl_integration_workspace_free(w);
|
gsl_integration_workspace_free(w);
|
||||||
|
|
|
@ -148,6 +148,7 @@ int main(int argc, char *argv[]) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
fprintf(scr,"wait\n");
|
||||||
fprintf(scr,"./voztie %d %s\n",numdiv,suffix);
|
fprintf(scr,"./voztie %d %s\n",numdiv,suffix);
|
||||||
fclose(scr);
|
fclose(scr);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue