# Documentation - Wiki: # https://gitlab.fizyka.pw.edu.pl/wtools/wslda/-/wikis/home # -------------- USER DEFINED PARAMETERS -------------- # See: Wiki -> User defined parameters # Data flow: [Read params from input file] -> [execute process_params( )] -> [pass params to functions] params[1] = 0.80 # Thomas-Fermi radius for x direction, in units of LX/2 params[2] = 0.90 # Smoothing parameter x1 for harmonic_oscillator_smooth_edges, in units of L/2 params[3] = 0.97 # Smoothing parameter x2 for harmonic_oscillator_smooth_edges, in units of L/2 params[4] = 0.24 # height of the barrier, in eF units params[5] = 5.0 # width of barrier, in 1/kF units params[6] = 0.015# tilt potential # ------------------- INITIALIZATION ------------------ # See: Wiki -> Initialization of the solver inittype 0 # 0 - create uniform solution and start from it, # 10 - read uniform solution from file `inprefix`/uniform.solution # # 5 - start from st-wslda checkpoint, inprefix points to folder with checkpoint binary file # # -1 - custom initialization, see wiki pages: Initialization of the st wslda solvers # ------------------- INPUT/OUTPUT ------------------ outprefix jj-r1 # all output files will start with this prefix inprefix none # prefix of calculation you need to use as input (when inittype!=0) overwrite 1 # allow for overwriting results checkpoint 1 # do checkpoints after each iteration resetit 1 # reset iterations counter (it): yes=1, no=0 # Hint: use resetit=1 if you want to start a new calculation from the existing checkpoint # or resetit=0 if you want to continue the existing calculation. writewf 1 # write wf at the end of computation: yes=1, no=0 # Hint: use writewf=1 if you plan to evolve in time the derived static solution. # writeecut 10.0 # only states with |E_n/eF| Convergence control -> Disabling mixing in the first iteration # mixingtype p # 'd' - mix densities, 'p' - mix potentials (default) # ----------------- Broyden algorithm ---------------------- # See: Wiki -> Broyden algorithm broyden 1 # activate broyden mixing: 0-no, 1-yes, default=0 (linear mixing) broydenmixing 0.75 # mixing parameter (alpha) for Broyden mixing, default=0.75 Mbroyden 5 # number of previous iterations used by Broyden, default=5 #startbroyden 5 # iteration number (it) for which Broyden should be activated, # for it Initialization of the solver # init0Na 28.0 # requested number of particles of type a, default=Na # init0Nb 28.0 # requested number of particles of type b, default=Nb init0na 0.01689 # required density for component a init0nb 0.01689 # and component b, so corresponding kF=1 init0muchange 0.5 # change rate of chemical potentials, default muchange # init0Tstart 0.1 # # start temperature, in units of eF, default value is equal to init0Tstop # init0Tstop 0.01 # Temperature, in units of eF, default=temperature # init0DeltaT 0.01 # change of temperature in units of eF, default 0.01 init0eps 1.0e-9 # epsilon for convergence, default 1.0e-9 init0scmix 0.5 # mixing parameter in self-consistent process, default=linearmixing # init0kc 3.1415 # momentum cut-off used for uniform solver, default=pi/max(DX,DY,DZ) init0maxiter 1000 # maximum number of iterations, default=maxiters # init0debug 1 # debug level, default=0 (no debug info), 1 (basic debug info), 2 (detailed debug info) # init0save 1 # 0 - no saving of solution to file, 1 - save solution to the file