Equation of State Sub-Library: Version 0.910
Public Member Functions | Protected Member Functions | Protected Attributes
rms_radius Class Reference

Compute the RMS radius of a Fermi-Dirac density distribution with fixed diffusiveness. More...

#include <ldrop_mass.h>


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

\[ N = 4 \pi \rho_0 \int r^2~dr~\left\{1+\exp \left[\left(r-R_{\mathrm{fermi}}\right)\right]\right\}^{-1} \]

where $ N $ is the total number of particles, and $ \rho_0 $ is the central density.

The radius assuming constant density,

\[ R_{\mathrm{cd}} = \left(\frac{3 N}{4 \pi \rho_0}\right)^3 \, , \]

is also given.

Definition at line 60 of file ldrop_mass.h.

Public Member Functions

int eval_rms_rho (double rho0, double N, double d, double &Rcd, double &Rfermi, double &Rrms)
 Compute the RMS radius from the central density.
int eval_rms_rsq (double Rfermi, double N, double d, double &rho0, double &Rcd, double &Rrms)
 Compute the RMS radius from the Fermi distribution radius.

Protected Member Functions

double iand (double r)
 The function $ 4 \pi r^4 \rho(r) $.
double iand2 (double r)
 The function $ 4 \pi r^2 \rho(r) $.
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.
double uN
 The total number of particles.
int pa
 Blank parameter.
gsl_inte_qagiu< functit
 The integrator.
cern_mroot_root< functcr
 The solver.

Member Function Documentation

int rms_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.

int rms_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.


Field Documentation

double rms_radius::uRfermi [protected]

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

Definition at line 73 of file ldrop_mass.h.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Friends

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

Get Object-oriented Scientific Computing
Lib at SourceForge.net. Fast, secure and Free Open Source software
downloads.