www.mooseframework.org
MaterialPropertyDebugOutput.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* DO NOT MODIFY THIS HEADER */
3 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
4 /* */
5 /* (c) 2010 Battelle Energy Alliance, LLC */
6 /* ALL RIGHTS RESERVED */
7 /* */
8 /* Prepared by Battelle Energy Alliance, LLC */
9 /* Under Contract No. DE-AC07-05ID14517 */
10 /* With the U. S. Department of Energy */
11 /* */
12 /* See COPYRIGHT for full restrictions */
13 /****************************************************************/
14 
15 #ifndef MATERIALPROPERTYDEBUGOUTPUT_H
16 #define MATERIALPROPERTYDEBUGOUTPUT_H
17 
18 // MOOSE includes
19 #include "Output.h"
20 
21 // Forward declerations
23 class Material;
24 
25 template <>
27 
34 {
35 public:
41 
42 protected:
47  virtual void output(const ExecFlagType & type) override;
48 
52  void printMaterialMap() const;
53 
59  void printMaterialProperties(std::stringstream & output,
60  const std::vector<std::shared_ptr<Material>> & materials) const;
61 };
62 
63 #endif // MATERIALPROPERTYEBUGOUTPUT_H
void printMaterialProperties(std::stringstream &output, const std::vector< std::shared_ptr< Material >> &materials) const
Builds a output streams for the properties in each material object.
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
Based class for output objects.
Definition: Output.h:45
InputParameters validParams< MaterialPropertyDebugOutput >()
MaterialPropertyDebugOutput(const InputParameters &parameters)
Class constructor.
virtual void output(const ExecFlagType &type) override
Perform the debugging output For this object this is empty; the output is preformed in the constructo...
void printMaterialMap() const
Prints material property information in a format similar to Moose system information.
Materials compute MaterialProperties.
Definition: Material.h:53
MatType type
const InputParameters & parameters() const
Get the parameters of the object.
Definition: MooseObject.h:53
A class for producing various debug related outputs.
ExecFlagType
Execution flags - when is the object executed/evaluated.
Definition: MooseTypes.h:90