15 #include "libmesh/system.h" 45 std::set<SubdomainID> subdomain_ids,
49 bool is_scalar =
false,
87 virtual void output()
override;
static bool sortTopResidualData(TopResidualDebugOutputTopResidualData i, TopResidualDebugOutputTopResidualData j)
Method for sorting the residuals data from TopResidualDebugOutputTopResidualData structs.
static InputParameters validParams()
void printTopResiduals(const NumericVector< Number > &residual, unsigned int n)
Prints the n top residuals for the variables in the system.
std::set< SubdomainID > _subdomain_ids
A class for producing various debug related outputs.
System & _sys
Reference to libMesh system.
TopResidualDebugOutputTopResidualData(unsigned int var, std::set< SubdomainID > subdomain_ids, dof_id_type id, Point point, Real residual, bool is_scalar=false, bool is_nodal=true)
Nonlinear system to be solved.
virtual void output() override
Perform the debugging output.
A structure for storing data related to top residuals.
TopResidualDebugOutputTopResidualData()
TopResidualDebugOutput(const InputParameters ¶meters)
Class constructor.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const InputParameters & parameters() const
Get the parameters of the object.
Adds the ability to output on every nonlinear and/or linear residual.
unsigned int _num_residuals
Number of residuals to display.
NonlinearSystemBase & _nl
Reference to MOOSE's nonlinear system.