eos_had_ddc.h
Go to the documentation of this file.
1 /*
2  -------------------------------------------------------------------
3 
4  Copyright (C) 2006-2017, Andrew W. Steiner
5 
6  This file is part of O2scl.
7 
8  O2scl is free software; you can redistribute it and/or modify
9  it under the terms of the GNU General Public License as published by
10  the Free Software Foundation; either version 3 of the License, or
11  (at your option) any later version.
12 
13  O2scl is distributed in the hope that it will be useful,
14  but WITHOUT ANY WARRANTY; without even the implied warranty of
15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  GNU General Public License for more details.
17 
18  You should have received a copy of the GNU General Public License
19  along with O2scl. If not, see <http://www.gnu.org/licenses/>.
20 
21  -------------------------------------------------------------------
22 */
23 /** \file eos_had_ddc.h
24  \brief File defining \ref o2scl::eos_had_ddc
25 */
26 #ifndef O2SCL_DDC_EOS_H
27 #define O2SCL_DDC_EOS_H
28 
29 #include <string>
30 #include <cmath>
31 #include <o2scl/lib_settings.h>
32 #include <o2scl/constants.h>
33 #include <o2scl/part.h>
34 #include <o2scl/eos_had_base.h>
35 #include <o2scl/fermion.h>
36 #include <o2scl/mm_funct.h>
37 
38 #ifndef DOXYGEN_NO_O2NS
39 namespace o2scl {
40 #endif
41 
42  /** \brief Relativistic mean field EOS with density dependent couplings
43 
44  Based on \ref Typel99.
45 
46  \future Implement the finite temperature EOS properly.
47  */
48  class eos_had_ddc : public eos_had_eden_base {
49  public:
50 
51  /// \name Masses
52  //@{
53  /// nucleon mass
54  double mnuc;
55  /// \f$ \phi \f$ mass (in \f$ \mathrm{fm}^{-1} \f$ )
56  double ms;
57  /// \f$ A_{\omega} \f$ mass (in \f$ \mathrm{fm}^{-1} \f$ )
58  double mw;
59  /// \f$ A_{\rho} \f$ mass (in \f$ \mathrm{fm}^{-1} \f$ )
60  double mr;
61  //@}
62 
63  /// \name Parameters for couplings
64  //@{
65  /// The coupling \f$ \Gamma_{\sigma}(\rho_{\mathrm{sat}}) \f$
66  double Gs;
67  /// The coupling \f$ \Gamma_{\omega}(\rho_{\mathrm{sat}}) \f$
68  double Gw;
69  /// The coupling \f$ \Gamma_{\rho}(\rho_{\mathrm{sat}}) \f$
70  double Gr;
71  /// \f$ a_{\sigma} \f$
72  double as;
73  /// \f$ a_{\omega} \f$
74  double aw;
75  /// \f$ a_{\rho} \f$
76  double ar;
77  /// \f$ b_{\sigma} \f$
78  double bs;
79  /// \f$ b_{\omega} \f$
80  double bw;
81  /// \f$ c_{\sigma} \f$
82  double cs;
83  /// \f$ c_{\omega} \f$
84  double cw;
85  /// \f$ d_{\sigma} \f$
86  double ds;
87  /// \f$ d_{\omega} \f$
88  double dw;
89  //@}
90 
91  // The saturation density
92  double rho0;
93 
94  eos_had_ddc();
95 
96  /// Equation of state as a function of the densities
97  virtual int calc_e(fermion &n, fermion &p, thermo &th) {
98  return exc_eunimpl;
99  }
100 
101  /** \brief Equation of state and meson field equations
102  as a function of the density
103 
104  This calculates the pressure and energy density as a function
105  of \f$ \mu_n, \mu_p, \phi, A_{\omega}, A_{\rho} \f$ . When the
106  field equations have been solved, \c f1, \c f2, and \c f3 are
107  all zero.
108 
109  \todo Is the thermodynamic identity is satisfied even when the
110  field equations are not solved? Check this.
111  */
112  virtual int calc_eq_e(fermion &neu, fermion &p, double sig,
113  double ome, double rho, double &f1,
114  double &f2, double &f3, thermo &th);
115 
116 
117  /// Return string denoting type ("eos_had_ddc")
118  virtual const char *type() { return "eos_had_ddc"; }
119 
120 #ifndef DOXYGEN_INTERNAL
121 
122  protected:
123 
124  /// Zero-temperature fermion thermodynamics
126 
127 #endif
128 
129  };
130 
131 #ifndef DOXYGEN_NO_O2NS
132 }
133 #endif
134 
135 #endif
double mr
mass (in )
Definition: eos_had_ddc.h:60
double mnuc
nucleon mass
Definition: eos_had_ddc.h:54
virtual int calc_eq_e(fermion &neu, fermion &p, double sig, double ome, double rho, double &f1, double &f2, double &f3, thermo &th)
Equation of state and meson field equations as a function of the density.
double ms
mass (in )
Definition: eos_had_ddc.h:56
exc_eunimpl
double mw
mass (in )
Definition: eos_had_ddc.h:58
A hadronic EOS based on a function of the densities [abstract base].
Definition: eos_had_base.h:932
Relativistic mean field EOS with density dependent couplings.
Definition: eos_had_ddc.h:48
double Gw
The coupling .
Definition: eos_had_ddc.h:68
fermion_zerot fzt
Zero-temperature fermion thermodynamics.
Definition: eos_had_ddc.h:125
double Gs
The coupling .
Definition: eos_had_ddc.h:66
virtual const char * type()
Return string denoting type ("eos_had_ddc")
Definition: eos_had_ddc.h:118
double Gr
The coupling .
Definition: eos_had_ddc.h:70
virtual int calc_e(fermion &n, fermion &p, thermo &th)
Equation of state as a function of the densities.
Definition: eos_had_ddc.h:97

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