26 virtual void execute()
override;
50 const std::vector<const VariableValue *>
_values;
65 std::vector<VectorPostprocessorValue *>
_average;
virtual Real computeDistance()=0
compute the distance of the current quadarature point for binning
static InputParameters validParams()
const unsigned int _nvals
number of coupled variables
virtual void threadJoin(const UserObject &y) override
Must override.
std::vector< unsigned int > _counts
sample count per bin
std::vector< VectorPostprocessorValue * > _average
aggregated global average vectors
SpatialAverageBase(const InputParameters ¶meters)
const Real _deltaR
bin width
virtual void finalize() override
Finalize.
unsigned int _qp
current quadrature point - used in computeVolume()
const Real _radius
maximum variable value
std::vector< Real > VectorPostprocessorValue
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const unsigned int _nbins
number of histogram bins
const std::vector< const VariableValue * > _values
coupled variable that is being binned
const Point _origin
origin of sphere [or other body]
const InputParameters & parameters() const
Get the parameters of the object.
VectorPostprocessorValue & _bin_center
value mid point of the bin
const Real _empty_bin_value
value to assign to empty bins
Base class for user-specific data.
virtual void initialize() override
Called before execute() is ever called so that data can be cleared.
Base clase for computing spatial average of a variable over simple spatial regions of the computation...
virtual void execute() override
Execute method.