00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef O2SCL_SN_CLASSICAL_H
00024 #define O2SCL_SN_CLASSICAL_H
00025
00026 #include <string>
00027 #include <iostream>
00028 #include <fstream>
00029 #include <cmath>
00030 #include <o2scl/constants.h>
00031 #include <o2scl/deriv_part.h>
00032
00033 #ifndef DOXYGENP
00034 namespace o2scl {
00035 #endif
00036
00037
00038
00039
00040
00041
00042 class sn_classical : public deriv_classical {
00043
00044 public:
00045
00046
00047 sn_classical(double m=0.0, double g=0.0);
00048 virtual ~sn_classical();
00049
00050 virtual int calc_mu(const double temper);
00051 virtual int calc_density(const double temper);
00052
00053 virtual int pair_mu(const double temper);
00054 virtual int pair_density(const double temper);
00055
00056
00057 virtual const char *type() { return "sn_classical"; };
00058
00059 };
00060
00061 template<> int io_tlate<sn_classical>::input
00062 (cinput *co, in_file_format *ins, sn_classical *f);
00063 template<> int io_tlate<sn_classical>::output
00064 (coutput *co, out_file_format *ins, sn_classical *f);
00065 template<> const char *io_tlate<sn_classical>::type();
00066
00067 typedef io_tlate<sn_classical> sn_classical_io_type;
00068
00069 #ifndef DOXYGENP
00070 }
00071 #endif
00072
00073 #endif