LCOV - code coverage report
Current view: top level - src/base - StochasticToolsApp.C (source / functions) Hit Total Coverage
Test: stochastic_tools Test Coverage Lines: 21 40 52.5 %
Date: 2017-11-18 13:35:36 Functions: 6 13 46.2 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : #include "StochasticToolsApp.h"
       2             : #include "Moose.h"
       3             : #include "AppFactory.h"
       4             : #include "MooseSyntax.h"
       5             : 
       6             : #include "StateSimTester.h"
       7             : #include "StateSimRunner.h"
       8             : 
       9             : // Distributions
      10             : #include "UniformDistribution.h"
      11             : #include "WeibullDistribution.h"
      12             : #include "NormalDistribution.h"
      13             : #include "LognormalDistribution.h"
      14             : 
      15             : // Samplers
      16             : #include "MonteCarloSampler.h"
      17             : #include "SobolSampler.h"
      18             : 
      19             : // VectorPostprocessors
      20             : #include "SamplerData.h"
      21             : #include "StochasticResults.h"
      22             : 
      23             : // MultiApps
      24             : #include "SamplerMultiApp.h"
      25             : 
      26             : // Transfers
      27             : #include "SamplerTransfer.h"
      28             : #include "SamplerPostprocessorTransfer.h"
      29             : 
      30             : // Controls
      31             : #include "SamplerReceiver.h"
      32             : 
      33             : template <>
      34             : InputParameters
      35         123 : validParams<StochasticToolsApp>()
      36             : {
      37         123 :   InputParameters params = validParams<MooseApp>();
      38         123 :   return params;
      39             : }
      40             : 
      41           0 : StochasticToolsApp::StochasticToolsApp(InputParameters parameters) : MooseApp(parameters)
      42             : {
      43           0 :   Moose::registerObjects(_factory);
      44           0 :   StochasticToolsApp::registerObjects(_factory);
      45             : 
      46           0 :   Moose::associateSyntax(_syntax, _action_factory);
      47           0 :   StochasticToolsApp::associateSyntax(_syntax, _action_factory);
      48           0 : }
      49             : 
      50           0 : StochasticToolsApp::~StochasticToolsApp() {}
      51             : 
      52             : // External entry point for dynamic application loading
      53             : extern "C" void
      54           0 : StochasticToolsApp__registerApps()
      55             : {
      56           0 :   StochasticToolsApp::registerApps();
      57           0 : }
      58             : void
      59           0 : StochasticToolsApp::registerApps()
      60             : {
      61           0 :   registerApp(StochasticToolsApp);
      62           0 : }
      63             : 
      64             : // External entry point for dynamic object registration
      65             : extern "C" void
      66           0 : StochasticToolsApp__registerObjects(Factory & factory)
      67             : {
      68           0 :   StochasticToolsApp::registerObjects(factory);
      69           0 : }
      70             : void
      71         697 : StochasticToolsApp::registerObjects(Factory & factory)
      72             : {
      73        2091 :   registerUserObject(StateSimRunner);
      74        2091 :   registerPostprocessor(StateSimTester);
      75             : 
      76             :   // Distributions
      77        2091 :   registerDistribution(UniformDistribution);
      78        2091 :   registerDistribution(WeibullDistribution);
      79        2091 :   registerDistribution(NormalDistribution);
      80        2091 :   registerDistribution(LognormalDistribution);
      81             : 
      82             :   // Samplers
      83        2091 :   registerSampler(MonteCarloSampler);
      84        2091 :   registerSampler(SobolSampler);
      85             : 
      86             :   // VectorPostprocessors
      87        2091 :   registerVectorPostprocessor(SamplerData);
      88        2091 :   registerVectorPostprocessor(StochasticResults);
      89             : 
      90             :   // MultiApps
      91        2091 :   registerMultiApp(SamplerMultiApp);
      92             : 
      93             :   // Transfers
      94        2091 :   registerTransfer(SamplerTransfer);
      95        2091 :   registerTransfer(SamplerPostprocessorTransfer);
      96             : 
      97             :   // Controls
      98        2091 :   registerControl(SamplerReceiver);
      99         697 : }
     100             : 
     101             : // External entry point for dynamic syntax association
     102             : extern "C" void
     103           0 : StochasticToolsApp__associateSyntax(Syntax & syntax, ActionFactory & action_factory)
     104             : {
     105           0 :   StochasticToolsApp::associateSyntax(syntax, action_factory);
     106           0 : }
     107             : void
     108         697 : StochasticToolsApp::associateSyntax(Syntax & /*syntax*/, ActionFactory & /*action_factory*/)
     109             : {
     110        3717 : }

Generated by: LCOV version 1.11