GBS
state_machine_mod.F90 File Reference

Provide class emulating a state machine for the neutrals synchronization. More...

Data Types

type  state_machine_mod::state_machine
 State machine class. More...
 

Modules

module  state_machine_mod
 

Enumerations

enum  { state_machine_mod::state_p2n , state_machine_mod::state_core , state_machine_mod::state_n2p }
 

Functions/Subroutines

subroutine state_machine_mod::init (this, all_states)
 Initialize the state machine object and activate first state. More...
 
subroutine state_machine_mod::print (this)
 Print current state machine object status. More...
 
logical function state_machine_mod::is_state_p2n (this)
 Check if current active state is p2n. More...
 
logical function state_machine_mod::is_state_core (this)
 Check if current active state is core. More...
 
logical function state_machine_mod::is_state_n2p (this)
 Check if current active state is n2p. More...
 
subroutine state_machine_mod::activate_state_p2n (this)
 Activate state p2n. More...
 
subroutine state_machine_mod::activate_state_core (this)
 Activate state core. More...
 
subroutine state_machine_mod::activate_state_n2p (this)
 Activate state n2p. More...
 

Variables

integer, parameter state_machine_mod::num_states = 3
 

Detailed Description

Provide class emulating a state machine for the neutrals synchronization.

Author
(in alphabetical order)
Emmanuel Lanti emman.nosp@m.uel..nosp@m.lanti.nosp@m.@epf.nosp@m.l.ch