Documentation for module swarm_master

Master's routines for the swarm-framework

source: swarm_master.F
Loading...

public Types:

swarm_master_type
...

public Subroutines/Functions:

Finalizes the swarm master
Initializes the swarm master
Central steering routine of the swarm master

public Types:

TYPE :: swarm_master_type

...


INTEGER
:: behavior = -1 ...
POINTER :: glbopt => NULL() ...
INTEGER
:: iw = 0 ...
INTEGER
:: i_iteration = 0 ...
INTEGER
:: max_iter = 0 ...
LOGICAL
:: should_stop = .FALSE. ...
INTEGER
:: n_workers = -1 ...
INTEGER
:: comlog_unit ...
POINTER :: swarm_section => NULL() ...
POINTER :: para_env => NULL() ...
DIMENSION(:), POINTER :: queued_commands => NULL() ...
POINTER :: globenv => NULL() ...
LOGICAL
:: ignore_last_iteration = .FALSE. ...
INTEGER
:: n_waiting = 0 ...

SUBROUTINEswarm_master_finalize(master)

Finalizes the swarm master

Arguments:
:: master ...

SUBROUTINEswarm_master_init(master, para_env, globenv, root_section, n_workers)

Initializes the swarm master

Arguments:
:: master ...
POINTER
:: para_env ...
POINTER
:: globenv ...
POINTER
:: root_section ...
INTEGER,
INTENT(in)
:: n_workers ...

SUBROUTINEswarm_master_steer(master, report, cmd)

Central steering routine of the swarm master

Arguments:
INTENT(inout)
:: master ...
INTENT(in)
:: report ...
INTENT(out)
:: cmd ...

private Parameters/Types:

private Types:

TYPE :: swarm_message_p_type

...


POINTER :: p => NULL() ...