libpspm
|
#include <species.h>
Public Member Functions | |
Species (std::vector< double > breaks=std::vector< double >()) | |
Species (Model M) | |
void | resize (int _J) |
double | get_maxSize () |
void | print () |
void | set_xb (double _xb) |
void | set_ub (double _ub) |
void | set_birthTime (int i, double t0) |
void | setX (int i, double _x) |
void | setU (int i, double _u) |
double | getX (int i) |
double | getU (int i) |
double | init_density (int i, double x, void *env) |
void | initAndCopyExtraState (double t, void *env, std::vector< double >::iterator &it) |
void | initBoundaryCohort (double t, void *env) |
void | copyExtraStateToCohorts (std::vector< double >::iterator &it) |
void | copyCohortsExtraToState (std::vector< double >::iterator &it) |
double | establishmentProbability (double t, void *env) |
double | calc_boundary_u (double gb, double pe) |
double | get_boundary_u () |
void | triggerPreCompute () |
double | growthRate (int i, double x, double t, void *env) |
double | growthRateOffset (int i, double x, double t, void *env) |
std::vector< double > | growthRateGradient (int i, double x, double t, void *env, double grad_dx) |
std::vector< double > | growthRateGradientCentered (int i, double xplus, double xminus, double t, void *env) |
double | mortalityRate (int i, double x, double t, void *env) |
std::vector< double > | mortalityRateGradient (int i, double x, double t, void *env, double grad_dx) |
double | birthRate (int i, double x, double t, void *env) |
void | getExtraRates (std::vector< double >::iterator &it) |
void | addCohort () |
void | addCohort (Cohort< Model > bc) |
void | removeDensestCohort () |
void | removeDenseCohorts (double dxcut) |
void | removeDeadCohorts (double ucut) |
Cohort< Model > & | getCohort (int i) |
![]() | |
virtual | ~Species_Base ()=0 |
int | xsize () |
int | size () |
void | set_inputBirthFlux (double b) |
void | set_bfin_is_u0in (bool flag) |
template<class T > | |
void | addCohort (T bc) |
Protected Attributes | |
std::vector< Cohort< Model > > | cohorts |
Cohort< Model > | boundaryCohort |
Cohort< Model > | savedCohort |
![]() | |
int | J |
int | n_extra_statevars = 0 |
std::list< double > | birth_flux_out_history |
std::vector< double > | X |
std::vector< double > | x |
std::vector< double > | h |
std::vector< double > | schedule |
Additional Inherited Members | |
![]() | |
double | birth_flux_in |
bool | bfin_is_u0in = false |
double | xb |
bool | is_resident |
Species< Model >::Species | ( | std::vector< double > | breaks = std::vector<double>() | ) |
Definition at line 36 of file species.tpp.
Definition at line 44 of file species.tpp.
|
virtual |
Definition at line 315 of file species.tpp.
|
virtual |
Implements Species_Base.
Definition at line 292 of file species.tpp.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Definition at line 94 of file species.tpp.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Implements Species_Base.
Definition at line 218 of file species.tpp.
|
virtual |
Implements Species_Base.
Definition at line 235 of file species.tpp.
|
virtual |
Implements Species_Base.
Definition at line 250 of file species.tpp.
|
virtual |
Implements Species_Base.
Definition at line 225 of file species.tpp.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Implements Species_Base.
Definition at line 269 of file species.tpp.
|
virtual |
Implements Species_Base.
Definition at line 277 of file species.tpp.
|
virtual |
Implements Species_Base.
Definition at line 50 of file species.tpp.
|
virtual |
Implements Species_Base.
Definition at line 360 of file species.tpp.
|
virtual |
Implements Species_Base.
Definition at line 341 of file species.tpp.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |