Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support FDM (psiDM) #376

Merged
merged 1,570 commits into from
Dec 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1570 commits
Select commit Hold shift + click to select a range
e779d80
Fix typo
KunkelAlexander Jan 7, 2024
c7a1f9a
Fix more typos
KunkelAlexander Jan 7, 2024
6d16108
Update documentation
KunkelAlexander Jan 7, 2024
e626dd7
Merge pull request #104 from hyschive/pr-min-global-tree2
hyschive Jan 8, 2024
8ba1baf
Support adding an external potential
hsinhaoHHuang Jan 10, 2024
5dc26db
Update input files for HaloMerger test problem
hsinhaoHHuang Jan 11, 2024
8577921
Minor update
hsinhaoHHuang Jan 11, 2024
f3c7c2d
Remove the background and density-phase UM_IC and some minor update
hsinhaoHHuang Jan 13, 2024
5a5e3b4
Update the example files for HaloMerger
hsinhaoHHuang Jan 15, 2024
97df2d3
Merge branch 'psidm' of https://github.com/hyschive/gamer-fork into p…
hsinhaoHHuang Jan 15, 2024
b82846c
Minor fix
hsinhaoHHuang Jan 15, 2024
27397ea
Minor fix
hsinhaoHHuang Jan 15, 2024
1227497
Use ghost zone of size 1 and make order of polynomial extension more …
KunkelAlexander Jan 20, 2024
92330e6
Add density criterion
KunkelAlexander Jan 20, 2024
483c6af
Add the new HaloMerger_Halo_InitMode (=2) for CDM halo, and left some…
hsinhaoHHuang Feb 20, 2024
8223ccf
Revise according to the review
hsinhaoHHuang Feb 23, 2024
b5e707c
Minor
hsinhaoHHuang Feb 23, 2024
21d48f5
Merge branch 'psidm-halo-merger' into psidm-halo-merger_CDM
hsinhaoHHuang Feb 23, 2024
cb33301
Finish part of the jobs for supporting CDM halo
hsinhaoHHuang Feb 24, 2024
86fda5c
Fix the missing delete
hsinhaoHHuang Feb 24, 2024
df6b56f
Minor
hsinhaoHHuang Feb 24, 2024
4267b21
Fix compilation error
hsinhaoHHuang Feb 24, 2024
afe80d8
Merge branch 'psidm-halo-merger' into psidm-halo-merger_CDM
hsinhaoHHuang Feb 26, 2024
7dea5eb
Update for the CDM HaloMerger
hsinhaoHHuang Feb 26, 2024
d91a867
Update the plotting scripts for the CDM HaloMerger
hsinhaoHHuang Feb 27, 2024
260af87
Be more specific in the description
hsinhaoHHuang Feb 27, 2024
4c25c59
Update for the CDM HaloMerger
hsinhaoHHuang Feb 27, 2024
fc5dbd2
Update for the CDM HaloMerger
hsinhaoHHuang Feb 29, 2024
f14671d
Update for the CDM halo merger
hsinhaoHHuang Mar 1, 2024
dd0944d
Set the number of partilces intead of ratio for the CDM halo in HaloM…
hsinhaoHHuang Mar 1, 2024
998047a
Minor fix
hsinhaoHHuang Mar 1, 2024
8fdd6fc
Combine the plotting scripts for fluid and partilce
hsinhaoHHuang Mar 2, 2024
01630be
Minor update
hsinhaoHHuang Mar 2, 2024
d0c9726
Update the parameters for the CDM run
hsinhaoHHuang Mar 2, 2024
feb8685
Minor fix
hsinhaoHHuang Mar 2, 2024
8c37635
Rename the plotting scripts
hsinhaoHHuang Mar 2, 2024
92c4347
Fix a bug about loading external potential table
hsinhaoHHuang Mar 2, 2024
180b98b
Update the density profile range
hsinhaoHHuang Mar 2, 2024
79edd16
Update the plotting scripts
hsinhaoHHuang Mar 3, 2024
d6f5bc6
Update the link to the new stable psidm halo without soliton
hsinhaoHHuang Mar 4, 2024
ca1faf7
Avoid unnecessary plots for the CDM HaloMerger
hsinhaoHHuang Mar 4, 2024
63bb0bb
Minor fix
hsinhaoHHuang Mar 4, 2024
147a493
Minor
hsinhaoHHuang Mar 5, 2024
0a9f2cd
Update the density profile fitting parameters for the halo
hsinhaoHHuang Mar 8, 2024
e63be9c
Change the center to the potential minimum
hsinhaoHHuang Mar 8, 2024
bf622ce
Change to use general particle clouds as CDM halos
hsinhaoHHuang Mar 12, 2024
4dfd90e
Minor fix
hsinhaoHHuang Mar 12, 2024
19813aa
Fix a bug
hsinhaoHHuang Mar 12, 2024
f52dc71
Support reading the density profile of soliton without scaling
hsinhaoHHuang Mar 12, 2024
3b13487
Fix bugs
hsinhaoHHuang Mar 12, 2024
44079b2
Print warning instead of error when objects overlap with each other
hsinhaoHHuang Mar 12, 2024
e0bae87
reset the position and velocty for a single particle cloud
hsinhaoHHuang Mar 12, 2024
5d5c754
Minor
hsinhaoHHuang Mar 12, 2024
8aff029
update script
HsunYeong Mar 14, 2024
be73670
Update based on the PR review
hsinhaoHHuang Mar 14, 2024
d1292db
Merge pull request #113 from hsinhaoHHuang/psidm-halo-merger
hyschive Mar 14, 2024
4a1fdc2
Merge branch 'psidm-halo-merger' into psidm-halo-merger_CDM
hsinhaoHHuang Mar 15, 2024
ce842ba
Update after merging the psidm-halo-merger branch
hsinhaoHHuang Mar 15, 2024
e9558d7
Minor
hsinhaoHHuang Mar 15, 2024
a4a62b7
Minor
hsinhaoHHuang Mar 15, 2024
1c0eead
Minor
hsinhaoHHuang Mar 15, 2024
8f3bdd1
Simplify the code
hsinhaoHHuang Mar 15, 2024
c3343d5
Fix bugs
hsinhaoHHuang Mar 15, 2024
c72c5a6
Fix a bug
hsinhaoHHuang Mar 15, 2024
e98783c
Minor
hyschive Mar 18, 2024
6c6ca55
Exclude passive scalars in FLU_NIN/NOUT for ELBDM
hyschive Mar 19, 2024
db6a504
Minor
hyschive Mar 20, 2024
1a9619e
Add a script to convert multi-level UM_IC to single-level UM_IC as a …
hsinhaoHHuang Mar 22, 2024
650ed25
Merge branch 'psidm' into psidm-halo-merger_CDM
hsinhaoHHuang Mar 27, 2024
bdbcb12
Fix bugs in xy interpolation (missing buffer variable and issue with …
KunkelAlexander Apr 8, 2024
aa013bb
Switch to double precision
KunkelAlexander Apr 9, 2024
c723b2c
Update starting index of slope calculation and correctly take log(x)
KunkelAlexander Apr 9, 2024
5da2a74
Minor
KunkelAlexander Apr 9, 2024
a46f3dd
Minor
KunkelAlexander Apr 9, 2024
0e85805
Implement singular gauge transformation - v1
KunkelAlexander Apr 12, 2024
5ca38c2
Minor
KunkelAlexander Apr 12, 2024
cec2ea9
Switch from singular gauge transformation to simple vortex detection
KunkelAlexander Apr 13, 2024
374c9c9
Add check for plateaus
KunkelAlexander Apr 13, 2024
cafcff0
Merge psidm
hyschive Apr 14, 2024
ecd2432
Minor
hyschive Apr 14, 2024
a348124
Style
hyschive Apr 14, 2024
4579c35
Style
hyschive Apr 14, 2024
aa75fb7
Style
hyschive Apr 15, 2024
b793cfa
Style
hyschive Apr 15, 2024
2357b79
Style
hyschive Apr 15, 2024
da6a950
Style
hyschive Apr 15, 2024
cbcfe4e
Style
hyschive Apr 15, 2024
96e526d
Style
hyschive Apr 15, 2024
b2d8fc2
Style
hyschive Apr 15, 2024
c0e6d6d
Remove trailing spaces
Apr 16, 2024
220d4ad
Update for the PR review
hsinhaoHHuang Apr 18, 2024
916c7f9
Use a more clear delta_lv
hsinhaoHHuang Apr 18, 2024
e443b6d
Fix a bug
hsinhaoHHuang Apr 18, 2024
ccbbce7
Simplify code to reduce indentation
hsinhaoHHuang Apr 18, 2024
cb8a04f
Only check when initialization is not restart
hsinhaoHHuang Apr 18, 2024
334b8ba
Minor
hsinhaoHHuang Apr 18, 2024
bab4a02
Add buff_size
hsinhaoHHuang Apr 18, 2024
1d6ae56
Style
hyschive Apr 20, 2024
710ae26
Style
hyschive Apr 20, 2024
2e90e49
Style
hyschive Apr 20, 2024
f0a3334
Minor
hyschive Apr 20, 2024
0e2b32a
Restore cufftdx_shared_memory_size in CUAPI_Asyn_FluidSolver.cu
hyschive Apr 20, 2024
ae4b76b
Minor
hyschive Apr 20, 2024
b35959d
Take minimum over front and back slope to avoid refinement for low-or…
KunkelAlexander Apr 20, 2024
947735e
Switch xy criterion to phase laplacian
KunkelAlexander Apr 20, 2024
a500aec
Minor
KunkelAlexander Apr 20, 2024
ae72fd1
Next attempt with smooth threshold
KunkelAlexander Apr 20, 2024
e6924a8
Minor
KunkelAlexander Apr 20, 2024
e96c7c1
Minor
hyschive Apr 21, 2024
8af15aa
Merge pull request #119 from hyschive/pr-hybrid-minor
hyschive Apr 21, 2024
6de0ff1
Declare the constant coefficients in CPU_ELBDMSolver_HJ.cpp as double…
hyschive Apr 22, 2024
4aa6f9b
Polish Record__Hybrid
hyschive Apr 22, 2024
983c407
Raise a warning instead of an error when disabling FLOAT8 in some ELB…
hyschive Apr 22, 2024
38324fd
Speed up spectral refinement
KunkelAlexander Apr 27, 2024
045fdaa
Change back to old refinement strategy
KunkelAlexander Apr 27, 2024
e8d89ff
Merge main
hyschive May 1, 2024
244f8f3
Update the description of libyt parameters
hyschive May 1, 2024
8c958a5
Minor
hyschive May 1, 2024
cafc08a
revise the libyt script and some related files for IsolatedHalo test …
koarakawaii May 1, 2024
32c0b74
Minor
hyschive May 1, 2024
456208e
Minor
hyschive May 1, 2024
87ca3a3
Minor
hyschive May 1, 2024
4b338ee
Minor
hyschive May 1, 2024
9b5e06b
Merge pull request #121 from koarakawaii/psidm_libyt_script_modification
hyschive May 2, 2024
821e19e
Merge branch 'psidm' into pr-merge-main-to-psidm
hyschive May 2, 2024
f14b836
Merge main
hyschive May 2, 2024
eb4c63b
Merge main
hyschive May 5, 2024
5659b36
Minor
hyschive May 5, 2024
3c0fe77
Merge pull request #120 from hyschive/pr-merge-main-to-psidm
hyschive May 6, 2024
d5ab5b6
merge with psidm
HsunYeong May 7, 2024
67e28ab
merge with psidm
HsunYeong May 7, 2024
dc27490
use OPT__RECORD_CENTER as default for Record__Center
HsunYeong May 8, 2024
16d9922
Merge branch 'psidm' into psidm-halo-merger_CDM
hsinhaoHHuang May 14, 2024
6a9931e
update link in download_ic.sh
HsunYeong May 16, 2024
c7b338d
Add recording angular momentum in Record__Conservation
hsinhaoHHuang Mar 31, 2024
fc9c2b8
Add a script to check the conserved quantities using yt
hsinhaoHHuang Apr 1, 2024
39124e5
Changes the name of angular momentum to AngMom
hsinhaoHHuang Apr 1, 2024
727505e
Fix a typo
hsinhaoHHuang Apr 1, 2024
ae00b4d
Add runtime option ANGMOM_ORIGIN_X/Y/Z for computing angular momentum
hsinhaoHHuang Apr 9, 2024
465e74a
Move into plot_script
hsinhaoHHuang Apr 11, 2024
cf1eefc
Minor fix
hsinhaoHHuang Apr 11, 2024
9103315
Record the total center of mass in Record__Conservation
hsinhaoHHuang Apr 12, 2024
15b35c3
Calculate the center of mass of particles
hsinhaoHHuang Apr 12, 2024
2d6f265
Minor fix
hsinhaoHHuang Apr 12, 2024
8b161e4
Update the yt scripts
hsinhaoHHuang Apr 13, 2024
62cfca0
Output the average velocity of CoM
hsinhaoHHuang Apr 13, 2024
87f972c
Update according to the PR review
hsinhaoHHuang Apr 16, 2024
6b0443f
Minor update
hsinhaoHHuang Apr 16, 2024
cc74bcd
Update scripts using Record__Conservation
hsinhaoHHuang Apr 18, 2024
5c8d7a5
Update according to the PR review
hsinhaoHHuang May 13, 2024
1ddf732
Fix the inconsistencies due to the cherry-picking
hsinhaoHHuang May 23, 2024
92be10d
Support recording angular momentum for ELBDM model
hsinhaoHHuang May 25, 2024
d472081
Fix reproducibility bugs
hsinhaoHHuang May 25, 2024
f2a7d63
[Bugfix] Set amr->use_wave_flag[lv] when increasing NLEVEL during res…
hyschive May 27, 2024
d7a05c4
Adjust to allow flexible combinatations of ByFile and ByFunction init…
hsinhaoHHuang May 30, 2024
20b6f83
Fix a bug
hsinhaoHHuang May 30, 2024
dc4ceeb
Change stride to 1
KunkelAlexander Jun 2, 2024
67a0285
Merge remote-tracking branch 'psidm-branch/psidm' into spectral_refin…
KunkelAlexander Jun 2, 2024
eff6667
Minor
KunkelAlexander Jun 2, 2024
909a2ee
Reduce spectral criterion ghost boundary size to 1
KunkelAlexander Jun 2, 2024
75a9b0c
Restore
KunkelAlexander Jun 2, 2024
219fe22
Minor
KunkelAlexander Jun 2, 2024
de5d675
Change wavelength magnifier to vortex threshold
KunkelAlexander Jun 2, 2024
42e82d6
Change default precision of precomputed Gram-Fourier interpolation to…
KunkelAlexander Jun 2, 2024
c7c971c
Minor
KunkelAlexander Jun 2, 2024
148ea75
Convert to double precision in PrecomputedInterpolationContext and us…
KunkelAlexander Jun 2, 2024
31c62be
Minor
KunkelAlexander Jun 2, 2024
0b9f021
Update spectral refinement flag
KunkelAlexander Jun 2, 2024
33bfb6a
Merge pull request #125 from hyschive/pr-bugfix-restart-hybrid
hyschive Jun 3, 2024
e824f6f
Rename yt scripts
hsinhaoHHuang Jun 4, 2024
d83e2bc
Fix typo
hsinhaoHHuang Jun 4, 2024
3c16ea8
Reduce redundancy of computing _All conserved quantities
hsinhaoHHuang Jun 4, 2024
81858ce
Merge pull request #124 from hsinhaoHHuang/psidm-RecordAngMom
hyschive Jun 4, 2024
23653e8
Merge main
hyschive Jun 5, 2024
b211666
No longer define GPU_COMPUTE_CAPABILITY in CUFLU.h
hyschive Jun 5, 2024
e259665
Minor
hyschive Jun 5, 2024
a27d93a
Move NVCCFLAG_COM content to configure.py and bug fix
ChunYen-Chen Jun 5, 2024
b30bcd8
Merge pull request #127 from ChunYen-Chen/psidm_makefile_base_update
hyschive Jun 5, 2024
71cdfc8
Merge branch 'psidm' into psidm-halo-merger_CDM
hsinhaoHHuang Jun 7, 2024
70fd4b1
Update according to PR review
hsinhaoHHuang Jun 7, 2024
d0aa365
Rename the UM_IC for halo as HALO_IC
hsinhaoHHuang Jun 8, 2024
5efd7d0
Merge pull request #115 from hsinhaoHHuang/psidm-halo-merger_CDM
hyschive Jun 8, 2024
ed86683
Merge main
hyschive Jun 9, 2024
30c7490
miscellaneous updates to match the format of latest gamer
HsunYeong Jun 13, 2024
dbda8aa
various updates
HsunYeong Jun 14, 2024
19a8f9c
Merge branch 'psidm' into psidm-disk-heating
HsunYeong Jun 14, 2024
b675e16
minor
HsunYeong Jun 14, 2024
b109675
various updates
HsunYeong Jun 21, 2024
aa988bd
improve python scripts
HsunYeong Jun 26, 2024
90707ff
Merge main
hyschive Jun 26, 2024
5e14261
Merge branch 'psidm' into psidm-disk-heating
HsunYeong Jun 26, 2024
eff01ed
use Init_User_AfterPoisson_Ptr to initialize thin disk velocity
HsunYeong Jun 26, 2024
59efa93
minor
HsunYeong Jun 26, 2024
ccb2008
improve code alignment
HsunYeong Jun 27, 2024
7d8f8a3
minor
HsunYeong Jul 9, 2024
78df066
Merge main
hyschive Jul 20, 2024
2106468
Merge branch 'main' into psidm
hyschive Jul 20, 2024
67d7f86
Update curl
hyschive Jul 20, 2024
95a732e
Implement refinement based on maximum polynomial coefficient
KunkelAlexander Jul 28, 2024
9b44e59
Minor
KunkelAlexander Jul 28, 2024
4970ce5
Improve normalisation
KunkelAlexander Jul 28, 2024
6d7d954
Merge branch 'psidm' of https://github.com/hyschive/gamer-fork into s…
KunkelAlexander Aug 25, 2024
0941590
Revert to psidm branch state
KunkelAlexander Aug 25, 2024
7363240
Add spectral interpolation ghost boundary size as runtime parameter.
KunkelAlexander Aug 25, 2024
8e9041a
Minort
KunkelAlexander Aug 25, 2024
24772a0
Enable GramFE_MATMUL algorithm in single precision with slight update…
KunkelAlexander Aug 25, 2024
6fa9b4f
Merge branch 'psidm' of https://github.com/hyschive/gamer-fork into s…
KunkelAlexander Aug 25, 2024
b08b9e4
Revert to state of psidm
KunkelAlexander Aug 25, 2024
a95a812
Minor
hyschive Aug 30, 2024
1b45796
Merge pull request #129 from KunkelAlexander/gramfe_matmul_single
hyschive Sep 9, 2024
8293b08
Fix a typo in download_heavy_halo_ic.sh
hyschive Sep 11, 2024
751fa61
Merge remote-tracking branch 'hyschive/psidm' into spectral_refinemen…
KunkelAlexander Sep 22, 2024
e383180
update comments
HsunYeong Oct 18, 2024
20952df
remove user defined particle attribute
HsunYeong Oct 18, 2024
8011421
remove user defined ParLabel
HsunYeong Oct 18, 2024
6849e23
convert units to code units when loading DensTable
HsunYeong Oct 18, 2024
a6fe3e8
simplify equation
HsunYeong Oct 18, 2024
e06b153
Merge branch 'psidm' into psidm-disk-heating
HsunYeong Oct 18, 2024
a948dc9
Merge pull request #91 from HsunYeong/psidm-disk-heating
hyschive Oct 20, 2024
d76970a
Polish the code format of the DiskHeating test
hyschive Oct 20, 2024
2cc8b56
Merge branch 'psidm' of https://github.com/hyschive/gamer-fork into s…
KunkelAlexander Nov 1, 2024
1381359
Merge branch 'psidm' of https://github.com/hyschive/gamer-fork into s…
KunkelAlexander Nov 1, 2024
e3b6f84
Merge branch 'spectral_interpolation_bugfix' into spectral_refinement…
KunkelAlexander Nov 1, 2024
62162d7
Add vortex threshold runtime variable
KunkelAlexander Nov 1, 2024
552b204
Merge remote-tracking branch 'origin/spectral_refinement_v3' into spe…
KunkelAlexander Nov 16, 2024
c2aff3d
Include four coefficients in check
KunkelAlexander Nov 16, 2024
404e9f2
Minor
KunkelAlexander Nov 16, 2024
ce7311f
Add debug output
KunkelAlexander Nov 16, 2024
d4666a8
Minor
KunkelAlexander Nov 16, 2024
ca191e9
Minor
KunkelAlexander Nov 16, 2024
3360c0f
Output array after preparation
KunkelAlexander Nov 16, 2024
b7eddaf
Remove debug code and dont divide by STDEV
KunkelAlexander Nov 16, 2024
ba2fa9c
Simplify loops and variables
KunkelAlexander Nov 16, 2024
8b81a1b
Add OPT__FLAG_SPECTRAL_N as runtime parameter
KunkelAlexander Nov 17, 2024
9fa7ca2
Update documentation
KunkelAlexander Nov 17, 2024
7e2d03a
Update documentation
KunkelAlexander Nov 17, 2024
c456ca8
Update default refinement threshold
KunkelAlexander Nov 17, 2024
56b25a3
Minor
KunkelAlexander Nov 17, 2024
cf5d9bc
Fix typo
KunkelAlexander Nov 17, 2024
cf57f3e
Minor
hyschive Nov 22, 2024
da8d7ec
Merge main
hyschive Nov 25, 2024
20dd34f
Minor
hyschive Nov 27, 2024
618ebf8
Incorporate Chun-Yen's comments
hyschive Dec 4, 2024
386d9da
Merge pull request #128 from KunkelAlexander/spectral_interpolation_b…
hyschive Dec 5, 2024
e39386e
Minor
hyschive Dec 5, 2024
0c61f99
Update wiki for ELBDM parameters
hyschive Dec 5, 2024
ada4f6d
Merge branch 'psidm' of https://github.com/hyschive/gamer-fork into s…
KunkelAlexander Dec 8, 2024
fda3b19
Minor
KunkelAlexander Dec 8, 2024
024087c
Merge pull request #139 from KunkelAlexander/spectral_refinement_v3_a…
hyschive Dec 9, 2024
c4bb3c0
Minor
hyschive Dec 9, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
.DS_Store

*.o
*.bin
*~

bin/**
src/generate_make.sh
Expand All @@ -10,6 +12,5 @@ GAMER_CompareData
GAMER_ExtractUniform
GAMER_ExtractProfile
.vscode
*~
src/Makefile
src/Makefile.log
1 change: 1 addition & 0 deletions configs/eureka_gnu.config
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ HDF5_PATH /software/hdf5/default
GRACKLE_PATH
GSL_PATH /software/gsl/default
LIBYT_PATH
CUFFTDX_PATH /software/cuFFTDx/default

# compilers
CXX g++
Expand Down
1 change: 1 addition & 0 deletions configs/eureka_intel.config
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ HDF5_PATH /software/hdf5/default
GRACKLE_PATH
GSL_PATH /software/gsl/default
LIBYT_PATH
CUFFTDX_PATH /software/cuFFTDx/default

# compilers
CXX icpc
Expand Down
1 change: 1 addition & 0 deletions configs/spock_intel.config
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ HDF5_PATH /software/hdf5/1.10.6-intel-2023.1.0
GRACKLE_PATH
GSL_PATH /software/gsl/2.6-intel-2023.1.0
LIBYT_PATH
CUFFTDX_PATH /software/cuFFTDx/22.11

# compilers
CXX icpc
Expand Down
1 change: 1 addition & 0 deletions configs/template.config
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ HDF5_PATH /path/to/hdf5
GRACKLE_PATH /path/to/grackle
GSL_PATH /path/to/gsl
LIBYT_PATH /path/to/libyt
CUFFTDX_PATH /path/to/cufftdx

# 2. Compiler type
CXX icpc # Serial compiler
Expand Down
2 changes: 1 addition & 1 deletion doc/wiki/ELBDM-Spectral-Interpolation.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This section provides an overview of the spectral interpolation method in GAMER

### Compilation and Runtime Settings
- **Compile-Time Flag**: Ensure GAMER is compiled with `SUPPORT_SPECTRAL_INT` (or configured with `--spectral_interpolation`).
- **Runtime Parameters**: Set `OPT__FLU_INT_SCHEME` and `OPT__REF_FLU_INT_SCHEME` to `8` for enabling spectral interpolation. Set `SPEC_INT_TABLE_PATH` to the directory containing `interpolation_tables` and `boundary2extension_tables`. Enable `SPEC_INT_XY_INSTEAD_DEPHA` to interpolate x = density^0.5\*cos( phase/SPEC_INT_WAVELENGTH_MAGNIFIER ), y = density^0.5\*sin( phase/SPEC_INT_WAVELENGTH_MAGNIFIER ) instead of density and phase, which has the advantage of being well-defined across vortices. `SPEC_INT_WAVELENGTH_MAGNIFIER` is the stretching factor of wavelength; setting it to unity gives x=real part and y=imaginary part.
- **Runtime Parameters**: Set `OPT__FLU_INT_SCHEME` and `OPT__REF_FLU_INT_SCHEME` to `8` for enabling spectral interpolation. Set `SPEC_INT_TABLE_PATH` to the directory containing `interpolation_tables` and `boundary2extension_tables`. Enable `SPEC_INT_XY_INSTEAD_DEPHA` to interpolate real and imaginary parts instead of density and phase around vortices, which has the advantage of being well-defined across vortices. `SPEC_INT_VORTEX_THRESHOLD` sets the vortex detection threshold for `SPEC_INT_XY_INSTEAD_DEPHA`. If the laplacian of the phase field exceeds this threshold, we interpolate the real and imaginary parts. `SPEC_INT_GHOST_BOUNDARY` sets the ghost boundary size for spectral interpolation. A large ghost boundary increases interpolation accuracy but can negatively affect performance.

### Obtaining Interpolation Tables

Expand Down
2 changes: 1 addition & 1 deletion example/input/Input__DumpTable
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#Dump ID Dump Time
#Dump_ID Dump_Time
0 0.0909090920000000
1 0.0965026241318910
2 0.1022642090403268
Expand Down
12 changes: 12 additions & 0 deletions example/input/Input__Flag_Interference
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Level QP Density PhaseLap OnlyAtExtrema
0 0.03 0 1.0 0
1 0.03 0 1.0 0
2 0.03 0 1.0 0
3 0.03 0 1.0 0
4 0.03 0 1.0 0
5 0.03 0 1.0 0
6 0.03 0 1.0 0
7 0.03 0 1.0 0
8 0.03 0 1.0 0
9 0.03 0 1.0 0
10 0.03 0 1.0 0
13 changes: 13 additions & 0 deletions example/input/Input__Flag_Spectral
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Level Refinement Derefinement (derefinement currently not functional)
0 1.0 -1.0
1 1.0 -1.0
2 1.0 -1.0
3 1.0 -1.0
4 1.0 -1.0
5 1.0 -1.0
6 1.0 -1.0
7 1.0 -1.0
8 1.0 -1.0
9 1.0 -1.0
10 1.0 -1.0
11 1.0 -1.0
2 changes: 1 addition & 1 deletion example/script/clean.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ rm -f Record__Note Record__Timing Record__TimeStep Record__PatchCount Record__Du
Diag* BaseXYslice* BaseYZslice* BaseXZslice* BaseXline* BaseYline* BaseZline* BaseDiag* \
PowerSpec_* Particle_* nohup.out Record__Performance Record__TimingMPI_* \
Record__ParticleCount Record__User Patch_* Record__NCorrUnphy FailedPatchGroup* *.pyc Record__LoadBalance Record__Center \
GRACKLE_INFO Record__DivB
GRACKLE_INFO Record__DivB Record__Hybrid
Loading
Loading