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