Particles and Nuclei Sub-Library: Version 0.909
eff_quark.h
00001 /*
00002   -------------------------------------------------------------------
00003   
00004   Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, Andrew W. Steiner
00005   
00006   This file is part of O2scl.
00007   
00008   O2scl is free software; you can redistribute it and/or modify
00009   it under the terms of the GNU General Public License as published by
00010   the Free Software Foundation; either version 3 of the License, or
00011   (at your option) any later version.
00012   
00013   O2scl is distributed in the hope that it will be useful,
00014   but WITHOUT ANY WARRANTY; without even the implied warranty of
00015   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016   GNU General Public License for more details.
00017   
00018   You should have received a copy of the GNU General Public License
00019   along with O2scl. If not, see <http://www.gnu.org/licenses/>.
00020 
00021   -------------------------------------------------------------------
00022 */
00023 #ifndef O2SCL_EFF_QUARK_H
00024 #define O2SCL_EFF_QUARK_H
00025 
00026 #include <string>
00027 #include <iostream>
00028 #include <fstream>
00029 #include <cmath>
00030 #include <o2scl/constants.h>
00031 #include <o2scl/mroot.h>
00032 #include <o2scl/inte.h>
00033 #include <o2scl/eff_fermion.h>
00034 #include <o2scl/quark.h>
00035 
00036 #ifndef DOXYGENP
00037 namespace o2scl {
00038 #endif
00039 
00040   /** \brief Quark class from fitting method
00041 
00042       \todo Add testing.
00043   */
00044   class eff_quark : public eff_fermion, public quark {
00045 
00046   public:
00047 
00048     /// Create a quark with mass \c m  and degeneracy \c g 
00049     eff_quark(double m=0.0, double g=0.0);
00050 
00051     virtual ~eff_quark();
00052 
00053     virtual int calc_mu(const double temper);
00054     virtual int calc_density(const double temper);
00055     virtual int pair_mu(const double temper);
00056     virtual int pair_density(const double temper);
00057     
00058     /// Return string denoting type ("eff_quark")
00059     virtual const char *type() { return "eff_quark"; }
00060 
00061   protected:
00062 
00063   };
00064 
00065 #ifndef DOXYGENP
00066 }
00067 #endif
00068 
00069 #endif
 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.