Runtime Parameters: ELBDM - vivi235711/gamer GitHub Wiki

Parameters described on this page: ELBDM_MASS,   ELBDM_PLANCK_CONST,   ELBDM_LAMBDA,   ELBDM_TAYLOR3_COEFF,   ELBDM_TAYLOR3_AUTO,   ELBDM_REMOVE_MOTION_CM,   ELBDM_BASE_SPECTRAL,   ELBDM_MATCH_PHASE,   ELBDM_FIRST_WAVE_LEVEL,   OPT__RES_PHASE,   SPEC_INT_TABLE_PATH,   SPEC_INT_XY_INSTEAD_DEPHA,   SPEC_INT_VORTEX_THRESHOLD,   SPEC_INT_GHOST_BOUNDARY  

Parameters below are shown in the format:   Name   (Valid Values)   [Default Value]

  • ELBDM_MASS   (>0)   [none]

    • Description: Particle mass in ev/c^2. (Input unit is fixed even when OPT__UNIT or --comoving is on)
    • Restriction:

  • ELBDM_PLANCK_CONST   (>0)   [conform to the unit system set by OPT__UNIT or --comoving]

    • Description: Reduced planck constant in g.cm^2/s^2.
    • Restriction: It will be overwritten by the default value when OPT__UNIT or --comoving is on; no default when OPT__UNIT and --comoving is off.

  • ELBDM_LAMBDA   (none)   [1]

    • Description: Quartic self-interaction coefficient in ELBDM.
    • Restriction: --self_interaction must be enabled during compilation.

  • ELBDM_TAYLOR3_COEFF   (≥0.125)   [1.0/6.0]

    • Description: Coefficient for the 3rd-order Taylor expansion of the wave function. Values below 0.125 are always unstable. Values ≤ 1/6 become unstable if DT__FLUID > $\sqrt{3}\pi/8$ or $\sqrt{27}\pi/32$ (when --laplacian_four is enabled).
    • Restriction: Only applicable when the compilation option --wave_scheme=FD. Ignored if ELBDM_TAYLOR3_AUTO is enable.

  • ELBDM_TAYLOR3_AUTO   (none)   [0]

    • Description: If this parameter is set to 1, the code will automatically determine the coefficient ELBDM_TAYLOR3_COEFF to minimize the amplitude error for the smallest wavelength.
    • Restriction: Useless if OPT__FREEZE_FLUID is on.

  • ELBDM_REMOVE_MOTION_CM   (0=none, 1=init, 2=every step)   [0]

  • ELBDM_BASE_SPECTRAL   (0=off, 1=on)   [0]

    • Description: Adopt the spectral method to evolve base-level wave function.
    • Restriction: Requires --fftw=FFTW2/FFTW3 and periodic boundary conditions for all directions: OPT__BC_FLU=1.

  • ELBDM_MATCH_PHASE   (0=off, 1=on)   [1]

  • ELBDM_FIRST_WAVE_LEVEL   (1 ≤ input ≤ MAX_LEVEL)   [none]

    • Description: Level at which to switch to the wave solver.
    • Restriction: Only applicable when enabling the compilation option --elbdm_scheme=HYBRID.

  • OPT__RES_PHASE   (0=off, 1=on)   [0]

    • Description: Restriction on phase. (i.e., the averages of fine-grid data equal the coarse-grid data)
    • Restriction:

  • SPEC_INT_TABLE_PATH   (none)   [none]

  • SPEC_INT_XY_INSTEAD_DEPHA   (0=off, 1=on)   [1]

    • Description: Interpolate x and y (real and imaginary parts in current implementation) around vortices instead of density and phase for the spectral interpolation, which has the advantage of being well-defined across vortices
    • Restriction: Only applicable when the enabling compilation option --spectral_interpolation and Interpolation schemes=8.

  • SPEC_INT_GHOST_BOUNDARY   (≥1)   [4]

Remarks


Links

⚠️ **GitHub.com Fallback** ⚠️