[Python/1D] Rename IonFlameBase.set_solvingStage to set_solving_stage

Lowercase with underscores matches the PEP8 style used elsewhere
This commit is contained in:
Ray Speth 2018-08-10 11:04:12 -04:00
parent a54ab2f3ef
commit 166249869b
2 changed files with 2 additions and 2 deletions

View file

@ -609,7 +609,7 @@ class IonFlameBase(FlameBase):
return self.profile(self.flame, 'eField')
def solve(self, loglevel=1, refine_grid=True, auto=False, stage=1, enable_energy=True):
self.flame.set_solvingStage(stage)
self.flame.set_solving_stage(stage)
if stage == 1:
super(IonFlameBase, self).solve(loglevel, refine_grid, auto)
if stage == 2:

View file

@ -563,7 +563,7 @@ cdef class IonFlow(_FlowBase):
gas = getIdealGasPhase(thermo)
self.flow = <CxxStFlow*>(new CxxIonFlow(gas, thermo.n_species, 2))
def set_solvingStage(self, stage):
def set_solving_stage(self, stage):
(<CxxIonFlow*>self.flow).setSolvingStage(stage)
property electric_field_enabled: