From b36dafaa111e7d9262274ad27947f38e4527231f Mon Sep 17 00:00:00 2001 From: Alankar Dutta Date: Fri, 30 Aug 2024 14:09:52 -0600 Subject: [PATCH 1/2] Tolerance updated in `RegressionTest` in `test/HD/sod/testme.py` --- test/HD/sod/testme.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/HD/sod/testme.py b/test/HD/sod/testme.py index e8f0f9ae..2a8b46bc 100755 --- a/test/HD/sod/testme.py +++ b/test/HD/sod/testme.py @@ -25,7 +25,7 @@ def testMe(test): if test.init: test.makeReference(filename=name) test.standardTest() - test.nonRegressionTest(filename=name) + test.nonRegressionTest(filename=name, tolerance=1.0e-05) test=tst.idfxTest() From 58de06b19662d980fb698cad05ff3ddd90572930 Mon Sep 17 00:00:00 2001 From: Alankar Dutta Date: Mon, 9 Sep 2024 14:19:59 -0600 Subject: [PATCH 2/2] [FIX] Dump datatype agnostic file xdmf IO --- src/output/xdmf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/output/xdmf.cpp b/src/output/xdmf.cpp index 7f2baf7d..6ad4e22a 100644 --- a/src/output/xdmf.cpp +++ b/src/output/xdmf.cpp @@ -165,7 +165,7 @@ Xdmf::Xdmf(Input &input, DataBlock *datain) { cellsubsize[3]); */ // Temporary storage on host for 3D arrays - this->vect3D = new float[nx1loc*nx2loc*nx3loc]; + this->vect3D = new DUMP_DATATYPE[nx1loc*nx2loc*nx3loc]; // fill the node_coord array DUMP_DATATYPE x1 = 0.0;