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

An aux kernel for calculating Mach number. More...

#include <CNSFVMachAux.h>

Inheritance diagram for CNSFVMachAux:
[legend]

Public Member Functions

 CNSFVMachAux (const InputParameters &parameters)
 
virtual ~CNSFVMachAux ()
 

Protected Member Functions

virtual Real computeValue ()
 

Protected Attributes

const MaterialProperty< Real > & _mach
 

Detailed Description

An aux kernel for calculating Mach number.

Definition at line 21 of file CNSFVMachAux.h.

Constructor & Destructor Documentation

CNSFVMachAux::CNSFVMachAux ( const InputParameters &  parameters)

Definition at line 19 of file CNSFVMachAux.C.

20  : AuxKernel(parameters), _mach(getMaterialProperty<Real>("mach_number"))
21 {
22 }
const MaterialProperty< Real > & _mach
Definition: CNSFVMachAux.h:30
virtual CNSFVMachAux::~CNSFVMachAux ( )
inlinevirtual

Definition at line 25 of file CNSFVMachAux.h.

25 {}

Member Function Documentation

Real CNSFVMachAux::computeValue ( )
protectedvirtual

Definition at line 25 of file CNSFVMachAux.C.

Referenced by ~CNSFVMachAux().

26 {
27  return _mach[_qp];
28 }
const MaterialProperty< Real > & _mach
Definition: CNSFVMachAux.h:30

Member Data Documentation

const MaterialProperty<Real>& CNSFVMachAux::_mach
protected

Definition at line 30 of file CNSFVMachAux.h.

Referenced by computeValue().


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