https://mooseframework.inl.gov
CoupledForceLM.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 "LMKernel.h"
13 
17 class CoupledForceLM : public LMKernel
18 {
19 public:
21 
23 
24 protected:
25  ADReal precomputeQpResidual() override;
26 
28  const unsigned int _v_var;
32  const Real _coef;
33 };
static InputParameters validParams()
Base class for use when adding Pressure-Stabilized Petrov-Galerkin type stabilization (e...
Definition: LMKernel.h:19
CoupledForceLM(const InputParameters &parameters)
const Real _coef
An optional coefficient multiplying the coupled force.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const unsigned int _v_var
The number of the coupled variable.
const ADVariableValue & _v
The current quadrature point values of the coupled variable.
Adds a coupled force term to a Lagrange multiplier constrained primal equation.
const InputParameters & parameters() const
ADReal precomputeQpResidual() override