19 "Average a variable value using a weight mask given by a material property.");
20 params.
addCoupledVar(
"v",
"Variable to perform weighted average on.");
22 "Weight material property for averaging.");
41 for (
unsigned int qp = 0; qp <
_qrule->n_points(); qp++)
const MooseArray< Real > & _coord
static InputParameters validParams()
const MaterialProperty< Real > & _w
weight mask for averaging
virtual void execute() override
const std::vector< double > y
Average a variable value using a weight mask given by a material property.
virtual void initialize() override
virtual void threadJoin(const UserObject &y) override
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const QBase *const & _qrule
static InputParameters validParams()
const MooseArray< Real > & _JxW
WeightedVariableAverage(const InputParameters ¶meters)
virtual PostprocessorValue getValue() const override
static const std::complex< double > j(0, 1)
Complex number "j" (also known as "i")
registerMooseObject("PhaseFieldApp", WeightedVariableAverage)
Real _var_integral
integtals for vomputimng the average - computed in execute()
const VariableValue & _v
variable to average
virtual void finalize() override