www.mooseframework.org
NumDOFs.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 NUMDOFS_H
16 #define NUMDOFS_H
17 
18 #include "GeneralPostprocessor.h"
19 
20 // Forward Declarations
21 class NumDOFs;
22 
23 // libMesh forward declarations
24 namespace libMesh
25 {
26 class System;
27 class EquationSystems;
28 }
29 
30 template <>
32 
34 {
35 public:
36  NumDOFs(const InputParameters & parameters);
37 
38  virtual void initialize() override {}
39  virtual void execute() override {}
40  virtual Real getValue() override;
41 
42 protected:
44  {
45  NL,
46  AUX,
48  };
49 
51 
52  const System * _system_pointer;
53  const EquationSystems * _es_pointer;
54 };
55 
56 #endif // NUMDOFS_H
const System * _system_pointer
Definition: NumDOFs.h:52
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
The following methods are specializations for using the libMesh::Parallel::packed_range_* routines fo...
This class is here to combine the Postprocessor interface and the base class Postprocessor object alo...
virtual void initialize() override
Called before execute() is ever called so that data can be cleared.
Definition: NumDOFs.h:38
SystemEnum
Definition: NumDOFs.h:43
InputParameters validParams< NumDOFs >()
Definition: NumDOFs.C:22
const EquationSystems * _es_pointer
Definition: NumDOFs.h:53
virtual void execute() override
Execute method.
Definition: NumDOFs.h:39
const SystemEnum _system_enum
Definition: NumDOFs.h:50