www.mooseframework.org
phase_field
include
kernels
CoefCoupledTimeDerivative.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 "CoupledTimeDerivative.h"
13
14
// Forward Declaration
15
class
CoefCoupledTimeDerivative
;
16
17
template
<>
18
InputParameters
validParams<CoefCoupledTimeDerivative>
();
19
24
class
CoefCoupledTimeDerivative
:
public
CoupledTimeDerivative
25
{
26
public
:
27
CoefCoupledTimeDerivative
(
const
InputParameters & parameters);
28
29
protected
:
30
virtual
Real
computeQpResidual
();
31
virtual
Real
computeQpOffDiagJacobian
(
unsigned
int
jvar);
32
33
const
Real
_coef
;
34
};
35
CoefCoupledTimeDerivative::CoefCoupledTimeDerivative
CoefCoupledTimeDerivative(const InputParameters ¶meters)
Definition:
CoefCoupledTimeDerivative.C:24
CoefCoupledTimeDerivative::computeQpOffDiagJacobian
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
Definition:
CoefCoupledTimeDerivative.C:36
CoefCoupledTimeDerivative::_coef
const Real _coef
Definition:
CoefCoupledTimeDerivative.h:33
validParams< CoefCoupledTimeDerivative >
InputParameters validParams< CoefCoupledTimeDerivative >()
Definition:
CoefCoupledTimeDerivative.C:16
CoefCoupledTimeDerivative
This calculates the time derivative for a coupled variable multiplied by a scalar coefficient.
Definition:
CoefCoupledTimeDerivative.h:24
CoefCoupledTimeDerivative::computeQpResidual
virtual Real computeQpResidual()
Definition:
CoefCoupledTimeDerivative.C:30
Generated on Sat Jan 25 2020 12:04:39 for www.mooseframework.org by
1.8.16