#include <CoefDiffusion.h>
Definition at line 21 of file CoefDiffusion.h.
◆ CoefDiffusion()
CoefDiffusion::CoefDiffusion |
( |
const InputParameters & |
parameters | ) |
|
Definition at line 28 of file CoefDiffusion.C.
30 _coef(getParam<Real>(
"coef")),
31 _func(parameters.isParamValid(
"function") ? &getFunction(
"function") : NULL)
◆ computeQpJacobian()
Real CoefDiffusion::computeQpJacobian |
( |
| ) |
|
|
protectedvirtual |
Definition at line 47 of file CoefDiffusion.C.
49 Real diffusivity =
_coef;
52 diffusivity +=
_func->value(_t, _q_point[_qp]);
54 return diffusivity * _grad_test[_i][_qp] * _grad_phi[_j][_qp];
◆ computeQpResidual()
Real CoefDiffusion::computeQpResidual |
( |
| ) |
|
|
protectedvirtual |
Definition at line 36 of file CoefDiffusion.C.
38 Real diffusivity =
_coef;
41 diffusivity +=
_func->value(_t, _q_point[_qp]);
43 return diffusivity * _grad_test[_i][_qp] * _grad_u[_qp];
◆ _coef
const Real CoefDiffusion::_coef |
|
private |
◆ _func
const Function* const CoefDiffusion::_func |
|
private |
The documentation for this class was generated from the following files: