Documentation for module farming_types

...

source: farming_types.F
Loading...

public Types:

farming_env_type
...

public Subroutines/Functions:

deallocates all associated fields of the farming_env type and the type itself
help poor compilers do their job i.e. provide a default initialization
SUBROUTINE ELEMENTAL
init_job_type (job)
provide a default initialization

Parameters:

INTEGER
:: job_finished = 3
INTEGER
:: job_pending = 1
INTEGER
:: job_running = 2

public Types:

TYPE :: farming_env_type

...


INTEGER
:: group_size_wish ...
LOGICAL
:: group_size_wish_set ...
INTEGER
:: ngroup_wish ...
LOGICAL
:: ngroup_wish_set ...
LOGICAL
:: restart ...
LOGICAL
:: cycle ...
LOGICAL
:: master_slave ...
INTEGER,
DIMENSION(:), POINTER :: group_partition ...
:: restart_file_name ...
:: cwd ...
INTEGER
:: njobs ...
INTEGER
:: restart_n ...
INTEGER
:: max_steps ...
INTEGER
:: stride ...
TYPE(job_type),
DIMENSION(:), POINTER :: job ...
REAL(dp)
:: wait_time ...

SUBROUTINEdeallocate_farming_env(farming_env)

deallocates all associated fields of the farming_env type and the type itself

Arguments:
POINTER
:: farming_env ...

SUBROUTINEinit_farming_env(farming_env)

help poor compilers do their job i.e. provide a default initialization

Arguments:
POINTER
:: farming_env an associated farming env pointer

ELEMENTAL SUBROUTINEinit_job_type(job)

provide a default initialization

Arguments:
TYPE(job_type),
INTENT(out)
:: job ...

private Parameters/Types:

private Types:

TYPE :: job_type

...


:: cwd ...
:: input ...
:: output ...
INTEGER
:: id ...
INTEGER,
POINTER, DIMENSION(:) :: dependencies ...
INTEGER
:: status ...