00001 /* 00002 ------------------------------------------------------------------- 00003 00004 Copyright (C) 2006, 2007, 2008, 2009, 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_EOS_IOC_H 00024 #define O2SCL_EOS_IOC_H 00025 #include <string> 00026 #include <o2scl/apr_eos.h> 00027 #include <o2scl/bag_eos.h> 00028 #include <o2scl/gen_potential_eos.h> 00029 #include <o2scl/nambujl_eos.h> 00030 #include <o2scl/rmf_eos.h> 00031 #include <o2scl/schematic_eos.h> 00032 #include <o2scl/skyrme_eos.h> 00033 00034 #ifndef DOXYGENP 00035 namespace o2scl { 00036 #endif 00037 00038 /** \brief Setup I/O objects for equation of state classes 00039 00040 This class is experimental. 00041 */ 00042 class eos_ioc { 00043 00044 public: 00045 00046 eos_ioc() { 00047 apr_eos_io=new apr_eos_io_type("apr_eos_io"); 00048 bag_eos_io=new bag_eos_io_type("bag_eos_io"); 00049 gen_potential_eos_io=new gen_potential_eos_io_type 00050 ("gen_potential_eos_io"); 00051 eos_io=new eos_io_type("eos_io"); 00052 //hadronic_eos_io=new hadronic_eos_io_type("hadronic_eos_io"); 00053 nambujl_eos_io=new nambujl_eos_io_type("nambujl_eos_io"); 00054 quark_eos_io=new quark_eos_io_type("quark_eos_io"); 00055 rmf_eos_io=new rmf_eos_io_type("rmf_eos_io"); 00056 schematic_eos_io=new schematic_eos_io_type("schematic_eos_io"); 00057 skyrme_eos_io=new skyrme_eos_io_type("skyrme_eos_io"); 00058 } 00059 00060 ~eos_ioc() { 00061 delete apr_eos_io; 00062 delete bag_eos_io; 00063 delete gen_potential_eos_io; 00064 delete eos_io; 00065 //delete hadronic_eos_io; 00066 delete nambujl_eos_io; 00067 delete quark_eos_io; 00068 delete rmf_eos_io; 00069 delete schematic_eos_io; 00070 delete skyrme_eos_io; 00071 } 00072 00073 apr_eos_io_type *apr_eos_io; 00074 bag_eos_io_type *bag_eos_io; 00075 gen_potential_eos_io_type *gen_potential_eos_io; 00076 eos_io_type *eos_io; 00077 //hadronic_eos_io_type *hadronic_eos_io; 00078 nambujl_eos_io_type *nambujl_eos_io; 00079 quark_eos_io_type *quark_eos_io; 00080 rmf_eos_io_type *rmf_eos_io; 00081 schematic_eos_io_type *schematic_eos_io; 00082 skyrme_eos_io_type *skyrme_eos_io; 00083 00084 protected: 00085 00086 #ifndef DOXYGENP 00087 00088 //minimize_ioc m; 00089 //part_ioc p; 00090 00091 #endif 00092 00093 }; 00094 00095 #ifndef DOXYGENP 00096 } 00097 #endif 00098 00099 #endif
Documentation generated with Doxygen and provided under the GNU Free Documentation License. See License Information for details.
Project hosting provided by
,
O2scl Sourceforge Project Page