20 "sampler",
"The Sampler object to use to perform g-function evaluations.");
21 params.
addParam<
bool>(
"classify",
false,
"Flag to turn return binary values.");
22 params.
addParam<
Real>(
"limiting_value", 0.0,
"True if value exceeds limiting value.");
28 _sampler(getSampler(
"sampler")),
29 _classify(getParam<bool>(
"classify")),
30 _limiting_value(getParam<
Real>(
"limiting_value")),
31 _values(declareVector(
"g_values"))
43 for (std::size_t i = 0; i <
x.size() - 1; ++i)
44 y += (100.0 * Utility::pow<2>(
x[i + 1] - Utility::pow<2>(
x[i])) + Utility::pow<2>(1 -
x[i]));
const MooseEnum & _parallel_type
void gather(const unsigned int root_id, const T &send_data, std::vector< T, A > &recv) const
std::vector< Real > getNextLocalRow()
const Real & _limiting_value
dof_id_type getLocalRowBegin() const
const std::vector< double > y
const Parallel::Communicator & _communicator
dof_id_type getNumberOfLocalRows() const
static InputParameters validParams()
const std::vector< double > x
dof_id_type getLocalRowEnd() const
static InputParameters validParams()
VectorPostprocessorValue & _values
virtual void execute() override
virtual void finalize() override
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
registerMooseObject("StochasticToolsTestApp", nDRosenbrock)
nDRosenbrock(const InputParameters ¶meters)