https://mooseframework.inl.gov
Loading...
Searching...
No Matches
ArrayTimeDerivative.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 "ArrayTimeKernel.h"
13
15{
16public:
18
20
21 virtual void initialSetup() override;
22
23protected:
24 virtual void computeQpResidual(RealEigenVector & residual) override;
25 virtual RealEigenVector computeQpJacobian() override;
26 virtual RealEigenMatrix computeQpOffDiagJacobian(const MooseVariableFEBase & jvar) override;
27
29 const bool _has_coefficient;
36};
virtual RealEigenVector computeQpJacobian() override
Compute this Kernel's contribution to the diagonal Jacobian at the current quadrature point.
virtual RealEigenMatrix computeQpOffDiagJacobian(const MooseVariableFEBase &jvar) override
This is the virtual that derived classes should override for computing a full Jacobian component.
const MaterialProperty< RealEigenVector > *const _coeff_array
array time derivative coefficient
virtual void initialSetup() override
Gets called at the beginning of the simulation before this object is asked to do its job.
const MaterialProperty< RealEigenMatrix > *const _coeff_2d_array
matrix time derivative coefficient
virtual void computeQpResidual(RealEigenVector &residual) override
Compute this Kernel's contribution to the residual at the current quadrature point,...
const MaterialProperty< Real > *const _coeff
scalar time derivative coefficient
static InputParameters validParams()
const bool _has_coefficient
whether or not the coefficient property is provided
All array time kernels should inherit from this class.
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
const InputParameters & parameters() const
Get the parameters of the object.
Definition MooseBase.h:131
This class provides an interface for common operations on field variables of both FE and FV types wit...