Replace theta with temperature_in_eV for the Maxwell-Juttner momentum distribution - #7205
Open
oshapoval wants to merge 23 commits into
Open
Replace theta with temperature_in_eV for the Maxwell-Juttner momentum distribution#7205oshapoval wants to merge 23 commits into
oshapoval wants to merge 23 commits into
Conversation
…istribution. Cases: constant, parser
…ellian distribution
… momentum distribution
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a follow-up PR to #7184: it replaces Maxwell–Juttner
theta / theta_functioninputs withtemperature_in_eV/temperature_in_eV_functionwith similar interface used for Maxwellian momentum distribution withtemperature_in_eV. It also adds capability to readtemperature_in_eVfrom file for Maxwell–Juttner;User-facing interface changes:
or
or
To support both Maxwellian and Maxwell–Juttner with the same
temperature_in_eVinputs, parsing and internal conversion (to eitheru_stdortheta) were split:parse_temperature_in_eV()used by both distributions for constant, parser, and read_from_file (Cartesian geometry + openPMD only for file).temperature_in_eV(scalar / parser / openPMD field) plus the species factorm_q_e_over_mc2 = q_e / (m c²). No parse-time conversion to eitheru_stdortheta.T_eV × q_e/(m c²)sqrt(T_eV × q_e/(m c²))To do list:
temperature_in_eVfrom openPMD file.