15#include "libmesh/system.h"
45 std::set<SubdomainID> subdomain_ids,
49 bool is_scalar =
false,
87 virtual void output()
override;
const InputParameters & parameters() const
Get the parameters of the object.
Nonlinear system to be solved.
Adds the ability to output on every nonlinear and/or linear residual.
A class for producing various debug related outputs.
NonlinearSystemBase & _nl
Reference to MOOSE's nonlinear system.
static InputParameters validParams()
unsigned int _num_residuals
Number of residuals to display.
static bool sortTopResidualData(TopResidualDebugOutputTopResidualData i, TopResidualDebugOutputTopResidualData j)
Method for sorting the residuals data from TopResidualDebugOutputTopResidualData structs.
virtual void output() override
Perform the debugging output.
void printTopResiduals(const NumericVector< Number > &residual, unsigned int n)
Prints the n top residuals for the variables in the system.
libMesh::System & _sys
Reference to libMesh system.
A structure for storing data related to top residuals.
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)
std::set< SubdomainID > _subdomain_ids
TopResidualDebugOutputTopResidualData()