From d261a37a466260fcdfe032765c7169b371d7efc9 Mon Sep 17 00:00:00 2001 From: Andy Nonaka Date: Thu, 19 Dec 2024 11:54:32 -0800 Subject: [PATCH] proper spectral box --- ExampleCodes/FFT/Basic/main.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ExampleCodes/FFT/Basic/main.cpp b/ExampleCodes/FFT/Basic/main.cpp index 0ec3d676..6df9a304 100644 --- a/ExampleCodes/FFT/Basic/main.cpp +++ b/ExampleCodes/FFT/Basic/main.cpp @@ -179,8 +179,7 @@ int main (int argc, char* argv[]) Real time = 0.; int step = 0; - Box cdomain = geom.Domain(); - cdomain.setBig(0,cdomain.length(0)/2); + Box cdomain = cba.minimalBox(); Geometry cgeom(cdomain, real_box, CoordSys::cartesian, is_periodic); // arguments