Skip to content

Commit

Permalink
Merge pull request #6 from KJ-Ahn/memory_optimize
Browse files Browse the repository at this point in the history
A bit more memory optimization
  • Loading branch information
KJ-Ahn authored Apr 8, 2019
2 parents 3d724ce + 9426679 commit df91ac3
Show file tree
Hide file tree
Showing 4 changed files with 916 additions and 122 deletions.
5 changes: 5 additions & 0 deletions sample/params_patch.m
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,8 @@
enzo_bin_flag = true;
enzo_HDF5_flag = true;
gadget_bin_flag = false; %% Not implemented yet

%% Decide whether to use memory-optimized routine (when bccomics crashes)
%% Saves about 32*Nmode_p^3 bytes.
%% This will somewhat slow down calculation
memory_save = true;
Loading

0 comments on commit df91ac3

Please sign in to comment.