www.mooseframework.org
Convection.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 "Kernel.h"
13 
14 // Forward Declaration
15 class Convection;
16 
17 template <>
18 InputParameters validParams<Convection>();
19 
20 class Convection : public Kernel
21 {
22 public:
23  Convection(const InputParameters & parameters);
24 
25 protected:
26  virtual Real computeQpResidual();
27  virtual Real computeQpJacobian();
28 
29  RealVectorValue _velocity;
30 };
31 
Convection
Definition: Convection.h:20
Convection::computeQpResidual
virtual Real computeQpResidual()
Definition: Convection.C:29
validParams< Convection >
InputParameters validParams< Convection >()
Definition: Convection.C:16
Convection::Convection
Convection(const InputParameters &parameters)
Definition: Convection.C:23
Convection::_velocity
RealVectorValue _velocity
Definition: Convection.h:29
Convection::computeQpJacobian
virtual Real computeQpJacobian()
Definition: Convection.C:35