juliaTDGL: the four dots of the Julia logo as vortices over the j and the iv2.0.0 GitHub

Reference

The keys of a run file of release 2.0, with their defaults. A run file is TOML; a key left out takes its default. The guide (PDF) has the derivations.

[material]

keydefaultmeaning
file—a material file of materials/ (MgB2 dirty and clean estimates, the two models of the diode studies, one-band Nb, NbN and a-MoGe, a three-band model that breaks time reversal, an iron-based s± model, a template); the keys below override it
kapparequiredκ = λ/ξ of band 1
sigma_n1.0normal conductivity in the code's units; "dirty" = that of a dirty BCS material with these bands
T0.0bath temperature offset, εμ = aμ − T
gamma12 or gamma0the Josephson coupling of two bands, or the symmetric matrix for N
[[material.band]]one table per band: m (or g = 1/m, or xi_ratio), Gamma (1), a (1), beta (1), gamma_kwt (0); m_x, m_y, m_z for an anisotropic band

[materials.NAME]

The materials that regions of the shape name with material = "NAME". A table takes the keys of [material]; it must give every key that [material] gives (Γ, β, γ̃, the coupling), and one left out is an error, not the package default. κ and T are the sample's.

keydefaultmeaning
file—take the bands and coupling of a material file; σn stays the sample's unless the table gives it
transparency1{ other = t }: the barrier between this material and another ("material" names the first), t in (0, 1]
sigma_nthe sample'sσn per region (the conductivity of a link is the harmonic mean; the field solve becomes iterative)
qp_exchangethe one of [scheme]the interband exchange rate of this material (the split of σn between bands must be the same in all)
absentnone[2]: band 2 is absent here (a one-band metal)
heat_D_Tthe one of [heat]the heat diffusivity of this material

[mesh]

keydefaultmeaning
nx, ny, nzrequiredcells of the sample along each axis
dxrequiredthe cell, in ξ1; the implicit solve needs dx = dy = dz
buf1cells of buffer around the sample (bufx, bufy, bufz per axis)
ghost_linkstruefalse: no supercurrent on the links between two face ghosts (the exact gradient flow; needed where a current crosses a material interface that reaches the faces)

[geometry]

keydefaultmeaning
GEOM_MODE"SIM"a catalogue shape: SIM (plain box), WEDGE, WEDGE_BOTH, TRI_Y1, TRI_Y1_INV, RECT_Y1, FUNNEL, FUNNEL_IN, HEX, HEX_STAG, ARRAY, STAGGER, ESFERA, ESF_CUNA, SPHROW, SAWROW, SAWSPH, FGRAD; or CUSTOM with a shape file (CUSTOM_REF: its mirror)
geom_file—the shape file of CUSTOM (from the editor, or by hand)
wedge_depth, wedge_half0.35, 0.2depth of the wedge as a fraction of ny, half-width as a fraction of nx
inj_margin6cells next to each contact kept free of defects
z_mode"through"how a catalogue defect extends along z: "through", "half", "buried"

[scheme]

The keywords of the Stepper. The defaults are the production scheme. A run folder keeps the defaults it started with, so an old run resumes with its own.

keydefaultmeaning
dt_scale0.5the step as a fraction of the stability bound
implicittruethe curl-curl term implicit
rkl"rkc"the stages of the stiff bands: "rkc" (Chebyshev), true (Legendre), false (Euler substeps)
rkc_damping0.5the damping ε of the Chebyshev stages
rotframeon with KWTstep each band in the gauge that turns with it
rkl_margin1.1 with KWT, 1 withoutthe stages cover the bound times this factor
substepsautomaticEuler substeps per band, when rkl = false
selffield_bc"bar"the boundary of the self-field: "bar", "open", "slab"
open_every1.0tGL between two updates of the open boundary
sigma_vacnonethe conductivity of an insulating buffer (0.01 typical); needed by a sample carved in vacuum
pcg_tol, pcg_fast, pcg_f321e-8, true, truethe iterative field solve: its tolerance, the extrapolated first guess, the single-precision preconditioner
qp_exchange, qp_splitnone, dirtynormal fluids per band: the exchange rate (a matrix for N bands) and the share of σn of each band
noise, noise_seed, noise_fieldnone, 1, falsethermal noise at T̃, its seed, and the same bath on the field
dragnonethe mixed-gradient coefficient (a matrix for N bands)
threadswith Julia threadsthreaded loops (the same bits)

[heat]

keydefaultmeaning
D_T0.25heat diffusivity
gamma_bath0.2coupling to the bath
eta0.05the fraction of the dissipation that heats
joulefalseinclude the Joule heat σn|E|²
margin0cells next to the contacts left out of the source
cap, cut1.5, 0.45the ceiling of θ, and the θ above which a point closes T

[protocol]

keydefaultmeaning
t_min_GL400the floor of a silent point, tGL
t_min_GL_res1584the floor of a dissipating point; with noise, the time a silent point must hold without a slip
t_confirm_GL0the onset by the delay: continue the silent rungs below the first flowing one up to this time
confirm_max4at most this many rungs continued
confirm_replayfalseretain the field PCG and random stream of each buffered rung for delay confirmation
slip_band_mode"band1""any_band" lets any band trigger a phase-slip verdict and requires a silent closure for the lower bracket
stop_after_V0stop a ladder after this many flowing points (0: run them all)
keep_rung_statesfalsesave the state of every rung (needed by the figures and films of a rung)
delta_v8cells between each contact and its voltmeter plane
eps_conv1e-4the fixed-point tolerance per cycle
f_strict, f_margin, v_margintrue, 0.5, 1.1the margins of the verdicts
n_frac0.02the fraction of ⟨|Ψ1|²⟩ below which a point closes N
lMax, mMax40, 500 000steps per cycle, and the ceiling in cycles

[run]

keydefaultmeaning
Jrequiredthe currents of the ladder (the same list for both polarities)
H0.0the applied field along z, in Hc2
out_dir""the run folder
start"meissner"the first state: "meissner", "field_cooled" (with start_T_hot = 1.5, start_t_hot = 150, start_seed = 1), or a state file

From Julia

functionwhat it does
Model, Band, two_banda material: its bands and Josephson matrix
Grid, GeomSpec, build_masksthe mesh and the shape
Stepper, step!, initial_statethe scheme, one step, a Meissner seed
ladder, run_ladders, resume_ladder, Protocola current ladder, both polarities, a resumed one, the protocol
delay_bracket, bracket_Ic, crossing_timesonsets by the delay and by the verdicts; delays
load_config, run_configa run from a TOML file
count_vortices, band_currents, free_energy, dissipationobservables
regimethe numbers that place a model in its regime
save_state, load_statecheckpoints (JLD2)