https://mooseframework.inl.gov
ArrayCoupledTimeDerivative.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 
18 {
19 public:
21 
23 
24 protected:
25  virtual void computeQpResidual(RealEigenVector & residual) override;
26  virtual RealEigenVector computeQpJacobian() override;
27  virtual RealEigenMatrix computeQpOffDiagJacobian(const MooseVariableFEBase & jvar) override;
28 
31 
34 
36  const unsigned int _v_var;
37 };
const VariableValue & _dv_dot
The Jacobian of the time derivative of the coupled variable with respect to the coupled variable...
const unsigned int _v_var
The number of the coupled variable.
This calculates the time derivative for a coupled variable.
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
This class provides an interface for common operations on field variables of both FE and FV types wit...
const ArrayVariableValue & _v_dot
The first temporal derivative of the coupled variable.
OutputTools< RealEigenVector >::VariableValue ArrayVariableValue
Definition: MooseTypes.h:348
virtual RealEigenMatrix computeQpOffDiagJacobian(const MooseVariableFEBase &jvar) override
This is the virtual that derived classes should override for computing a full Jacobian component...
ArrayCoupledTimeDerivative(const InputParameters &parameters)
Eigen::Matrix< Real, Eigen::Dynamic, Eigen::Dynamic > RealEigenMatrix
Definition: MooseTypes.h:149
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.
forward declarations
const InputParameters & parameters() const
Get the parameters of the object.
Eigen::Matrix< Real, Eigen::Dynamic, 1 > RealEigenVector
Definition: MooseTypes.h:146
virtual RealEigenVector computeQpJacobian() override
Compute this Kernel&#39;s contribution to the diagonal Jacobian at the current quadrature point...
static InputParameters validParams()