(git:6a2e663)
swarm_worker Module Reference

Workers's routines for the swarm-framework. More...

Functions/Subroutines

subroutine, public swarm_worker_init (worker, para_env, input_declaration, root_section, input_path, worker_id)
 Initializes a swarm worker. More...
 
subroutine, public swarm_worker_execute (worker, cmd, report, should_stop)
 Central execute routine of the swarm worker. More...
 
subroutine, public swarm_worker_finalize (worker)
 Finalizes a swarm worker. More...
 

Detailed Description

Workers's routines for the swarm-framework.

Author
Ole Schuett

Function/Subroutine Documentation

◆ swarm_worker_init()

subroutine, public swarm_worker::swarm_worker_init ( type(swarm_worker_type), intent(inout)  worker,
type(mp_para_env_type), pointer  para_env,
type(section_type), pointer  input_declaration,
type(section_vals_type), pointer  root_section,
character(len=*), intent(in)  input_path,
integer, intent(in)  worker_id 
)

Initializes a swarm worker.

Parameters
worker...
para_env...
input_declaration...
root_section...
input_path...
worker_id...
Author
Ole Schuett

Definition at line 62 of file swarm_worker.F.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ swarm_worker_execute()

subroutine, public swarm_worker::swarm_worker_execute ( type(swarm_worker_type), intent(inout)  worker,
type(swarm_message_type), intent(in)  cmd,
type(swarm_message_type), intent(out)  report,
logical, intent(inout)  should_stop 
)

Central execute routine of the swarm worker.

Parameters
worker...
cmd...
report...
should_stop...
Author
Ole Schuett

Definition at line 101 of file swarm_worker.F.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ swarm_worker_finalize()

subroutine, public swarm_worker::swarm_worker_finalize ( type(swarm_worker_type), intent(inout)  worker)

Finalizes a swarm worker.

Parameters
worker...
Author
Ole Schuett

Definition at line 136 of file swarm_worker.F.

Here is the call graph for this function:
Here is the caller graph for this function: