wiki:CalcComp

Version 2 (modified by trac, 12 years ago) ( diff )

CalcComp

Description

CalcComp is a subroutine which may be used in a given problem module. CalcComp calculates what q(iE) should be, based on q(rho), q(vx:iSpeedHi), and what equation of state is being used. It optionally returns the pressure.

CalcComp takes q in a given cell as an argument, and returns q with an updated q(iE) component.

Note: See TracWiki for help on using the wiki.