15 #include "libmesh/quadrature.h" 26 "variable",
"The names of the variables that this VectorPostprocessor operates on");
Base class for VectorPostprocessors that need to do "sampling" of values in the domain.
virtual void initialize()
Initialize the datastructures.
SideValueSampler(const InputParameters ¶meters)
std::vector< Real > _values
So we don't have to create and destroy this vector over and over again.
static InputParameters validParams()
const MooseArray< Point > & _q_point
virtual void finalize() override
Finalize the values.
virtual const std::string & name() const
Get the name of the class.
void setupVariables(const std::vector< std::string > &variable_names)
You MUST call this in the constructor of the child class and pass down the name of the variables...
virtual void threadJoin(const SamplerBase &y)
Join the values.
static InputParameters validParams()
static InputParameters validParams()
registerMooseObject("MooseApp", SideValueSampler)
std::vector< MooseVariableFieldBase * > _coupled_moose_vars
Vector of all coupled variables.
virtual void finalize()
Finalize the values.
virtual void addSample(const Point &p, const Real &id, const std::vector< Real > &values)
Call this with the value of every variable at each point you want to sample at.
const QBase *const & _qrule
virtual void threadJoin(const UserObject &y) override
Must override.
virtual void execute() override
Execute method.
const Elem *const & _current_elem
virtual void initialize() override
Initialize the datastructures.
Base class for user-specific data.