https://mooseframework.inl.gov
Loading...
Searching...
No Matches
include
kernels
ArrayBodyForce.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 "
ArrayKernel.h
"
13
14
class
Function
;
15
16
class
ArrayBodyForce
:
public
ArrayKernel
17
{
18
public
:
19
static
InputParameters
validParams
();
20
21
ArrayBodyForce
(
const
InputParameters
&
parameters
);
22
23
protected
:
24
virtual
void
computeQpResidual
(RealEigenVector & residual)
override
;
25
26
std::vector<const Function *>
_func
;
27
};
ArrayKernel.h
ArrayBodyForce
Definition
ArrayBodyForce.h:17
ArrayBodyForce::_func
std::vector< const Function * > _func
Definition
ArrayBodyForce.h:26
ArrayBodyForce::validParams
static InputParameters validParams()
Definition
ArrayBodyForce.C:17
ArrayBodyForce::computeQpResidual
virtual void computeQpResidual(RealEigenVector &residual) override
Compute this Kernel's contribution to the residual at the current quadrature point,...
Definition
ArrayBodyForce.C:36
ArrayKernel
Definition
ArrayKernel.h:17
Function
Base class for function objects.
Definition
Function.h:30
InputParameters
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
Definition
InputParameters.h:68
MooseBase::parameters
const InputParameters & parameters() const
Get the parameters of the object.
Definition
MooseBase.h:131
Generated on Fri Aug 21 2026 13:33:49 for https://mooseframework.inl.gov by
1.9.8