www.mooseframework.org
PenaltyInclinedNoDisplacementBC.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 "IntegratedBC.h"
13 
14 class PenaltyInclinedNoDisplacementBC;
15 class Function;
16 
17 template <>
19 
23 class PenaltyInclinedNoDisplacementBC : public IntegratedBC
24 {
25 public:
26  static InputParameters validParams();
27 
28  PenaltyInclinedNoDisplacementBC(const InputParameters & parameters);
29 
30 protected:
31  virtual Real computeQpResidual() override;
32  virtual Real computeQpJacobian() override;
33  virtual Real computeQpOffDiagJacobian(unsigned int jvar) override;
34 
35  const unsigned int _component;
36 
38  unsigned int _ndisp;
39  std::vector<const VariableValue *> _disp;
40  std::vector<unsigned int> _disp_var;
41 
42 private:
43  Real _penalty;
44 };
validParams
InputParameters validParams()
validParams< PenaltyInclinedNoDisplacementBC >
InputParameters validParams< PenaltyInclinedNoDisplacementBC >()