10 #ifndef SRC_INCLUDE_POTENTIALS_H_ 11 #define SRC_INCLUDE_POTENTIALS_H_ 56 double skyrme_pot(
const double baryon_density)
const;
66 double symmetry_pot(
const double baryon_isospin_density)
const;
160 std::tuple<ThreeVector, ThreeVector, ThreeVector, ThreeVector>
all_forces(
161 const ThreeVector &r,
const ParticleList &plist)
const;
206 #endif // SRC_INCLUDE_POTENTIALS_H_ A class to pre-calculate and store parameters relevant for density calculation.
The ThreeVector class represents a physical three-vector with the components .
double skyrme_a_
Parameter of skyrme potentials: the coefficient in front of in GeV.
bool use_symmetry_
Symmetry potential on/off.
~Potentials()
Standard destructor.
double symmetry_s_
coefficent in front of the symmetry term.
Potentials(Configuration conf, const DensityParameters ¶meters)
Potentials constructor.
Interface to the SMASH configuration files.
std::pair< double, int > force_scale(const ParticleType &data) const
Evaluates the scaling factor of the forces acting on the particles.
std::pair< ThreeVector, ThreeVector > symmetry_force(const ThreeVector grad_rho, const ThreeVector dj_dt, const ThreeVector rot_j) const
Evaluates the electrical and magnetic components of the symmetry force.
double skyrme_pot(const double baryon_density) const
Evaluates skyrme potential given a baryon density.
Particle type contains the static properties of a particle species.
const DensityParameters param_
Struct that contains the gaussian smearing width , the distance cutoff and the testparticle number n...
bool use_skyrme_
Skyrme potential on/off.
double potential(const ThreeVector &r, const ParticleList &plist, const ParticleType &acts_on) const
Evaluates potential at point r.
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.
double skyrme_b_
Parameters of skyrme potentials: the coefficient in front of in GeV.
bool use_symmetry() const
double skyrme_tau_
Parameters of skyrme potentials: the power index.
A class that stores parameters of potentials, calculates potentials and their gradients.
double symmetry_pot(const double baryon_isospin_density) const
Evaluates symmetry potential given baryon isospin density.
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.