Go to the documentation of this file.
23 #ifndef O2SCL_MAG_FERMION_ZEROT_H
24 #define O2SCL_MAG_FERMION_ZEROT_H
30 #include <boost/numeric/ublas/vector.hpp>
32 #include <o2scl/fermion.h>
33 #include <o2scl/mroot_hybrids.h>
34 #include <o2scl/root_brent_gsl.h>
36 #ifndef DOXYGEN_NO_O2NS
172 virtual const char *
type() {
return "fermion_mag_zerot"; }
176 #ifndef DOXYGEN_NO_O2NS
virtual void calc_density_zerot_mag(fermion &f, double qB, double kappa=0.0)
Thermodynamics in a magnetic field using the density.
fermion_mag_zerot()
Create a fermion with mass mass and degeneracy dof.
Thermodynamics of fermions in a magnetic field at zero temperature.
double kt
The anomalous magnetic moment.
double dent
The target density, set by calc_density_zerot_mag()
virtual const char * type()
Return string denoting type ("fermion_mag_zerot")
mroot * density_root
Solver to compute chemical potential from density.
int sum_limit
Limit on the sum (default )
int nmax_dn
Maximum Landau level for spin down particles (default 0)
double qBt
The charge times the magnetic field in .
virtual void calc_mu_zerot_mag(fermion &f, double qB, double kappa=0.0)
Thermodynamics in a magnetic field using the chemical potential.
void set_density_root(mroot<> &rp)
Set the solver for use in calculating the chemical potential from the density.
mroot_hybrids def_density_root
The default solver for calc_density().
int nmax_up
Maximum Landau level for spin up particles (default 0)
int solve_fun(size_t nv, const ubvector &x, ubvector &y, fermion &f)
Function to compute chemical potential from density.
Documentation generated with Doxygen. Provided under the
GNU Free Documentation License (see License Information).