https://mooseframework.inl.gov
Loading...
Searching...
No Matches
StochasticMatrix.h
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://mooseframework.inl.gov
3//*
4//* All rights reserved, see COPYRIGHT for full restrictions
5//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6//*
7//* Licensed under LGPL 2.1, please see LICENSE for details
8//* https://www.gnu.org/licenses/lgpl-2.1.html
9
10#pragma once
11
12// MOOSE includes
13#include "StochasticReporter.h"
14
16{
17public:
19
21 virtual void execute() override;
22
23protected:
24 // Overriding this to make sure sampler matches
26 const ReporterData & from_data,
27 const ReporterName & from_reporter,
28 std::string prefix = "") override;
29
32
33private:
35 std::vector<std::vector<Real> *> _sample_vectors;
36};
const InputParameters & parameters() const
std::vector< std::vector< Real > * > _sample_vectors
Storage for declared vectors, one for each column.
virtual ReporterName declareStochasticReporterClone(const Sampler &sampler, const ReporterData &from_data, const ReporterName &from_reporter, std::string prefix="") override
virtual void execute() override
Sampler & _sampler
The sampler to extract data.
static InputParameters validParams()