https://mooseframework.inl.gov
NormalBoundaryDisplacement.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 #include "SidePostprocessor.h"
13 
19 {
20 public:
22 
24 
25  virtual void initialize() override;
26  virtual void finalize() override;
27  virtual void execute() override;
28  virtual Real getValue() const override;
29  virtual void threadJoin(const UserObject & y) override;
30 
31 protected:
32  enum class NormalValType
33  {
34  AVERAGE,
36  MAX,
38  };
39 
42 
44  unsigned int _ncomp;
45 
47  std::vector<const VariableValue *> _disp;
48 
51 
54 };
std::vector< const VariableValue * > _disp
displacement variable disp_x, disp_y, disp_z
virtual void initialize() override
This postprocessor computes displacements normal to a provided set of boundaries. ...
const std::vector< double > y
NormalValType _value_type
the type of the normal displacement value
virtual Real getValue() const override
Real _area
area of the boundary/boundaries
NormalBoundaryDisplacement(const InputParameters &parameters)
virtual void threadJoin(const UserObject &y) override
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
unsigned int _ncomp
number of components in _disp
Real _boundary_displacement
boundary displacement value accumulated during execute
const InputParameters & parameters() const
static InputParameters validParams()