[Cython] Added the radial pressure gradient as the property FlameBase.L

Resolves Issue 142.
This commit is contained in:
Ray Speth 2013-02-07 23:41:37 +00:00
parent 3c6f87274b
commit 9010ecc644

View file

@ -839,6 +839,14 @@ class FlameBase(Sim1D):
"""
return self.profile(self.flame, 'V')
@property
def L(self):
"""
Array containing the radial pressure gradient (1/r)(dP/dr) [N/m^4] at
each point. Note: This value is named 'lambda' in the C++ code.
"""
return self.profile(self.flame, 'lambda')
def solution(self, component, point=None):
if point is None:
return self.profile(self.flame, component)