https://mooseframework.inl.gov
CoefCoupledTimeDerivative.C
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 
11 
13 
16 {
18  params.addClassDescription("Scaled time derivative Kernel that acts on a coupled variable");
19  params.addRequiredParam<Real>("coef", "Coefficient");
20  return params;
21 }
22 
24  : CoupledTimeDerivative(parameters), _coef(getParam<Real>("coef"))
25 {
26 }
27 
28 Real
30 {
32 }
33 
34 Real
36 {
38 }
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
void addRequiredParam(const std::string &name, const std::string &doc_string)
This calculates the time derivative for a coupled variable multiplied by a scalar coefficient...
static InputParameters validParams()
registerMooseObject("PhaseFieldApp", CoefCoupledTimeDerivative)
virtual Real computeQpResidual() override
static InputParameters validParams()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual Real computeQpOffDiagJacobian(unsigned int jvar) override
void addClassDescription(const std::string &doc_string)
CoefCoupledTimeDerivative(const InputParameters &parameters)