def SetDiffusionsFlags(self, diffusions): """! @brief Sets a python list into a C array """ if self.piDiffusionsFlags is not None: chemesis3_base.delete_IntArray(self.piDiffusionsFlags) int_array = CreateIntArray(diffusions) self.piDiffusionsFlags = int_array[0]
def SetPoolsFlags(self, pools): """! @brief Sets a python list into a C array """ if self.piPoolsFlags is not None: chemesis3_base.delete_IntArray(self.piPoolsFlags) int_array = CreateIntArray(pools) self.piPoolsFlags = int_array[0]
def SetReactionFlags(self, reactions): """! @brief Sets a python list into a C array """ if self.piReactionFlags is not None: chemesis3_base.delete_IntArray(self.piReactionFlags) int_array = CreateIntArray(reactions) self.piReactionFlags = int_array[0]
def SetProducts(self, products): """! @brief Sets a python list into a C array """ if self.piProducts is not None: chemesis3_base.delete_IntArray(self.piProducts) int_array = CreateIntArray(products) self.piProducts = int_array[0] self.iProducts = int_array[1]
def SetSubstrates(self, substrates): """! @brief Sets a python list into a C array """ if self.piSubstrates is not None: chemesis3_base.delete_IntArray(self.piSubstrates) int_array = CreateIntArray(substrates) self.piSubstrates = int_array[0] self.iSubstrates = int_array[1]