https://mooseframework.inl.gov
Loading...
Searching...
No Matches
VectorSecondTimeDerivative.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#include "Function.h"
12
14
17{
19 params.addClassDescription("The second time derivative operator for vector variables.");
20 params.addParam<FunctionName>("coefficient", 1.0, "Coefficient function.");
21 return params;
22}
23
25 : VectorTimeKernel(parameters),
26 _u_dot_dot(dotDot()),
27 _du_dot_dot_du(dotDotDu()),
28 _coeff(getFunction("coefficient"))
29{
30}
31
32Real
37
38Real
registerMooseObject("ElectromagneticsApp", VectorSecondTimeDerivative)
virtual Real value(Real t, const Point &p) const
void addParam(const std::string &name, const std::initializer_list< typename T::value_type > &value, const std::string &doc_string)
void addClassDescription(const std::string &doc_string)
unsigned int _qp
const MooseArray< Point > & _q_point
unsigned int _j
unsigned int _i
const VectorVariableTestValue & _test
const VectorVariablePhiValue & _phi
The second time derivative operator for vector variables.
const VariableValue & _du_dot_dot_du
du dot dot du Jacobian contribution of the second time derivative of the solution vector variable
static InputParameters validParams()
VectorSecondTimeDerivative(const InputParameters &parameters)
virtual Real computeQpJacobian() override
virtual Real computeQpResidual() override
const VectorVariableValue & _u_dot_dot
Second time derivative of the solution vector variable.
const Function & _coeff
Function coefficient.
static InputParameters validParams()