www.mooseframework.org
UserForcingFunction.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 "BodyForce.h"
13 
18 {
19 public:
21 
23 
24 protected:
25  Real f();
26 };
27 
28 template <>
30 
UserForcingFunction::f
Real f()
Definition: UserForcingFunction.C:29
UserForcingFunction::UserForcingFunction
UserForcingFunction(const InputParameters &parameters)
Definition: UserForcingFunction.C:23
BodyForce
This kernel implements a generic functional body force term: $ - c \cdof f \cdot \phi_i $.
Definition: BodyForce.h:29
BodyForce.h
MooseObject::parameters
const InputParameters & parameters() const
Get the parameters of the object.
Definition: MooseObject.h:76
UserForcingFunction
Deprecated, use BodyForce.
Definition: UserForcingFunction.h:17
InputParameters
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
Definition: InputParameters.h:53
UserForcingFunction::validParams
static InputParameters validParams()
Definition: UserForcingFunction.C:18
validParams< UserForcingFunction >
InputParameters validParams< UserForcingFunction >()