-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deprecated: Move deprecated functionality from grid.py to Deprectated…
…/deprecated_grid.py
- Loading branch information
1 parent
f028b76
commit 654da0f
Showing
2 changed files
with
19 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# grid.py: functions & parameters related to numerical grids | ||
# functions: Automatic loop output, output C code needed for gridfunction memory I/O, gridfunction registration | ||
|
||
# Author: Zachariah B. Etienne | ||
# zachetie **at** gmail **dot* com | ||
|
||
import grid as gri # NRPy+: gridding | ||
import os | ||
|
||
#################### | ||
# TO BE DEPRECATED | ||
def output__gridfunction_defines_h__return_gf_lists(outdir): | ||
with open(os.path.join(outdir, "gridfunction_defines.h"), "w") as file: | ||
file.write("/* This file is automatically generated by NRPy+. Do not edit. */\n\n") | ||
file.write(gri.gridfunction_defines()) | ||
return gri.gridfunction_lists() | ||
#################### |