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 119 int solve_fun(
size_t nv,
const ubvector &x,
172 virtual const char *
type() {
return "fermion_mag_zerot"; }
176 #ifndef DOXYGEN_NO_O2NS fermion_mag_zerot()
Create a fermion with mass mass and degeneracy dof.
int nmax_up
Maximum Landau level for spin up particles (default 0)
int sum_limit
Limit on the sum (default )
double dent
The target density, set by calc_density_zerot_mag()
Fermion properties at zero temperature.
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.
int solve_fun(size_t nv, const ubvector &x, ubvector &y, fermion &f)
Function to compute chemical potential from density.
mroot_hybrids def_density_root
The default solver for calc_density().
int nmax_dn
Maximum Landau level for spin down particles (default 0)
virtual void calc_density_zerot_mag(fermion &f, double qB, double kappa=0.0)
Thermodynamics in a magnetic field using the density.
Thermodynamics of fermions in a magnetic field at zero temperature.
virtual const char * type()
Return string denoting type ("fermion_mag_zerot")
double kt
The anomalous magnetic moment.
void set_density_root(mroot<> &rp)
Set the solver for use in calculating the chemical potential from the density.
mroot * density_root
Solver to compute chemical potential from density.