33 virtual void execute()
override;
virtual PostprocessorValue getValue() const override
This will get called to actually grab the final value the postprocessor has calculated.
NormType
Type of discrete norm.
virtual void execute() override
Execute method.
NumericVector< Number > & _nl_residual_vector
Nonlinear residual vector.
static InputParameters validParams()
This class provides an interface for common operations on field variables of both FE and FV types wit...
virtual void finalize() override
This is called after execute() and after threadJoin()! This is probably where you want to do MPI comm...
MooseVariableFieldBase & _var
The variable we compute the residual for.
virtual void threadJoin(const UserObject &y) override
Must override.
const bool _correct_mesh_bias
If true, correct mesh-size bias in norm.
std::map< processor_id_type, std::vector< dof_id_type > > _nonlocal_dof_indices_map
Non-local DoF indices map, indexed by the owning PID.
Real PostprocessorValue
various MOOSE typedefs
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
std::set< dof_id_type > _local_dof_indices
Local DoF indices for the variable, block-restricted.
DiscreteVariableResidualNorm(const InputParameters ¶meters)
const InputParameters & parameters() const
Get the parameters of the object.
virtual void initialize() override
Called before execute() is ever called so that data can be cleared.
Computes a discrete norm for a block-restricted variable residual.
Base class for user-specific data.
const NormType _norm_type
Type of norm to compute.
Real _norm
The computed residual norm.