grasp icon indicating copy to clipboard operation
grasp copied to clipboard

Changing the default grid parameters of the package.

Open tarjear opened this issue 2 years ago • 0 comments

Hi! I'm writing my master's thesis on the hyperfine structure of Bismuth, calculated using GRASP2018. Due to the size of Bi, I need to update the grid parameters RNT, H, and N for my calculations. I've successfully changed N in the /libmod directory, but I haven't found any equivalent settings for RNT and H. I have been inputting the non-default parameters manually, which works fine for all the programs I can script (rangular, rmcdhf, rci, rhfs), but is a bit of a bother when running rwfnestimate.

Does anyone here know of a way to change RNT and H when compiling the package?

Thanks in advance, Tarje

UPDATE: I used sed to replace all instances of "RNT = 2.0D-06" with "RNT = 1.0D-06" and "H = 5.0D-02" with "H = 1.0D-02" in the .f90 files in src and all of its subdirectories, and recompiled. I also checked that I didn't accidentally replace some other variable ending in "H" with H = 1. If anyone has a reason for why that is a horrible idea, please let me know. I'm quite new to this.

tarjear avatar Nov 13 '23 12:11 tarjear