27 "The distribution names to be sampled, the number of distributions provided defines the " 28 "number of columns per matrix.");
34 _distribution_names(getParam<
std::vector<DistributionName>>(
"distributions"))
void setNumberOfRows(dof_id_type n_rows)
registerMooseObjectAliased("StochasticToolsApp", MonteCarloSampler, "MonteCarlo")
std::vector< Distribution const * > _distributions
Storage for distribution objects to be utilized.
A class used to perform Monte Carlo Sampling.
static InputParameters validParams()
virtual Real computeSample(dof_id_type row_index, dof_id_type col_index) override
Return the sample for the given row and column.
Real getRand(unsigned int index=0)
virtual const std::string & name() const
static InputParameters validParams()
const Distribution & getDistributionByName(const DistributionName &name) const
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
void setNumberOfCols(dof_id_type n_cols)
MonteCarloSampler(const InputParameters ¶meters)
const std::vector< DistributionName > & _distribution_names
Distribution names.
registerMooseObjectReplaced("StochasticToolsApp", MonteCarloSampler, "07/01/2020 00:00", MonteCarlo)