www.mooseframework.org
SusceptibilityTimeDerivative.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 "TimeDerivative.h"
13 #include "JvarMapInterface.h"
14 #include "DerivativeMaterialInterface.h"
15 // Forward Declaration
17 
18 template <>
24  : public DerivativeMaterialInterface<JvarMapKernelInterface<TimeDerivative>>
25 {
26 public:
27  SusceptibilityTimeDerivative(const InputParameters & parameters);
28  virtual void initialSetup();
29 
30 protected:
31  virtual Real computeQpResidual();
32  virtual Real computeQpJacobian();
33  virtual Real computeQpOffDiagJacobian(unsigned int jvar);
34 
36  const MaterialProperty<Real> & _Chi;
37 
39  const MaterialProperty<Real> & _dChidu;
40 
42  std::vector<const MaterialProperty<Real> *> _dChidarg;
43 };
44 
SusceptibilityTimeDerivative::computeQpOffDiagJacobian
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
Definition: SusceptibilityTimeDerivative.C:59
SusceptibilityTimeDerivative::computeQpResidual
virtual Real computeQpResidual()
Definition: SusceptibilityTimeDerivative.C:46
validParams< SusceptibilityTimeDerivative >
InputParameters validParams< SusceptibilityTimeDerivative >()
Definition: SusceptibilityTimeDerivative.C:16
SusceptibilityTimeDerivative
This calculates the time derivative for a variable multiplied by a generalized susceptibility.
Definition: SusceptibilityTimeDerivative.h:23
SusceptibilityTimeDerivative::_dChidarg
std::vector< const MaterialProperty< Real > * > _dChidarg
susceptibility derivatives w.r.t. coupled variables
Definition: SusceptibilityTimeDerivative.h:42
SusceptibilityTimeDerivative::initialSetup
virtual void initialSetup()
Definition: SusceptibilityTimeDerivative.C:40
SusceptibilityTimeDerivative::computeQpJacobian
virtual Real computeQpJacobian()
Definition: SusceptibilityTimeDerivative.C:52
SusceptibilityTimeDerivative::_Chi
const MaterialProperty< Real > & _Chi
susceptibility
Definition: SusceptibilityTimeDerivative.h:36
SusceptibilityTimeDerivative::_dChidu
const MaterialProperty< Real > & _dChidu
susceptibility derivative w.r.t. the kernel variable
Definition: SusceptibilityTimeDerivative.h:39
SusceptibilityTimeDerivative::SusceptibilityTimeDerivative
SusceptibilityTimeDerivative(const InputParameters &parameters)
Definition: SusceptibilityTimeDerivative.C:28