ALMaSS Hare ODDox
1.1
The hare model description following ODdox protocol
|
#include <OSeedGrass1.h>
Public Member Functions | |
bool | Do (Farm *a_farm, LE *a_field, FarmEvent *a_ev) |
OSeedGrass1 () | |
Public Member Functions inherited from Crop | |
void | ChooseNextCrop (int a_no_dates) |
Chooses the next crop to grow in a field. More... | |
Crop () | |
int | GetCropClassification () |
int | GetFirstDate (void) |
void | SetCropClassification (int a_classification) |
virtual | ~Crop () |
Additional Inherited Members | |
Protected Member Functions inherited from Crop | |
void | SimpleEvent (long a_date, int a_todo, bool a_lock) |
Adds an event to this crop management. More... | |
void | SimpleEvent_ (long a_date, int a_todo, bool a_lock, Farm *a_farm, LE *a_field) |
Adds an event to this crop management without relying on member variables. More... | |
Protected Attributes inherited from Crop | |
int | m_count |
int | m_CropClassification |
int | m_ddegstoharvest |
FarmEvent * | m_ev |
Farm * | m_farm |
LE * | m_field |
int | m_first_date |
int | m_last_date |
Definition at line 47 of file OSeedGrass1.h.
|
inline |
Definition at line 51 of file OSeedGrass1.h.
References Crop::m_first_date.
Reimplemented from Crop.
Definition at line 36 of file OSeedGrass1.cpp.
References Farm::BurnStrawStubble(), Crop::ChooseNextCrop(), Farm::DoIt(), Farm::FP_NPK(), Farm::GetType(), Farm::Harvest(), Farm::HayTurning(), Crop::m_ev, Crop::m_farm, Crop::m_field, Crop::m_first_date, FarmEvent::m_first_year, Crop::m_last_date, FarmEvent::m_lock, FarmEvent::m_startday, FarmEvent::m_todo, osg1_burn_straw, osg1_compress, osg1_ferti_zero, osg1_harvest, osg1_start, osg1_strawchopping, osg1_swarth, osg1_water_zero, osg1_water_zero_b, SG1_WATER_DATE, Crop::SimpleEvent(), Farm::StrawChopping(), Farm::Swathing(), tof_OptimisingFarm, and Farm::Water().