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_DERIV_IOC_H 00024 #define O2SCL_DERIV_IOC_H 00025 #include <string> 00026 #include <o2scl/base_ioc.h> 00027 #include <o2scl/eqi_deriv.h> 00028 #include <o2scl/cern_deriv.h> 00029 #include <o2scl/gsl_deriv.h> 00030 00031 #ifndef DOXYGENP 00032 namespace o2scl { 00033 #endif 00034 00035 /** \brief Setup I/O objects for numerical differentiation classes 00036 00037 This class is experimental. 00038 */ 00039 class deriv_ioc { 00040 00041 public: 00042 00043 deriv_ioc() { 00044 deriv_io=new deriv_io_type("deriv_io"); 00045 eqi_deriv_io=new eqi_deriv_io_type("eqi_deriv_io"); 00046 cern_deriv_io=new cern_deriv_io_type("cern_deriv_io"); 00047 gsl_deriv_io=new gsl_deriv_io_type("gsl_deriv_io"); 00048 } 00049 00050 ~deriv_ioc() { 00051 delete deriv_io; 00052 delete eqi_deriv_io; 00053 delete cern_deriv_io; 00054 delete gsl_deriv_io; 00055 } 00056 00057 deriv_io_type *deriv_io; 00058 eqi_deriv_io_type *eqi_deriv_io; 00059 cern_deriv_io_type *cern_deriv_io; 00060 gsl_deriv_io_type *gsl_deriv_io; 00061 00062 protected: 00063 00064 #ifndef DOXYGENP 00065 00066 base_ioc b; 00067 00068 #endif 00069 00070 }; 00071 00072 #ifndef DOXYGENP 00073 } 00074 #endif 00075 00076 #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