lib/eulim/chemistry/reaction.rb in eulim-0.0.14 vs lib/eulim/chemistry/reaction.rb in eulim-0.0.15
- old
+ new
@@ -16,11 +16,11 @@
def initialize(args)
# rate_eqn should be of the form: 'r_{CaO} = k[CaO][CO2]'
@equation = args[:equation]
@species = build_species
@is_valid = valid_rxn?
- p participant_elements
- # @balanced_eqn = balance_rxn
+ participant_elements
+ @balanced_eqn = balance_rxn
@rate_equation = validify_rate_eqn args[:rate_equation]
end
private