https://mooseframework.inl.gov
Loading...
Searching...
No Matches
CoefVectorTimeDerivative.h
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
10#pragma once
11
14
31{
32public:
34
36
37protected:
39 virtual Real computeQpResidual() override;
40
42 virtual Real computeQpJacobian() override;
43
44private:
47};
Implements the time derivative term for a vector variable with a scalar coefficient:
virtual Real computeQpResidual() override
coef * (dA/dt) . test
virtual Real computeQpJacobian() override
coef * (d(dA/dt)/dA) * phi . test
const Moose::Functor< Real > & _coef
Scalar coefficient functor (constant, Function, functor material property, ...)
static InputParameters validParams()
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
const InputParameters & parameters() const
Get the parameters of the object.
Definition MooseBase.h:131
This is a wrapper that forwards calls to the implementation, which can be switched out at any time wi...
An interface for accessing Moose::Functors for systems that do not care about automatic differentiati...