LCOV - code coverage report
Current view: top level - include/samplers - MonteCarloSampler.h (source / functions) Hit Total Coverage
Test: stochastic_tools Test Coverage Lines: 1 1 100.0 %
Date: 2017-11-21 14:52:30 Functions: 1 2 50.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /****************************************************************/
       2             : /* MOOSE - Multiphysics Object Oriented Simulation Environment  */
       3             : /*                                                              */
       4             : /*          All contents are licensed under LGPL V2.1           */
       5             : /*             See LICENSE for full restrictions                */
       6             : /****************************************************************/
       7             : 
       8             : #ifndef MONTECARLOSAMPLER_H
       9             : #define MONTECARLOSAMPLER_H
      10             : 
      11             : #include "Sampler.h"
      12             : 
      13             : class MonteCarloSampler;
      14             : 
      15             : template <>
      16             : InputParameters validParams<MonteCarloSampler>();
      17             : /**
      18             :  * A class used to perform Monte Carlo Sampling
      19             :  */
      20          10 : class MonteCarloSampler : public Sampler
      21             : {
      22             : public:
      23             :   MonteCarloSampler(const InputParameters & parameters);
      24             : 
      25             : protected:
      26             :   virtual std::vector<DenseMatrix<Real>> sample() override;
      27             : 
      28             :   /// Number of monte carlo samples to create for each distribution
      29             :   const std::size_t _num_samples;
      30             : };
      31             : 
      32             : #endif /* MONTECARLOSAMPLER_H */

Generated by: LCOV version 1.11