Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…vplanet into Strings
  • Loading branch information
RoryBarnes committed Aug 15, 2024
2 parents 5148bdb + 5fc4592 commit f342f37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/stellar.c
Original file line number Diff line number Diff line change
Expand Up @@ -1313,7 +1313,6 @@ void WriteRossbyNumber(BODY *body, CONTROL *control, OUTPUT *output,
void WriteWindTorque(BODY *body, CONTROL *control, OUTPUT *output,
SYSTEM *system, UNITS *units, UPDATE *update, int iBody,
double *dTmp, char **cUnit) {
// int iaBody[1] = {iBody}; // Is this the way, then iaBody below?
*dTmp = fdDJDtMagBrakingStellar(body, system, &iBody);
fvFormattedString(cUnit, "");
}
Expand Down Expand Up @@ -1386,13 +1385,6 @@ void InitializeOutputStellar(OUTPUT *output, fnWriteOutput fnWrite[]) {
output[OUT_WINDTORQUE].iModuleBit = STELLAR;
fnWrite[OUT_WINDTORQUE] = &WriteWindTorque;

fvFormattedString(&output[OUT_WINDTORQUE].cName, "WindTorque");
fvFormattedString(&output[OUT_WINDTORQUE].cDescr, "Stellar Wind Torque");
output[OUT_WINDTORQUE].bNeg = 0;
output[OUT_WINDTORQUE].iNum = 1;
output[OUT_WINDTORQUE].iModuleBit = STELLAR;
fnWrite[OUT_WINDTORQUE] = &WriteWindTorque;

fvFormattedString(&output[OUT_DROTPERDTSTELLAR].cName, "DRotPerDtStellar");
fvFormattedString(&output[OUT_DROTPERDTSTELLAR].cDescr,
"Time Rate of Change of Rotation Period in STELLAR");
Expand Down
2 changes: 2 additions & 0 deletions src/stellar.h
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,8 @@ void WriteLXUVFrac(BODY *, CONTROL *, OUTPUT *, SYSTEM *, UNITS *, UPDATE *,
int, double *, char**);
void WriteRossbyNumber(BODY *, CONTROL *, OUTPUT *, SYSTEM *, UNITS *, UPDATE *,
int, double *, char**);
void WriteWindTorque(BODY *, CONTROL *, OUTPUT *, SYSTEM *, UNITS *, UPDATE *,
int, double *, char**);
void WriteDRotPerDtStellar(BODY *, CONTROL *, OUTPUT *, SYSTEM *, UNITS *,
UPDATE *, int, double *, char**);

Expand Down

0 comments on commit f342f37

Please sign in to comment.