60 unsigned int i_fe = 0, i_fv = 0;
Base class for VectorPostprocessors that need to do "sampling" of values in the domain.
virtual void threadJoin(const UserObject &y) override
Must override.
virtual void initialize()
Initialize the datastructures.
std::vector< MooseVariableFV< Real > * > _coupled_standard_fv_moose_vars
Vector of standard finite volume coupled variables.
ElementValueSampler(const InputParameters ¶meters)
virtual void execute() override
Execute method.
std::vector< Real > _values
So we don't have to create and destroy this vector over and over again.
virtual void initialize() override
Initialize the datastructures.
virtual const std::string & name() const
Get the name of the class.
virtual void finalize() override
Finalize the values.
std::vector< MooseVariable * > _coupled_standard_moose_vars
Vector of standard coupled variables.
Base class VectorPostprocessors operating on elemental variables.
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.
void paramError(const std::string ¶m, Args... args) const
Emits an error prefixed with the file and line number of the given param (from the input file) along ...
static InputParameters validParams()
static InputParameters validParams()
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 Elem *const & _current_elem
The current element pointer (available during execute())
Samples values of elemental variable(s).
registerMooseObject("MooseApp", ElementValueSampler)
static InputParameters validParams()
Base class for user-specific data.