#include <density.h>
A class to pre-calculate and store parameters relevant for density calculation.
It has to be initialized only once per SMASH run.
Public Member Functions | |
DensityParameters (const ExperimentParameters &par) | |
Constructor of DensityParameters. More... | |
int | ntest () const |
int | nensembles () const |
DerivativesMode | derivatives () const |
RestFrameDensityDerivativesMode | rho_derivatives () const |
SmearingMode | smearing () const |
double | central_weight () const |
double | triangular_range () const |
double | r_cut () const |
double | r_cut_sqr () const |
double | two_sig_sqr_inv () const |
double | norm_factor_sf () const |
bool | only_participants () const |
Private Attributes | |
const double | sig_ |
Gaussian smearing width [fm]. More... | |
const double | r_cut_ |
Cut-off radius [fm]. More... | |
double | r_cut_sqr_ |
Squared cut-off radius [fm \(^2\)]. More... | |
double | two_sig_sqr_inv_ |
\( (2 \sigma^2)^{-1} \) [fm \(^{-2}\)] More... | |
double | norm_factor_sf_ |
Normalization for Gaussian smearing factor. More... | |
const int | ntest_ |
Testparticle number. More... | |
const int | nensembles_ |
Number of ensembles. More... | |
const DerivativesMode | derivatives_ |
Mode of calculating the gradients. More... | |
const RestFrameDensityDerivativesMode | rho_derivatives_ |
Whether to calculate the rest frame density derivatives. More... | |
const SmearingMode | smearing_ |
Mode of smearing. More... | |
const double | central_weight_ |
Weight of the central cell in the discrete smearing. More... | |
const double | triangular_range_ |
Range of the triangular smearing. More... | |
bool | only_participants_ |
Flag to take into account only participants. More... | |
|
inline |
Constructor of DensityParameters.
[in] | par | Struct containing the Gaussian smearing width \(\sigma\), the cutoff factor \(a\) where the cutoff radius \(r_{\rm cut}=a\sigma\), the test-particle number, the number of ensembles, the mode of calculating the derivatives, the smearing mode, the central weight for Discrete smearing, the range (in units of lattice spacing) for Triangular smearing and the flag about using only participants or also spectators |
Definition at line 121 of file density.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |