https://mooseframework.inl.gov
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 
17 {
18 public:
20 
22 
23 protected:
24  virtual void computeQpResidual(RealEigenVector & residual) override;
25 
26  std::vector<const Function *> _func;
27 };
Base class for function objects.
Definition: Function.h:36
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
ArrayBodyForce(const InputParameters &parameters)
std::vector< const Function * > _func
virtual void computeQpResidual(RealEigenVector &residual) override
Compute this Kernel&#39;s contribution to the residual at the current quadrature point, to be filled in residual.
static InputParameters validParams()
const InputParameters & parameters() const
Get the parameters of the object.
Eigen::Matrix< Real, Eigen::Dynamic, 1 > RealEigenVector
Definition: MooseTypes.h:146