예제 #1
0
파일: Thermo.py 프로젝트: zliu72/Combustion
    def anEndSection(self, token):
        BaseParser.anEndSection(self, token)

        if self._thermoAll:
            species = self._mechanism.species()

            candidates = []
            for s in species:
                if not s.thermo:
                    candidates.append(s.symbol)

            if candidates:
                msg = "no species information for the folowing species: %s" % candidates
                self.onWarning(msg, self.locator())

        return 1