https://mooseframework.inl.gov
Loading...
Searching...
No Matches
DistributedForce.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 "Kernel.h"
13
14// Forward Declarations
15
25{
26public:
28
30
31protected:
32 virtual Real computeQpResidual();
33 virtual Real computeQpJacobian();
34 virtual Real computeQpOffDiagJacobian(unsigned int jvar);
35
36 unsigned int _component;
38 unsigned int _rho_var_number;
40};
The DistributedForce kernel computes the body force due to the acceleration of mass in an element.
unsigned int _rho_var_number
const VariableValue & _rho
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
static InputParameters validParams()
unsigned int _component
virtual Real computeQpResidual()
virtual Real computeQpJacobian()
const InputParameters & parameters() const
VariableValueTempl< false > VariableValue