www.mooseframework.org
ALEKernel.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 #ifndef ALEKERNEL_H
8 #define ALEKERNEL_H
9 
10 #include "Kernel.h"
11 #include "Assembly.h"
12 #include "DerivativeMaterialInterface.h"
13 
14 class ALEKernel;
15 
16 template <>
17 InputParameters validParams<ALEKernel>();
18 
19 class ALEKernel : public DerivativeMaterialInterface<Kernel>
20 {
21 public:
22  ALEKernel(const InputParameters & parameters);
23 
24  virtual void computeJacobian();
25  virtual void computeOffDiagJacobian(unsigned int jvar);
26 
27 protected:
30 
32  MooseVariable & _var_undisplaced;
33 
35  const VariablePhiGradient & _grad_phi_undisplaced;
36  const VariableTestGradient & _grad_test_undisplaced;
38 };
39 
40 #endif // ALEKERNEL_H
virtual void computeOffDiagJacobian(unsigned int jvar)
Definition: ALEKernel.C:40
virtual void computeJacobian()
Definition: ALEKernel.C:33
InputParameters validParams< ALEKernel >()
Definition: ALEKernel.C:15
const VariableTestGradient & _grad_test_undisplaced
Definition: ALEKernel.h:36
ALEKernel(const InputParameters &parameters)
Definition: ALEKernel.C:22
Assembly & _assembly_undisplaced
undisplaced problem
Definition: ALEKernel.h:29
MooseVariable & _var_undisplaced
Reference to this Kernel&#39;s undisplaced MooseVariable object.
Definition: ALEKernel.h:32
const VariablePhiGradient & _grad_phi_undisplaced
Shape and test functions on the undisplaced mesh.
Definition: ALEKernel.h:35