Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 499d916b authored by LUISELLI Juliette's avatar LUISELLI Juliette
Browse files

adapt NewIndivEvent to the eukaryotic case

parent f968fdcc
No related branches found
No related tags found
No related merge requests found
......@@ -78,6 +78,27 @@ class NewIndivEvent {
#endif
#ifdef __EUKARYOTE
NewIndivEvent(Individual_7* childx,
Individual_7* parent1, Individual_7* parent2,
int xx, int yx, int indiv_id,
int parent1_id, int parent2_id,
bool remote = true, int32_t rank = -1) {
simd_child = childx;
simd_parent = parent1;
simd_parent2 = parent2;
child = nullptr;
parent = nullptr;
indiv_id_ = indiv_id;
parent_id_ = parent1_id;
parent2_id_ = parent2_id;
x = xx;
y = yx;
remote_ = remote;
rank_ = rank;
}
#else
NewIndivEvent(Individual_7* childx,
Individual_7* parentx, int xx, int yx, int indiv_id, int parent_id, bool remote = true, int32_t rank = -1) {
simd_child = childx;
......@@ -92,6 +113,7 @@ class NewIndivEvent {
remote_ = remote;
rank_ = rank;
}
#endif
#ifdef __REGUL
Individual_R* child;
......@@ -103,6 +125,11 @@ class NewIndivEvent {
Individual_7* simd_child;
Individual_7* simd_parent;
#ifdef __EUKARYOTE
Individual_7* simd_parent2;
int parent2_id_;
#endif
int x;
int y;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment