Skip to content

Commit

Permalink
Match changes from pull request amusecode#1097
Browse files Browse the repository at this point in the history
  • Loading branch information
cournoyercloutierc authored Dec 10, 2024
1 parent a321210 commit 47c5e75
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/amuse/community/seba/interface.cc
Original file line number Diff line number Diff line change
Expand Up @@ -486,18 +486,12 @@ int new_advanced_particle(int * index_of_the_star, double mass, double relative

stellar_type seba_stellar_type = translate_int_to_stellar_type(type_number);

addstar(new_node, seba_time, seba_stellar_type, seba_metallicity, 0, false);
addstar(new_node, seba_time, seba_stellar_type, seba_metallicity, 0, false, , seba_stellar_type, relative_mass, mass - core_mass, core_mass, COcore_mass, age);
new_node->get_starbase()->set_time_offset(seba_time);
*index_of_the_star = next_seba_id;

next_seba_id++;

new_node->get_starbase()->set_relative_age(age);
new_node->get_starbase()->set_core_mass(core_mass);
new_node->get_starbase()->set_COcore_mass(COcore_mass);
new_node->get_starbase()->set_effective_radius(radius);


return 0;
}

Expand Down

0 comments on commit 47c5e75

Please sign in to comment.