Skip to content

Commit d261a37

Browse files
committed
proper spectral box
1 parent 8780f07 commit d261a37

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ExampleCodes/FFT/Basic/main.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,7 @@ int main (int argc, char* argv[])
179179
Real time = 0.;
180180
int step = 0;
181181

182-
Box cdomain = geom.Domain();
183-
cdomain.setBig(0,cdomain.length(0)/2);
182+
Box cdomain = cba.minimalBox();
184183
Geometry cgeom(cdomain, real_box, CoordSys::cartesian, is_periodic);
185184

186185
// arguments

0 commit comments

Comments
 (0)