#include <potentials.h>
A class that stores parameters of potentials, calculates potentials and their gradients.
Potentials are responsible for long-range interactions and stand in the left part of Boltzmann equation. Short-range interactions are taken into account in the right part of it - in the collision term.
Definition at line 31 of file potentials.h.
Public Member Functions | |
Potentials (Configuration conf, const DensityParameters ¶meters) | |
Potentials constructor. More... | |
virtual | ~Potentials () |
Standard destructor. More... | |
double | skyrme_pot (const double baryon_density) const |
Evaluates skyrme potential given a baryon density. More... | |
double | symmetry_pot (const double baryon_isospin_density, const double baryon_density) const |
Evaluates symmetry potential given baryon isospin density. More... | |
double | symmetry_S (const double baryon_density) const |
Calculate the factor \(S(\rho)\) in the symmetry potential. More... | |
double | potential (const ThreeVector &r, const ParticleList &plist, const ParticleType &acts_on) const |
Evaluates potential at point r. More... | |
std::pair< ThreeVector, ThreeVector > | skyrme_force (const double density, const ThreeVector grad_rho, const ThreeVector dj_dt, const ThreeVector rot_j) const |
Evaluates the electrical and magnetic components of the skyrme force. More... | |
std::pair< ThreeVector, ThreeVector > | symmetry_force (const double rhoI3, const ThreeVector grad_rhoI3, const ThreeVector djI3_dt, const ThreeVector rot_jI3, const double rhoB, const ThreeVector grad_rhoB, const ThreeVector djB_dt, const ThreeVector rot_jB) const |
Evaluates the electrical and magnetic components of the symmetry force. More... | |
virtual std::tuple< ThreeVector, ThreeVector, ThreeVector, ThreeVector > | all_forces (const ThreeVector &r, const ParticleList &plist) const |
Evaluates the electrical and magnetic components of the forces at point r. More... | |
virtual bool | use_skyrme () const |
virtual bool | use_symmetry () const |
double | skyrme_a () const |
double | skyrme_b () const |
double | skyrme_tau () const |
Static Public Member Functions | |
static std::pair< double, int > | force_scale (const ParticleType &data) |
Evaluates the scaling factor of the forces acting on the particles. More... | |
Private Member Functions | |
double | dVsym_drhoI3 (const double rhoB, const double rhoI3) const |
Calculate the derivative of the symmetry potential with respect to the isospin density in GeV * fm^3. More... | |
double | dVsym_drhoB (const double rhoB, const double rhoI3) const |
Calculate the derivative of the symmetry potential with respect to the net baryon density in GeV * fm^3. More... | |
Private Attributes | |
const DensityParameters | param_ |
Struct that contains the gaussian smearing width \(\sigma\), the distance cutoff \(r_{\rm cut}\) and the testparticle number needed for the density calculation. More... | |
bool | use_skyrme_ |
Skyrme potential on/off. More... | |
bool | use_symmetry_ |
Symmetry potential on/off. More... | |
double | skyrme_a_ |
Parameter of skyrme potentials: the coefficient in front of \(\frac{\rho}{\rho_0}\) in GeV. More... | |
double | skyrme_b_ |
Parameters of skyrme potentials: the coefficient in front of \((\frac{\rho}{\rho_0})^\tau\) in GeV. More... | |
double | skyrme_tau_ |
Parameters of skyrme potentials: the power index. More... | |
double | symmetry_S_Pot_ |
Parameter S_Pot in the symmetry potential in MeV. More... | |
bool | symmetry_is_rhoB_dependent_ = false |
Whether the baryon density dependence of the symmetry potential is included. More... | |
double | symmetry_gamma_ |
Power \( \gamma \) in formula for \( S(\rho) \): More... | |
smash::Potentials::Potentials | ( | Configuration | conf, |
const DensityParameters & | parameters | ||
) |
Potentials constructor.
[in] | conf | Configuration which contains the switches determining whether to turn on the Skyrme or the symmetry potentials, and the coefficents controlling how strong the potentials are. |
[in] | parameters | Struct that contains the gaussian smearing factor \(\sigma\), the distance cutoff \(r_{\rm cut}\) and the testparticle number needed for the density calculation. |
|
virtual |
double smash::Potentials::skyrme_pot | ( | const double | baryon_density | ) | const |
Evaluates skyrme potential given a baryon density.
[in] | baryon_density | Baryon density \(\rho\) evaluated in the local rest frame in fm \(^{-3}\). |
\[U_B=10^{-3}\times\frac{\rho}{|\rho|} (A\frac{\rho}{\rho_0}+B(\frac{\rho}{\rho_0})^\tau)\]
in GeVDefinition at line 109 of file potentials.cc.
double smash::Potentials::symmetry_pot | ( | const double | baryon_isospin_density, |
const double | baryon_density | ||
) | const |
Evaluates symmetry potential given baryon isospin density.
[in] | baryon_isospin_density | The difference between the proton and the neutron density in the local rest frame in fm \(^{-3}\). |
[in] | baryon_density |
\[U_I=2\times 10^{-3}S_{\rm sym} \frac{\rho_{I_3}}{\rho_0} + \left[12.3\left(\frac{\rho_B}{\rho_0}\right)^{2/3} + 20\left(\frac{\rho_B}{\rho_0}\right)^\gamma\right] \left(\frac{\rho_{I_3}}{\rho_B}\right)^2\]
in GeVDefinition at line 127 of file potentials.cc.
double smash::Potentials::symmetry_S | ( | const double | baryon_density | ) | const |
Calculate the factor \(S(\rho)\) in the symmetry potential.
[in] | baryon_density | baryon density |
Definition at line 119 of file potentials.cc.
double smash::Potentials::potential | ( | const ThreeVector & | r, |
const ParticleList & | plist, | ||
const ParticleType & | acts_on | ||
) | const |
Evaluates potential at point r.
Potential is always taken in the local Eckart rest frame, but point r is in the computational frame.
[in] | r | Arbitrary space point where potential is calculated |
[in] | plist | List of all particles to be used in \(j^{\mu}\) calculation. If the distance between particle and calculation point r, \( |r-r_i| > r_{cut} \) then particle input to density will be ignored. |
[in] | acts_on | Type of particle on which potential is going to act. It gives the charges (or more precisely, the scaling factors) of the particle moving in the potential field. |
\[U_{\rm tot} =Q_BU_B+2I_3U_I\]
in GeV, where \(Q_B\) is the baryon charge scaled by the ratio of the light (u, d) quark to the total quark number and \(I_3\) is the third compnent of the isospin.Definition at line 138 of file potentials.cc.
|
static |
Evaluates the scaling factor of the forces acting on the particles.
The forces are equal to the product of the scaling factor and the gradient of the potential. We need these scaling factors to describe the motions of the hyperons as well as the anti-particles in the potentials. For Lambda and Sigma, since they carry 2 light (u or d) quarks, they are affected by 2/3 of the Skyrme force. Xi carries 1 light quark, it is affected by 1/3 of the Skyrme force. Omega carries no light quark, so it's not affected by the Skyrme force. Anti-baryons are affected by the force as large as the force acting on baryons but with an opposite direction.
[in] | data | Type of particle on which potential is going to act. |
Definition at line 164 of file potentials.cc.
std::pair< ThreeVector, ThreeVector > smash::Potentials::skyrme_force | ( | const double | density, |
const ThreeVector | grad_rho, | ||
const ThreeVector | dj_dt, | ||
const ThreeVector | rot_j | ||
) | const |
Evaluates the electrical and magnetic components of the skyrme force.
[in] | density | Eckart baryon density [fm \(^{-3}\)]. |
[in] | grad_rho | Gradient of baryon density [fm \(^{-4}\)]. This density is evaluated in the computational frame. |
[in] | dj_dt | Time derivative of the baryon current density [fm \(^{-4}\) |
[in] | rot_j | Curl of the baryon current density [fm \(^{-4}\) |
\[E_B = -V_B^\prime(\rho^\ast)(\nabla\rho_B + \partial_t \vec j_B)\]
is the electro component of Skyrme force and\[B_B = V_B^\prime(\rho^\ast) \nabla\times\vec j_B\]
is the magnetic component of the Skyrme force with \(\rho^\ast\) being the Eckart baryon density.Definition at line 172 of file potentials.cc.
std::pair< ThreeVector, ThreeVector > smash::Potentials::symmetry_force | ( | const double | rhoI3, |
const ThreeVector | grad_rhoI3, | ||
const ThreeVector | djI3_dt, | ||
const ThreeVector | rot_jI3, | ||
const double | rhoB, | ||
const ThreeVector | grad_rhoB, | ||
const ThreeVector | djB_dt, | ||
const ThreeVector | rot_jB | ||
) | const |
Evaluates the electrical and magnetic components of the symmetry force.
[in] | rhoI3 | Relative isospin 3 density. |
[in] | grad_rhoI3 | Gradient of I3/I density [fm \(^{-4}\)]. This density is evaluated in the computational frame. |
[in] | djI3_dt | Time derivative of the I3/I current density [fm \(^{-4}\)] |
[in] | rot_jI3 | Curl of the I3/I current density [fm \(^{-4}\)] |
[in] | rhoB | Net-baryon density |
[in] | grad_rhoB | Gradient of the net-baryon density |
[in] | djB_dt | Time derivative of the net-baryon current density |
[in] | rot_jB | Curl of the net-baryon current density |
\[\vec{E} = - \frac{\partial V^\ast}{\partial\rho_{I_3}^\ast} (\nabla\rho_{I_3} + \partial_t \vec j_{I_3}) - \frac{\partial V^\ast}{\partial\rho_B^\ast}(\nabla\rho_B + \partial_t \vec j_B)\]
is the electrical component of symmetry force and\[\vec{B} = \frac{\partial V^\ast}{\rho_{I_3}^\ast} \nabla\times\vec j_{I_3} + \frac{\partial V^\ast}{\rho_B^\ast} \nabla\times\vec j_B \]
is the magnetic component of the symmetry force with \(\rho^\ast\) being the respective Eckart density.Definition at line 187 of file potentials.cc.
|
virtual |
Evaluates the electrical and magnetic components of the forces at point r.
Point r is in the computational frame.
[in] | r | Arbitrary space point where potential gradient is calculated |
[in] | plist | List of all particles to be used in \(j^{\mu}\) calculation. If the distance between particle and calculation point r, \( |r-r_i| > r_{cut} \) then particle input to density will be ignored. |
Definition at line 225 of file potentials.cc.
|
inlinevirtual |
Definition at line 190 of file potentials.h.
|
inlinevirtual |
Definition at line 192 of file potentials.h.
|
inline |
Definition at line 195 of file potentials.h.
|
inline |
Definition at line 197 of file potentials.h.
|
inline |
Definition at line 199 of file potentials.h.
|
private |
Calculate the derivative of the symmetry potential with respect to the isospin density in GeV * fm^3.
\[ \frac{\partial V_\mathrm{sym}}{\partial \rho_{I_3}} = 2\frac{S_\mathrm{Pot}}{\rho_0} + \frac{2\rho_{I_3}\left[12.3\left(\frac{\rho_B}{\rho_0}\right)^{2/3} + 20 \left(\frac{\rho_B}{\rho_0}\right)^\gamma\right]}{\rho_B^2} \]
[in] | rhoB | net baryon density |
[in] | rhoI3 | isospin density |
Definition at line 201 of file potentials.cc.
|
private |
Calculate the derivative of the symmetry potential with respect to the net baryon density in GeV * fm^3.
\[ \frac{\partial V_\mathrm{sym}}{\partial \rho_B} = \left(\frac{\rho_{I_3}}{\rho_B}\right)^2 \left[\frac{8.2}{\rho_0}\left(\frac{\rho_B}{\rho_0}\right)^{-1/3} + \frac{20\gamma}{\rho_B}\left(\frac{\rho_B}{\rho_0}\right)^\gamma\right] -2\frac{\rho_{I_3}^2}{\rho_B^3} \left[12.3\left(\frac{\rho_B}{\rho_0}\right)^{2/3} + 20\left(\frac{\rho_B}{\rho_0}\right)^\gamma\right]\]
[in] | rhoB | net baryon density |
[in] | rhoI3 | isospin density |
Definition at line 211 of file potentials.cc.
|
private |
Struct that contains the gaussian smearing width \(\sigma\), the distance cutoff \(r_{\rm cut}\) and the testparticle number needed for the density calculation.
Definition at line 207 of file potentials.h.
|
private |
Skyrme potential on/off.
Definition at line 210 of file potentials.h.
|
private |
Symmetry potential on/off.
Definition at line 213 of file potentials.h.
|
private |
Parameter of skyrme potentials: the coefficient in front of \(\frac{\rho}{\rho_0}\) in GeV.
Definition at line 219 of file potentials.h.
|
private |
Parameters of skyrme potentials: the coefficient in front of \((\frac{\rho}{\rho_0})^\tau\) in GeV.
Definition at line 225 of file potentials.h.
|
private |
Parameters of skyrme potentials: the power index.
Definition at line 231 of file potentials.h.
|
private |
Parameter S_Pot in the symmetry potential in MeV.
Definition at line 234 of file potentials.h.
|
private |
Whether the baryon density dependence of the symmetry potential is included.
Definition at line 240 of file potentials.h.
|
private |
Power \( \gamma \) in formula for \( S(\rho) \):
\[ S(\rho)=12.3\,\mathrm{MeV}\times \left(\frac{\rho}{\rho_0}\right)^{2/3}+20\,\mathrm{MeV}\times \left(\frac{\rho}{\rho_0}\right)^\gamma \]
Definition at line 247 of file potentials.h.