FishMet: Fish feeding and appetite model, OPEN EDITION
0.1
FishMet: Fish feeding and appetite model, OPEN EDITION
|
The FishMet Model: Definitions for the environment. More...
Go to the source code of this file.
Data Types | |
type | environ::food_item |
Defines the food item. More... | |
Modules | |
module | environ |
Module defining the environment. | |
Functions/Subroutines | |
elemental subroutine | environ::food_item_init (this, mass) |
Initialise the food item with its parameters. More... | |
elemental subroutine | environ::food_item_copy_assign_to (this, what_to_copy) |
Copy what_to_copy object to this (target) object. More... | |
impure class(food_item) function, pointer | environ::food_item_schedule_feed (this, time_step, is_provided) |
Schedule the provision of food items depending on the time step. It returns a pointer to the food item class object if food is given or null pointer otherwise. More... | |
impure subroutine | environ::food_provisioning_pattern_init (max_steps) |
Initialise and set up the global food provisioning pattern array commondata::global_interval_food_pattern given the day:night pattern commondata::global_hours_daytime_feeding. Note that feeding can occur only during the daytime. More... | |
impure subroutine | environ::food_provisioning_get_file (max_steps, csv_file, column, is_single) |
Read the food provisioning pattern from a CSV file. This allows to get any arbitrary pattern of food input. The input CSV file encodes data by minute. There, 1 or any other non-zero value means that food is provided during the minute interval, 0 means that food is not provided. The file can describe by-minute pattern for 24 h or more if is_single is TRUE . The pattern is then propagated for all 24 h periods described by the max_steps parameter. More... | |
impure subroutine | environ::food_provisioning_get_raw (max_steps, csv_file, column, is_single) |
Read the food provisioning pattern from a CSV file in raw format by s. This allows to get any arbitrary pattern of food input. Unlike the food_provisioning_get_file() subroutine, this procedure accepts the food provisioning data in the raw format equal to the model time step i.e. s (second). There, 1 or any other non-zero value means that food is provided during the time step while 0 means that food is not provided. The file can any duration within or exceeding 24 h period. Any data over 24 h are accepted only if is_single is TRUE . More... | |
elemental logical function | environ::schedule_2_int (check_n, int1, int2) |
Schedule two intervals N1 = food given, steps, N2 = gap, steps. More... | |
elemental logical function | environ::is_day (time_step) |
Determine if the time step corresponds to day (returns true) or night (returns false). More... | |
The FishMet Model: Definitions for the environment.
Definition in file m_env.f90.