Skip to content

Commit

Permalink
proper spectral box
Browse files Browse the repository at this point in the history
  • Loading branch information
ajnonaka committed Dec 19, 2024
1 parent 8780f07 commit d261a37
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ExampleCodes/FFT/Basic/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d261a37

Please sign in to comment.