www.mooseframework.org
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Convection Class Reference

#include <Convection.h>

Inheritance diagram for Convection:
[legend]

Public Member Functions

 Convection (const InputParameters &parameters)
 

Protected Member Functions

virtual Real computeQpResidual ()
 
virtual Real computeQpJacobian ()
 

Protected Attributes

RealVectorValue _velocity
 

Detailed Description

Definition at line 25 of file Convection.h.

Constructor & Destructor Documentation

Convection::Convection ( const InputParameters &  parameters)

Definition at line 25 of file Convection.C.

26  : Kernel(parameters), _velocity(getParam<RealVectorValue>("velocity"))
27 {
28 }
RealVectorValue _velocity
Definition: Convection.h:34

Member Function Documentation

Real Convection::computeQpJacobian ( )
protectedvirtual

Definition at line 37 of file Convection.C.

38 {
39  return _test[_i][_qp] * (_velocity * _grad_phi[_j][_qp]);
40 }
RealVectorValue _velocity
Definition: Convection.h:34
Real Convection::computeQpResidual ( )
protectedvirtual

Definition at line 31 of file Convection.C.

32 {
33  return _test[_i][_qp] * (_velocity * _grad_u[_qp]);
34 }
RealVectorValue _velocity
Definition: Convection.h:34

Member Data Documentation

RealVectorValue Convection::_velocity
protected

Definition at line 34 of file Convection.h.

Referenced by computeQpJacobian(), and computeQpResidual().


The documentation for this class was generated from the following files: