00001 /* 00002 ------------------------------------------------------------------- 00003 00004 Copyright (C) 2006, 2007, 2008, 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 class eos_ioc { 00041 00042 public: 00043 00044 eos_ioc() { 00045 apr_eos_io=new apr_eos_io_type("apr_eos_io"); 00046 bag_eos_io=new bag_eos_io_type("bag_eos_io"); 00047 gen_potential_eos_io=new gen_potential_eos_io_type 00048 ("gen_potential_eos_io"); 00049 eos_io=new eos_io_type("eos_io"); 00050 hadronic_eos_io=new hadronic_eos_io_type("hadronic_eos_io"); 00051 nambujl_eos_io=new nambujl_eos_io_type("nambujl_eos_io"); 00052 quark_eos_io=new quark_eos_io_type("quark_eos_io"); 00053 rmf_eos_io=new rmf_eos_io_type("rmf_eos_io"); 00054 schematic_eos_io=new schematic_eos_io_type("schematic_eos_io"); 00055 skyrme_eos_io=new skyrme_eos_io_type("skyrme_eos_io"); 00056 } 00057 00058 ~eos_ioc() { 00059 delete apr_eos_io; 00060 delete bag_eos_io; 00061 delete gen_potential_eos_io; 00062 delete eos_io; 00063 delete hadronic_eos_io; 00064 delete nambujl_eos_io; 00065 delete quark_eos_io; 00066 delete rmf_eos_io; 00067 delete schematic_eos_io; 00068 delete skyrme_eos_io; 00069 } 00070 00071 apr_eos_io_type *apr_eos_io; 00072 bag_eos_io_type *bag_eos_io; 00073 gen_potential_eos_io_type *gen_potential_eos_io; 00074 eos_io_type *eos_io; 00075 hadronic_eos_io_type *hadronic_eos_io; 00076 nambujl_eos_io_type *nambujl_eos_io; 00077 quark_eos_io_type *quark_eos_io; 00078 rmf_eos_io_type *rmf_eos_io; 00079 schematic_eos_io_type *schematic_eos_io; 00080 skyrme_eos_io_type *skyrme_eos_io; 00081 00082 protected: 00083 00084 #ifndef DOXYGENP 00085 00086 //minimize_ioc m; 00087 //part_ioc p; 00088 00089 #endif 00090 00091 }; 00092 00093 #ifndef DOXYGENP 00094 } 00095 #endif 00096 00097 #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