Skip to content
Snippets Groups Projects
Commit 7b888098 authored by Izzard, Robert Dr (Maths & Physics)'s avatar Izzard, Robert Dr (Maths & Physics)
Browse files

fix sign error in limit_accretion_rates (for novae)

fix derivative labels
parent bf4b5b53
No related branches found
Tags
No related merge requests found
......@@ -148,6 +148,8 @@
"Central helium", \
"Central carbon", \
"He core mass (no 3DUP)", \
"Number of thermal pulses", \
"Number of thermal pulses since mcmin", \
"nova H layer mass", \
"Roche radius" \
}
......
......
......@@ -409,7 +409,7 @@ void limit_accretion_rates(struct stardata_t * RESTRICT const stardata)
* Remove all the accreted layer : anything
* remaining becomes part of the white dwarf.
*/
accretor->derivative[DERIVATIVE_STELLAR_H_LAYER_MASS] -=
accretor->derivative[DERIVATIVE_STELLAR_H_LAYER_MASS] +=
dm_loss_rate;
/*
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment