LCOV - code coverage report
Current view: top level - builds/barbot/Cosmos/src/Simulator/RareEvents - numSolverSH.hpp (source / functions) Hit Total Coverage
Test: coverage.info Lines: 0 1 0.0 %
Date: 2021-06-16 15:43:28 Functions: 0 1 0.0 %

          Line data    Source code
       1             : /*******************************************************************************
       2             :  *                                                                             *
       3             :  * Cosmos:(C)oncept et (O)utils (S)tatistique pour les (Mo)deles               *
       4             :  * (S)tochastiques                                                             *
       5             :  *                                                                             *
       6             :  * Copyright (C) 2009-2012 LSV & LACL                                          *
       7             :  * Authors: Paolo Ballarini BenoƮt Barbot & Hilal Djafri                       *
       8             :  * Website: http://www.lsv.ens-cachan.fr/Software/cosmos                       *
       9             :  *                                                                             *
      10             :  * This program is free software; you can redistribute it and/or modify        *
      11             :  * it under the terms of the GNU General Public License as published by        *
      12             :  * the Free Software Foundation; either version 3 of the License, or           *
      13             :  * (at your option) any later version.                                         *
      14             :  *                                                                             *
      15             :  * This program is distributed in the hope that it will be useful,             *
      16             :  * but WITHOUT ANY WARRANTY; without even the implied warranty of              *
      17             :  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the               *
      18             :  * GNU General Public License for more details.                                *
      19             :  *                                                                             *
      20             :  * You should have received a copy of the GNU General Public License along     *
      21             :  * with this program; if not, write to the Free Software Foundation, Inc.,     *
      22             :  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.                 *
      23             :  * file numericalSolverSH.hpp created by Benoit Barbot on 06/01/12.            *
      24             :  *******************************************************************************
      25             :  */
      26             : 
      27             : #include "numericalSolver.hpp"
      28             : 
      29           0 : class numSolverSH: public numericalSolver{
      30             : public:
      31             :         void initVect(int) override;
      32             :         void previousVect() override;
      33             :         void stepVect() override;
      34             :         void reset() override;
      35             :         void switchOff() override;
      36             :         void printState() override;
      37             :     virtual double getMu(int)const override ;
      38             :         boostmat::vector<double> getVect()  override;
      39             :         int currentRound()  override;
      40             : protected:
      41             :         bool readbit(int a,int b);
      42             :         //vector<boostmat::vector<double> >* powTVect;
      43             :         vector<boostmat::vector<double> >* lastOne;
      44             :     vector<double>* ktable;
      45             :         int l;
      46             :         int u;
      47             :         int lastPowT;
      48             :     void compPow(int,int);
      49             :         
      50             :         bool is_previous;
      51             :         
      52             :         boostmat::vector<double> current_vect;
      53             :         boostmat::vector<double> previous_vect;
      54             : };

Generated by: LCOV version 1.13