LCOV - code coverage report
Current view: top level - include/vectorpostprocessors - SamplerData.h (source / functions) Hit Total Coverage
Test: stochastic_tools Test Coverage Lines: 1 1 100.0 %
Date: 2017-11-21 14:52:30 Functions: 2 2 100.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 SAMPLERDATA_H
       9             : #define SAMPLERDATA_H
      10             : 
      11             : // MOOSE includes
      12             : #include "GeneralVectorPostprocessor.h"
      13             : #include "SamplerInterface.h"
      14             : 
      15             : class SamplerData;
      16             : 
      17             : template <>
      18             : InputParameters validParams<SamplerData>();
      19             : 
      20             : /**
      21             :  * A tool for output Sampler data.
      22             :  */
      23          15 : class SamplerData : public GeneralVectorPostprocessor, SamplerInterface
      24             : {
      25             : public:
      26             :   SamplerData(const InputParameters & parameters);
      27             :   void virtual initialize() override;
      28             :   void virtual execute() override;
      29             : 
      30             : protected:
      31             :   /// Storage for declared vectors
      32             :   std::vector<VectorPostprocessorValue *> _sample_vectors;
      33             : 
      34             :   /// The sampler to extract data
      35             :   Sampler & _sampler;
      36             : 
      37             :   /// Whether to output the number of rows and columns in the first two rows of output
      38             :   const bool & _output_col_row_sizes;
      39             : };
      40             : 
      41             : #endif

Generated by: LCOV version 1.11