WallGo.results.WallGoResults
- class WallGoResults[source]
Bases:
objectCompiles output results for users of WallGo
Methods
__init__()setBoltzmannBackground(boltzmannBackground)Set Boltzmann background results
setBoltzmannResults(boltzmannResults)Set Boltzmann results
Set finite difference Boltzmann results
setHydroResults(hydroResults)Set hydrodynamics results
setSuccessState(success, solutionType, message)Set the termination message, the success flag and the solution type.
Set the violation of energy-momentum conservation results
setWallParams(wallParams)Set wall parameters results
setWallVelocities(wallVelocity, ...)Set wall velocity results
Attributes
Bubble wall velocity \(v_w\).
Estimated error in bubble wall velocity \(\delta v_w\).
Bubble wall velocity in local thermal equilibrium \(v_w^\text{LTE}\).
Temperature in front of the bubble, \(T_+\), from hydrodynamic matching conditions.
Temperature behind the bubble, \(T_-\), from hydrodynamic matching conditions.
Jouguet velocity, \(v_J\), the smallest velocity for a detonation.
Bubble wall widths in each field direction, \(L_i\).
Bubble wall offsets in each field direction, \(\delta_i\).
Fluid velocity as a function of position, \(v_\text{pl}(\xi)\).
Field profile as a function of position, \(\phi_i(\xi)\).
Temperarture profile as a function of position, \(T(\xi)\).
Ratio of out-of-equilibrium and equilibrium pressures, \(|P[\delta f]| / |P[f_\text{eq}]|\).
Residual of the EOM due to the tanh ansatz.
Ratio of the first-order correction due to nonlinearities and total pressure computed by WallGo, \(|P[\delta f_2]| / |P[f_\text{eq}+\delta f]|\).
Deviation of probability density function from equilibrium, \(\delta f(\xi, p_z, p_\parallel)\).
Relativistically invariant integrals over \(\mathcal{E}_\text{pl}^{n_\mathcal{E}}\mathcal{P}_\text{pl}^{n_\mathcal{P}}\delta f\).
Estimated relative error in \(\delta f\) due to truncation of spectral expansion.
Deviation of probability density function from equilibrium, \(\delta f(\xi, p_z, p_\parallel)\), using finite differences instead of spectral expansion.
Relativistically invariant integrals over \(\mathcal{E}_\text{pl}^{n_\mathcal{E}}\mathcal{P}_\text{pl}^{n_\mathcal{P}}\delta f\), using finite differences instead of spectral expansion.
RMS along the grid of the violation of the conservation of the components T30 and T33 of the energy-momentum tensor.
Describes the type of solution obtained.
Whether or not the calculation was successful.
Description of the cause of the termination.
- Deltas: BoltzmannDeltas
Relativistically invariant integrals over \(\mathcal{E}_\text{pl}^{n_\mathcal{E}}\mathcal{P}_\text{pl}^{n_\mathcal{P}}\delta f\).
- DeltasFiniteDifference: BoltzmannDeltas
Relativistically invariant integrals over \(\mathcal{E}_\text{pl}^{n_\mathcal{E}}\mathcal{P}_\text{pl}^{n_\mathcal{P}}\delta f\), using finite differences instead of spectral expansion.
- deltaF: ndarray
Deviation of probability density function from equilibrium, \(\delta f(\xi, p_z, p_\parallel)\).
- deltaFFiniteDifference: ndarray
Deviation of probability density function from equilibrium, \(\delta f(\xi, p_z, p_\parallel)\), using finite differences instead of spectral expansion.
- eomResidual: ndarray
Residual of the EOM due to the tanh ansatz. There is one element for each scalar field. It is estimated by the integral
\[\sqrt{\Delta[\mathrm{EOM}^2]/|\mathrm{EOM}^2|}\]with
\[\Delta[\mathrm{EOM}^2]=\int\! dz\, (-\partial_z^2 \phi+ \partial V_{\mathrm{eq}}/ \partial \phi+ \partial V_{\mathrm{out}}/ \partial \phi )^2\]and
\[|\mathrm{EOM}^2|=\int\! dz\, [(\partial_z^2 \phi)^2+ (\partial V_{\mathrm{eq}}/ \partial \phi)^2+ (\partial V_{\mathrm{out}}/ \partial \phi)^2].\]
- linearizationCriterion1: float
Ratio of out-of-equilibrium and equilibrium pressures, \(|P[\delta f]| / |P[f_\text{eq}]|\).
- linearizationCriterion2: float
Ratio of the first-order correction due to nonlinearities and total pressure computed by WallGo, \(|P[\delta f_2]| / |P[f_\text{eq}+\delta f]|\).
- message: str
Description of the cause of the termination.
- setBoltzmannBackground(boltzmannBackground)[source]
Set Boltzmann background results
- Parameters:
boltzmannBackground (BoltzmannBackground)
- Return type:
None
- setBoltzmannResults(boltzmannResults)[source]
Set Boltzmann results
- Parameters:
boltzmannResults (BoltzmannResults)
- Return type:
None
- setFiniteDifferenceBoltzmannResults(boltzmannResults)[source]
Set finite difference Boltzmann results
- Parameters:
boltzmannResults (BoltzmannResults)
- Return type:
None
- setHydroResults(hydroResults)[source]
Set hydrodynamics results
- Parameters:
hydroResults (HydroResults)
- Return type:
None
- setSuccessState(success, solutionType, message)[source]
Set the termination message, the success flag and the solution type.
- Parameters:
success (bool)
solutionType (ESolutionType)
message (str)
- Return type:
None
- setViolationOfEMConservation(violationOfEMConservation)[source]
Set the violation of energy-momentum conservation results
- Parameters:
violationOfEMConservation (Tuple[float, float])
- Return type:
None
- setWallParams(wallParams)[source]
Set wall parameters results
- Parameters:
wallParams (WallParams)
- Return type:
None
- setWallVelocities(wallVelocity, wallVelocityError, wallVelocityLTE)[source]
Set wall velocity results
- Parameters:
wallVelocity (float | None)
wallVelocityError (float | None)
wallVelocityLTE (float | None)
- Return type:
None
- solutionType: ESolutionType
Describes the type of solution obtained. Must be a ESolutionType object. The function WallGoManager.solveWall() will return DEFLAGRATION if a solution was found and RUNAWAY otherwise. The function WallGoManager.solveWallDetonation() will return DETONATION if a solution was found. Otherwise, it returns RUNAWAY if the pressure is negative everywhere between vJ and 1, DEFLAGRATION if the pressure is always positive, and DEFLAGRATION_OR_RUNAWAY if the pressure is positive at vJ and negative at 1 and no stable solution was found. In both cases, returns ERROR if success=False.
- success: bool
Whether or not the calculation was successful. Will still be True if no solution was found, as long as no error happened along the way.
- temperatureMinus: float
Temperature behind the bubble, \(T_-\), from hydrodynamic matching conditions.
- temperaturePlus: float
Temperature in front of the bubble, \(T_+\), from hydrodynamic matching conditions.
- temperatureProfile: ndarray
Temperarture profile as a function of position, \(T(\xi)\).
- truncationError: float
Estimated relative error in \(\delta f\) due to truncation of spectral expansion.
- velocityJouguet: float
Jouguet velocity, \(v_J\), the smallest velocity for a detonation.
- velocityProfile: ndarray
Fluid velocity as a function of position, \(v_\text{pl}(\xi)\).
- violationOfEMConservation: Tuple[float, float]
RMS along the grid of the violation of the conservation of the components T30 and T33 of the energy-momentum tensor.
- wallOffsets: ndarray
Bubble wall offsets in each field direction, \(\delta_i\).
- wallVelocity: float | None
Bubble wall velocity \(v_w\). None if no solution was found.
- wallVelocityError: float | None
Estimated error in bubble wall velocity \(\delta v_w\). None if no solution was found.
- wallVelocityLTE: float | None
Bubble wall velocity in local thermal equilibrium \(v_w^\text{LTE}\). None when looking for a detonation solution, since no detonation exists in LTE.
- wallWidths: ndarray
Bubble wall widths in each field direction, \(L_i\).