CP2K 2.4 (Revision 12889)
Classes | Functions | Variables

farming_types Namespace Reference

Classes

struct  job_type
struct  farming_env_type

Functions

subroutine, public init_farming_env (farming_env)
 help poor compilers do their job i.e. provide a default initialization
elemental subroutine, public init_job_type (job)
 provide a default initialization
subroutine deallocate_job_type (job)
 deallocates all memory associated with this job
subroutine, public deallocate_farming_env (farming_env)
 deallocates all associated fields of the farming_env type and the type itself

Variables

INTEGER, parameter, public job_pending = 1
INTEGER, parameter, public job_running = 2
INTEGER, parameter, public job_finished = 3

Function Documentation

subroutine,public farming_types::deallocate_farming_env ( TYPE(farming_env_type),pointer  farming_env)

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

History
03.2004 created [Joost VandeVondele]

Definition at line 115 of file farming_types.f90.

References deallocate_job_type().

Referenced by cp2k_runs::farming_run().

Here is the call graph for this function:

Here is the caller graph for this function:

subroutine farming_types::deallocate_job_type ( TYPE(job_type)  job) [private]

deallocates all memory associated with this job

History
09.2007 created [Joost VandeVondele ]

Definition at line 102 of file farming_types.f90.

Referenced by deallocate_farming_env().

Here is the caller graph for this function:

subroutine,public farming_types::init_farming_env ( TYPE(farming_env_type),pointer  farming_env)

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

Parameters:
anassociated farming env pointer
History
03.2004 created [Joost VandeVondele ]

Definition at line 59 of file farming_types.f90.

elemental subroutine,public farming_types::init_job_type ( TYPE(job_type),intent(out)  job)

provide a default initialization

History
09.2007 created [Joost VandeVondele ]

Definition at line 85 of file farming_types.f90.

References job_pending.


Variable Documentation

INTEGER,parameter,public farming_types::job_finished = 3

Definition at line 18 of file farming_types.f90.

INTEGER,parameter,public farming_types::job_pending = 1

Definition at line 18 of file farming_types.f90.

Referenced by init_job_type().

INTEGER,parameter,public farming_types::job_running = 2

Definition at line 18 of file farming_types.f90.