![]() |
Equation of State Sub-Library: Version 0.910
|
00001 /* 00002 ------------------------------------------------------------------- 00003 00004 Copyright (C) 2006-2012, 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_HDF_EOS_IO_H 00024 #define O2SCL_HDF_EOS_IO_H 00025 00026 /** \file hdf_eos_io.h 00027 \brief File for HDF input of the \o2 \ref skyrme_eos and \ref 00028 rmf_eos data files 00029 */ 00030 00031 #include <hdf5.h> 00032 00033 #include <o2scl/constants.h> 00034 #include <o2scl/hdf_file.h> 00035 #include <o2scl/lib_settings.h> 00036 00037 #include <o2scl/skyrme_eos.h> 00038 #include <o2scl/rmf_eos.h> 00039 00040 #ifndef DOXYGENP 00041 namespace o2scl_hdf { 00042 #endif 00043 00044 #ifdef DOXYGENP 00045 // Separately document these functions since they're in the hidden 00046 // o2scl namespace 00047 00048 /// Input a \ref rmf_eos object from an HDF file 00049 int rmf_load(rmf_eos &rmf, std::string model, bool external=false); 00050 00051 /// Input a \ref skyrme_eos object from an HDF file 00052 int skyrme_load(skyrme_eos &sk, std::string model, bool external=false); 00053 00054 #else 00055 int rmf_load(o2scl::rmf_eos &rmf, std::string model, 00056 bool external=false); 00057 00058 int skyrme_load(o2scl::skyrme_eos &sk, std::string model, 00059 bool external=false); 00060 #endif 00061 00062 #ifndef DOXYGENP 00063 } 00064 #endif 00065 00066 #endif 00067 00068
Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).