diff --git a/tests/TestForceMoments.cpp b/tests/TestForceMoments.cpp index 8b847a9a..050a455c 100644 --- a/tests/TestForceMoments.cpp +++ b/tests/TestForceMoments.cpp @@ -117,7 +117,7 @@ int main(int argc, char **argv) double iVol_global = 1.0/Nx/Ny/Nz/nprocx/nprocy/nprocz; - Domain Dm(db); + Domain Dm(domain_db); Nx += 2; Ny += 2; diff --git a/tests/TestInterfaceSpeed.cpp b/tests/TestInterfaceSpeed.cpp index 0995be90..65ad83f8 100644 --- a/tests/TestInterfaceSpeed.cpp +++ b/tests/TestInterfaceSpeed.cpp @@ -38,6 +38,8 @@ int main (int argc, char *argv[]) int nprocy = domain_db->getVector( "nproc" )[1]; int nprocz = domain_db->getVector( "nproc" )[2]; + Domain Dm(domain_db); + for (i=0; i