www.mooseframework.org
DistributedForce.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 "Kernel.h"
13 
14 // Forward Declarations
15 
24 class DistributedForce : public Kernel
25 {
26 public:
28 
30 
31 protected:
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 };
virtual Real computeQpJacobian()
virtual Real computeQpResidual()
const VariableValue & _rho
unsigned int _component
OutputTools< Real >::VariableValue VariableValue
unsigned int _rho_var_number
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const InputParameters & parameters() const
DistributedForce(const InputParameters &parameters)
static InputParameters validParams()
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
The DistributedForce kernel computes the body force due to the acceleration of mass in an element...