www.mooseframework.org
GlobalDisplacementAux.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
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 "AuxKernel.h"
13 
14 // Forward Declarations
17 template <typename>
20 
21 template <>
22 InputParameters validParams<GlobalDisplacementAux>();
23 
24 class GlobalDisplacementAux : public AuxKernel
25 {
26 public:
27  static InputParameters validParams();
28 
29  GlobalDisplacementAux(const InputParameters & parameters);
30 
31  virtual Real computeValue() override;
32 
33 protected:
34  const VariableValue & _scalar_global_strain;
35  const unsigned int _component;
36 
38 
40  const VectorValue<bool> & _periodic_dir;
41  const Point _ref_point;
42 
43  const unsigned int _dim;
44  const unsigned int _ndisp;
45  std::vector<const VariableValue *> _disp;
46 };
GlobalStrainUserObjectInterface
This class provides interface for extracting the periodic directions, residual, and jacobian values f...
Definition: GlobalStrainUserObjectInterface.h:19
GlobalDisplacementAux::_disp
std::vector< const VariableValue * > _disp
Definition: GlobalDisplacementAux.h:45
GlobalDisplacementAux::_ref_point
const Point _ref_point
Definition: GlobalDisplacementAux.h:41
GlobalDisplacementAux::_scalar_global_strain
const VariableValue & _scalar_global_strain
Definition: GlobalDisplacementAux.h:34
GlobalDisplacementAux::computeValue
virtual Real computeValue() override
Definition: GlobalDisplacementAux.C:76
GlobalDisplacementAux
Definition: GlobalDisplacementAux.h:24
GlobalDisplacementAux::_ndisp
const unsigned int _ndisp
Definition: GlobalDisplacementAux.h:44
GlobalDisplacementAux::GlobalDisplacementAux
GlobalDisplacementAux(const InputParameters &parameters)
Definition: GlobalDisplacementAux.C:48
GlobalDisplacementAux::_component
const unsigned int _component
Definition: GlobalDisplacementAux.h:35
GlobalDisplacementAux::validParams
static InputParameters validParams()
Definition: GlobalDisplacementAux.C:23
GlobalDisplacementAux::_dim
const unsigned int _dim
Definition: GlobalDisplacementAux.h:43
validParams< GlobalDisplacementAux >
InputParameters validParams< GlobalDisplacementAux >()
RankTwoTensor
RankTwoTensorTempl< Real > RankTwoTensor
Definition: GlobalDisplacementAux.h:18
GlobalDisplacementAux::_output_global_disp
bool _output_global_disp
Definition: GlobalDisplacementAux.h:37
GlobalDisplacementAux::_periodic_dir
const VectorValue< bool > & _periodic_dir
Definition: GlobalDisplacementAux.h:40
RankTwoTensorTempl
Definition: ACGrGrElasticDrivingForce.h:17
GlobalDisplacementAux::_pst
const GlobalStrainUserObjectInterface & _pst
Definition: GlobalDisplacementAux.h:39