We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44babb0 commit 170ef8eCopy full SHA for 170ef8e
Support/TurbInflowGenerator/turb_box.cpp
@@ -73,11 +73,11 @@ readHIT(HITData* a_data)
73
if (not std::is_sorted(xarray.begin(), xarray.end())) {
74
amrex::Abort("Error: non ascending x-coordinate array.");
75
}
76
- if (std::abs(xarray[0] - 0.5 * xdiff[0]) > 1e-14 * xdiff[0]) {
+ if (std::abs(xarray[0] - 0.5 * xdiff[0]) > 1e-12 * xdiff[0]) {
77
amrex::Abort("Error: domain must start at 0");
78
79
for (const amrex::Real& xd : xdiff) {
80
- if (std::abs(xd - xdiff[0]) / xdiff[0] > 1e-14) {
+ if (std::abs(xd - xdiff[0]) / xdiff[0] > 1e-12) {
81
amrex::Abort("Error: grid must be uniformly spaced");
82
83
0 commit comments