www.mooseframework.org
PrimaryTimeDerivative.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 "TimeDerivative.h"
13 
14 // Forward Declaration
16 
17 template <>
18 InputParameters validParams<PrimaryTimeDerivative>();
19 
24 class PrimaryTimeDerivative : public TimeDerivative
25 {
26 public:
27  PrimaryTimeDerivative(const InputParameters & parameters);
28 
29 protected:
30  virtual Real computeQpResidual() override;
31  virtual Real computeQpJacobian() override;
32 
34  const MaterialProperty<Real> & _porosity;
35 };
PrimaryTimeDerivative::PrimaryTimeDerivative
PrimaryTimeDerivative(const InputParameters &parameters)
Definition: PrimaryTimeDerivative.C:23
PrimaryTimeDerivative::computeQpJacobian
virtual Real computeQpJacobian() override
Definition: PrimaryTimeDerivative.C:35
PrimaryTimeDerivative::computeQpResidual
virtual Real computeQpResidual() override
Definition: PrimaryTimeDerivative.C:29
PrimaryTimeDerivative::_porosity
const MaterialProperty< Real > & _porosity
Material property of porosity.
Definition: PrimaryTimeDerivative.h:34
PrimaryTimeDerivative
Define the Kernel for a CoupledConvectionReactionSub operator that looks like: storage * delta pressu...
Definition: PrimaryTimeDerivative.h:24
validParams< PrimaryTimeDerivative >
InputParameters validParams< PrimaryTimeDerivative >()
Definition: PrimaryTimeDerivative.C:16