https://mooseframework.inl.gov
TestDynamicNumberOfSubAppsSampler.C
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 
11 
13 
16 {
18  params.addParam<dof_id_type>("increment_rows", 1, "Add this number of rows at each execution.");
19  return params;
20 }
21 
23  const InputParameters & parameters)
24  : MonteCarloSampler(parameters), _increment_rows(getParam<dof_id_type>("increment_rows"))
25 {
26 }
27 
28 void
30 {
32 }
void setNumberOfRows(dof_id_type n_rows)
A class used to perform Monte Carlo Sampling.
void addParam(const std::string &name, const std::initializer_list< typename T::value_type > &value, const std::string &doc_string)
registerMooseObject("StochasticToolsTestApp", TestDynamicNumberOfSubAppsSampler)
TestDynamicNumberOfSubAppsSampler(const InputParameters &parameters)
static InputParameters validParams()
dof_id_type getNumberOfRows() const
uint8_t dof_id_type