https://mooseframework.inl.gov
BlockRestrictionDebugOutput.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
12 // MOOSE includes
13 #include "Output.h"
14 
15 // Forward declarations
23 {
24 public:
26 
30  static MultiMooseEnum getScopes(std::string default_scopes = "");
31 
33 
34 protected:
37 
40 
43 
47  virtual void output() override;
48 
52  void printBlockRestrictionMap() const;
53 
57  void printBlockRestrictionGroups() const;
58 
62  void printBoundaryRestrictionGroups() const;
63 
66 
69 
72 };
BlockRestrictionDebugOutput(const InputParameters &parameters)
const bool & _show_block_restriction_groups
Whether to print object groups by identical block restriction.
void printBlockRestrictionMap() const
Prints block-restriction information.
const InputParameters & parameters() const
Get the parameters of the object.
Definition: MooseBase.h:131
virtual void output() override
Perform the debugging output.
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
A class for producing various debug related outputs.
const bool & _show_block_restriction_map
Whether to print the existing per-block restriction map.
const bool & _show_boundary_restriction_groups
Whether to print object groups by identical boundary restriction.
const NonlinearSystemBase & _nl
Reference to MOOSE's nonlinear system.
void printBoundaryRestrictionGroups() const
Prints object groups with identical boundary restrictions.
Nonlinear system to be solved.
Based class for output objects.
Definition: Output.h:43
const MultiMooseEnum & _scope
multi-enum of object types to show the block-restriction for
static MultiMooseEnum getScopes(std::string default_scopes="")
Get the supported scopes of output (e.g., variables, etc.)
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type...
void printBlockRestrictionGroups() const
Prints object groups with identical block restrictions.
const libMesh::System & _sys
Reference to libMesh system.