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 virtual std::tuple<ThreeVector, ThreeVector, ThreeVector, ThreeVector>
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_pot(const double baryon_density) const
Evaluates skyrme potential given a baryon density.
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.
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.
virtual bool use_skyrme() const
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 skyrme_b_
Parameters of skyrme potentials: the coefficient in front of in GeV.
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 potential(const ThreeVector &r, const ParticleList &plist, const ParticleType &acts_on) const
Evaluates potential at point r.
virtual bool use_symmetry() const
std::pair< double, int > force_scale(const ParticleType &data) const
Evaluates the scaling factor of the forces acting on the particles.
double skyrme_tau_
Parameters of skyrme potentials: the power index.
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.
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.