www.mooseframework.org
PrimaryTimeDerivative.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 #ifndef PRIMARYTIMEDERIVATIVE
8 #define PRIMARYTIMEDERIVATIVE
9 
10 #include "TimeDerivative.h"
11 
12 // Forward Declaration
14 
15 template <>
16 InputParameters validParams<PrimaryTimeDerivative>();
17 
22 class PrimaryTimeDerivative : public TimeDerivative
23 {
24 public:
25  PrimaryTimeDerivative(const InputParameters & parameters);
26 
27 protected:
28  virtual Real computeQpResidual() override;
29  virtual Real computeQpJacobian() override;
30 
32  const MaterialProperty<Real> & _porosity;
33 };
34 
35 #endif // PRIMARYTIMEDERIVATIVE
const MaterialProperty< Real > & _porosity
Material property of porosity.
virtual Real computeQpJacobian() override
virtual Real computeQpResidual() override
PrimaryTimeDerivative(const InputParameters &parameters)
InputParameters validParams< PrimaryTimeDerivative >()
Define the Kernel for a CoupledConvectionReactionSub operator that looks like: storage * delta pressu...