www.mooseframework.org
NodalNormalsPreprocessor.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 NODALNORMALSPREPROCESSOR_H
16 #define NODALNORMALSPREPROCESSOR_H
17 
18 // MOOSE includes
19 #include "ElementUserObject.h"
20 #include "BoundaryRestrictable.h"
21 
22 #include "libmesh/fe_type.h"
23 
24 // Forward declarations
26 class AuxiliarySystem;
27 
28 template <>
30 
36 {
37 public:
39 
40  virtual void initialize() override;
41  virtual void finalize() override;
42  virtual void execute() override;
43  virtual void threadJoin(const UserObject & uo) override;
44 
58 protected:
60  FEType _fe_type;
62  std::vector<BoundaryID> _boundaries;
64 
66 };
67 
68 #endif /* NODALNORMALSPREPROCESSOR_H */
std::vector< BoundaryID > _boundaries
An ElementUserObject that prepares MOOSE for computing nodal normals.
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
virtual void finalize() override
Finalize.
virtual void initialize() override
Called before execute() is ever called so that data can be cleared.
const VariablePhiGradient & _grad_phi
AuxiliarySystem & _aux
Forces object to be stored as a block object.
NodalNormalsPreprocessor(const InputParameters &parameters)
virtual void execute() override
Execute method.
InputParameters validParams< NodalNormalsPreprocessor >()
const InputParameters & parameters() const
Get the parameters of the object.
Definition: MooseObject.h:53
virtual void threadJoin(const UserObject &uo) override
Must override.
A system that holds auxiliary variables.
Base class for user-specific data.
Definition: UserObject.h:42
boundary_id_type BoundaryID
Definition: MooseTypes.h:75