Compute the RMS radius of a Fermi-Dirac density distribution with fixed diffusiveness. More...
#include <nucmass.h>
Public Member Functions | |
void | eval_rms_rho (double rho0, double N, double d, double &Rcd, double &Rfermi, double &Rrms) |
Compute the RMS radius from the central density. More... | |
void | eval_rms_rsq (double Rfermi, double N, double d, double &rho0, double &Rcd, double &Rrms) |
Compute the RMS radius from the Fermi distribution radius. More... | |
double | density (double r, double Rfermi, double d, double rho0) |
The radial density distribution. | |
double | iand2_new (double r, double Rfermi, double d, double rho0) |
The radial density distribution times radius squared. | |
void | eval_N_err (double Rfermi, double d, double rho0, double &N, double &N_err) |
Compute the total number of particles with numerical uncertainty. | |
double | eval_N (double Rfermi, double d, double rho0) |
Compute the total number of particles. | |
Protected Member Functions | |
double | iand (double r) |
The function ![]() | |
double | iand2 (double r) |
The function ![]() | |
double | solve (double x) |
The function to fix the total number of particles. | |
Protected Attributes | |
double | urho0 |
The central denstiy. | |
double | ud |
The diffusiveness. | |
double | uRfermi |
Store the user-specified value of the radius in the Fermi distribution. More... | |
double | uN |
The total number of particles. | |
inte_qagiu_gsl | it |
The integrator. | |
root_cern | cr |
The solver. | |
This class computes the RMS radius given either the central density or the radius specified in the Fermi function. This class assumes the density distribution function is of the form
where is the total number of particles,
is the diffusiveness,
is the half-height radius, and
is the central density.
The radius assuming constant density,
is also given.
void o2scl::nucmass_radius::eval_rms_rho | ( | double | rho0, |
double | N, | ||
double | d, | ||
double & | Rcd, | ||
double & | Rfermi, | ||
double & | Rrms | ||
) |
Computes the RMS radius Rrms
from the central density rho0
, the number of particles N
, and the diffusiveness d
. This function also computes the radius in the Fermi distribution function, Rfermi
and the radius assuming constant density, Rcd
.
void o2scl::nucmass_radius::eval_rms_rsq | ( | double | Rfermi, |
double | N, | ||
double | d, | ||
double & | rho0, | ||
double & | Rcd, | ||
double & | Rrms | ||
) |
Computes the RMS radius Rrms
from the radius Rfermi
in the Fermi distribution assuming a total number of particles N
, a diffusiveness paramter d
. This function also produces the central density rho0
, and the radius assuming constant density, Rcd
.
|
protected |
Documentation generated with Doxygen. Provided under the
GNU Free Documentation License (see License Information).