https://mooseframework.inl.gov
BodyForceLM.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 BodyForceLM : public LMKernel
18 {
19 public:
21 
23 
24 protected:
25  ADReal precomputeQpResidual() override;
26 
28  const Real & _scale;
29 
32 
35 };
static InputParameters validParams()
Definition: BodyForceLM.C:17
BodyForceLM(const InputParameters &parameters)
Definition: BodyForceLM.C:30
ADReal precomputeQpResidual() override
Definition: BodyForceLM.C:39
Base class for use when adding Pressure-Stabilized Petrov-Galerkin type stabilization (e...
Definition: LMKernel.h:19
Real PostprocessorValue
const PostprocessorValue & _postprocessor
Optional Postprocessor value.
Definition: BodyForceLM.h:34
const Real & _scale
Scale factor.
Definition: BodyForceLM.h:28
const Function & _function
Optional function value.
Definition: BodyForceLM.h:31
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Imposes a body force onto a Lagrange multiplier constrained primal equation.
Definition: BodyForceLM.h:17
const InputParameters & parameters() const