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

add logging for circumbinary disk

parent 314181b4
No related branches found
No related tags found
No related merge requests found
# choose "pdf" or "png", defaults to "pdf" # choose "pdf" or "png", defaults to "pdf"
type = "png" type = "pdf"
if(type eq "png") { if(type eq "png") {
print "Make pngs" print "Make pngs"
......
...@@ -182,7 +182,8 @@ ...@@ -182,7 +182,8 @@
#define LOG_STELLAR_TYPE_CHANGE 7 #define LOG_STELLAR_TYPE_CHANGE 7
#define LOG_COMENV_POST 8 #define LOG_COMENV_POST 8
#define LOG_SPLIT_EVOLUTION 9 #define LOG_SPLIT_EVOLUTION 9
#define NLOGFLAGS 10 #define LOG_CIRCUMBINARY_DISC 10
#define NLOGFLAGS 11
#define LOCK_shrinkAGB 1 #define LOCK_shrinkAGB 1
#define LOCK_BSS 2 #define LOCK_BSS 2
......
...@@ -1513,6 +1513,15 @@ end_section: ...@@ -1513,6 +1513,15 @@ end_section:
printf("cbdisc alpha = %g\n",cbdisc->alpha); printf("cbdisc alpha = %g\n",cbdisc->alpha);
Append_logstring(LOG_CIRCUMBINARY_DISC,
"CBDISC Mdisc=%g Jdisc=%g alpha=%g\n",
cbdisc->M/M_SUN,
cbdisc->J,
cbdisc->alpha
);
#endif #endif
#ifdef NUCSYN #ifdef NUCSYN
......
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