www.mooseframework.org
ALEKernel.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 #include "Assembly.h"
14 #include "DerivativeMaterialInterface.h"
15 
16 class ALEKernel;
17 
18 template <>
19 InputParameters validParams<ALEKernel>();
20 
21 class ALEKernel : public DerivativeMaterialInterface<Kernel>
22 {
23 public:
24  static InputParameters validParams();
25 
26  ALEKernel(const InputParameters & parameters);
27 
28  virtual void computeJacobian() override;
29  virtual void computeOffDiagJacobian(MooseVariableFEBase & jvar) override;
30  using Kernel::computeOffDiagJacobian;
31 
32 protected:
35 
37  MooseVariable & _var_undisplaced;
38 
40  const VariablePhiGradient & _grad_phi_undisplaced;
41  const VariableTestGradient & _grad_test_undisplaced;
43 };
ALEKernel::computeOffDiagJacobian
virtual void computeOffDiagJacobian(MooseVariableFEBase &jvar) override
Definition: ALEKernel.C:43
ALEKernel::validParams
static InputParameters validParams()
Definition: ALEKernel.C:18
ALEKernel::_grad_test_undisplaced
const VariableTestGradient & _grad_test_undisplaced
Definition: ALEKernel.h:41
validParams< ALEKernel >
InputParameters validParams< ALEKernel >()
ALEKernel::computeJacobian
virtual void computeJacobian() override
Definition: ALEKernel.C:36
ALEKernel
Definition: ALEKernel.h:21
ALEKernel::_var_undisplaced
MooseVariable & _var_undisplaced
Reference to this Kernel's undisplaced MooseVariable object.
Definition: ALEKernel.h:37
ALEKernel::_assembly_undisplaced
Assembly & _assembly_undisplaced
undisplaced problem
Definition: ALEKernel.h:34
ALEKernel::_grad_phi_undisplaced
const VariablePhiGradient & _grad_phi_undisplaced
Shape and test functions on the undisplaced mesh.
Definition: ALEKernel.h:40
ALEKernel::ALEKernel
ALEKernel(const InputParameters &parameters)
Definition: ALEKernel.C:25