Module for the Finite State Machine of the chemical reactions. More...
Data Types | |
type | fsm_species |
Public Member Functions | |
subroutine | fsm_processreaction |
Parse one chemical reaction. More... | |
subroutine | fsm_readinput |
Read one character in the string and sets up the state of the FSM. More... | |
subroutine | fsm_printspecinfo |
Print information on the species. More... | |
subroutine | fsm_printsmallspecinfo (i) |
Print information on the species (compact version) More... | |
subroutine | fsm_getspecname (i, spec_str) |
Gives the full name of the species i. More... | |
subroutine | fsm_getspeccharge (i, spec_ch) |
Gives the charge of the specie i. More... | |
subroutine | fsm_normspeccharge (i) |
Normalise the charge of the species i species(i)charge. More... | |
subroutine | fsm_printreacinfo |
Print information on the current processed reaction. More... | |
Public Attributes | |
type(fsm_species), dimension(p_maxspec) | species |
Module for the Finite State Machine of the chemical reactions.
Using a FSM the syntaxis of the reaction is analyzed and information on each one of the species present is extracted. Finite State Machine module for chemical reactions
subroutine m_fsm::fsm_getspeccharge | ( | intent(in) | i, |
intent(out) | spec_ch | ||
) |
Gives the charge of the specie i.
subroutine m_fsm::fsm_getspecname | ( | intent(in) | i, |
intent(out) | spec_str | ||
) |
Gives the full name of the species i.
subroutine m_fsm::fsm_normspeccharge | ( | intent(in) | i | ) |
Normalise the charge of the species i species(i)charge.
subroutine m_fsm::fsm_printreacinfo | ( | ) |
Print information on the current processed reaction.
subroutine m_fsm::fsm_printsmallspecinfo | ( | i | ) |
Print information on the species (compact version)
subroutine m_fsm::fsm_printspecinfo | ( | ) |
Print information on the species.
subroutine m_fsm::fsm_processreaction | ( | ) |
Parse one chemical reaction.
subroutine m_fsm::fsm_readinput | ( | ) |
Read one character in the string and sets up the state of the FSM.