//**************************************************************************** //! \file Tsimmain.hpp //! \date 04-11-2003 //! \class Tsimmain //! \brief The main class of the simulation //***************************************************************************** // This file is part of streuung. // // streuung is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation; either version 2 of the License, or // (at your option) any later version. // // streuung is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with streuung; if not, write to the Free Software // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA //***************************************************************************** #ifndef TSIMMAIN_HPP #define TSIMMAIN_HPP #include "Numerov.hpp" #include "Besneum.hpp" #include #include #include //***************************************************************************** class Tsimmain //----------------------------------------------------------------------------- //! This is the main class of the Simulation encapsulating everything necessary to do //! the the job //***************************************************************************** { Numerov *Calc; //!< instance of the Numerov Calculation class Bessel j;//!< this will calculate the spherical Bessel functions Neumann n;//!< this will calculate the spherical Neumann functions std::vector ofiles;//!< the 8 output streams ( 7 for deltaČ(l) 1 for sigma) std::vector::iterator ofit;//!< the iterator to ofiles public: //! \brief Constructor Tsimmain(); //! \brief Destructor ~Tsimmain(); //! \brief function Initializing everythin necessary void Init(); //! \brief this is the function doing the real work bool Execute(); }; #endif