LCOV - code coverage report
Current view: top level - include/transfers - SamplerPostprocessorTransfer.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 SAMPLERPOSTPROCESSORTRANSFER_H
       9             : #define SAMPLERPOSTPROCESSORTRANSFER_H
      10             : 
      11             : // MOOSE includes
      12             : #include "MultiAppTransfer.h"
      13             : #include "Sampler.h"
      14             : 
      15             : // Forward declarations
      16             : class SamplerPostprocessorTransfer;
      17             : class SamplerReceiver;
      18             : class SamplerMultiApp;
      19             : class StochasticResults;
      20             : 
      21             : template <>
      22             : InputParameters validParams<SamplerPostprocessorTransfer>();
      23             : 
      24             : /**
      25             :  * Transfer Postprocessor from sub-applications to the master application.
      26             :  */
      27           1 : class SamplerPostprocessorTransfer : public MultiAppTransfer
      28             : {
      29             : public:
      30             :   SamplerPostprocessorTransfer(const InputParameters & parameters);
      31             :   virtual void execute() override;
      32             :   virtual void initialSetup() override;
      33             : 
      34             : protected:
      35             :   /// Name of VPP that will store the data
      36             :   const VectorPostprocessorName & _results_name;
      37             : 
      38             :   /// SamplerMultiApp that this transfer is working with
      39             :   SamplerMultiApp * _sampler_multi_app;
      40             : 
      41             :   /// Sampler object that is retrieved from the SamplerMultiApp
      42             :   Sampler & _sampler;
      43             : 
      44             :   /// Storage for StochasticResults object that data will be transferred to/from
      45             :   StochasticResults * _results;
      46             : 
      47             :   /// Name of Postprocessor transferring from
      48             :   const std::string & _sub_pp_name;
      49             : };
      50             : 
      51             : #endif

Generated by: LCOV version 1.11