www.mooseframework.org
SusceptibilityTimeDerivative.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 SUSCEPTIBILITYTIMEDERIVATIVE_H
8 #define SUSCEPTIBILITYTIMEDERIVATIVE_H
9 
10 #include "TimeDerivative.h"
11 #include "JvarMapInterface.h"
12 #include "DerivativeMaterialInterface.h"
13 // Forward Declaration
15 
16 template <>
22  : public DerivativeMaterialInterface<JvarMapKernelInterface<TimeDerivative>>
23 {
24 public:
25  SusceptibilityTimeDerivative(const InputParameters & parameters);
26  virtual void initialSetup();
27 
28 protected:
29  virtual Real computeQpResidual();
30  virtual Real computeQpJacobian();
31  virtual Real computeQpOffDiagJacobian(unsigned int jvar);
32 
34  const MaterialProperty<Real> & _Chi;
35 
37  const MaterialProperty<Real> & _dChidu;
38 
40  std::vector<const MaterialProperty<Real> *> _dChidarg;
41 };
42 
43 #endif // SUSCEPTIBILITYTIMEDERIVATIVE_H
InputParameters validParams< SusceptibilityTimeDerivative >()
std::vector< const MaterialProperty< Real > * > _dChidarg
susceptibility derivatives w.r.t. coupled variables
const MaterialProperty< Real > & _Chi
susceptibility
This calculates the time derivative for a variable multiplied by a generalized susceptibility.
SusceptibilityTimeDerivative(const InputParameters &parameters)
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
const MaterialProperty< Real > & _dChidu
susceptibility derivative w.r.t. the kernel variable