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)

double density (double r, double Rfermi, double d, double rho0)

double iand2_new (double r, double Rfermi, double d, double rho0)

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.

## Detailed Description

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.

is also given.

Definition at line 551 of file nucmass.h.

## ◆ eval_rms_rho()

 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.

## ◆ eval_rms_rsq()

 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.

## ◆ uRfermi

protected

This is used in the integrands iand() and iand2().

Definition at line 564 of file nucmass.h.

The documentation for this class was generated from the following file:
• /home/awsteiner/wcs/o2scl/src/nuclei/nucmass.h

Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).