-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1052 from jeffriley/BSEvsSSE
BSE vs SSE investigation and changes
- Loading branch information
Showing
29 changed files
with
514 additions
and
200 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
Timestep files | ||
============== | ||
|
||
A timestep file allows users to specify the timesteps to be taken during Single Star Evolution (SSE) or Binary Star Evolution (BSE). | ||
|
||
If a timestep file is provided (via the ``timesteps-filename`` program option), the COMPAS code uses the user-provided timeteps to | ||
evolve stars/systems instead of calculating a new timestep at each iteration. The COMPAS code will read the first non-blank and | ||
non-comment line of the timesteps file and set the first timestep to that value, then for each iteration during evolution, each | ||
subsequent non-blank and non-comment line of the timesteps file is read and the timestep for that iteration set to the value read. | ||
|
||
Note that COMPAS will use the timestep exactly as read - the timesteps read from the timesteps file are not quantised by COMPAS, and | ||
neither will they be truncated to any limit (e.g. ``ABSOLUTE_MINIMUM_TIMESTEP`` from ``constants.h``) or multiplied by any timestep | ||
multiplier set by the ``timestep-multiplier`` option. Furthermore, no check will be made after the timestep is taken to limit the | ||
radial expansion of the star being evolved. | ||
|
||
Timesteps files can have blank lines and comments. Comments begin with a hash/pound character ('#') - the hash/pound character and text | ||
beyond it are ignored by COMPAS. | ||
|
||
The ``timesteps-filename`` option is valid both on the command line and in a grid file. If the ``timesteps-filename`` option is specified | ||
in conjunction with the ``--number-of-systems`` (``-n``) option, or with option ranges and/or sets, the same timeteps file specified will | ||
be used for each star or system being evolved. On the other hand, if the ``timesteps-filename`` option is specified in a grid file, the | ||
timesteps file specified on a grid file line will be read and used for the star or system evolved by that grid file line. | ||
|
||
Each line of a timesteps file which is not a blank line or comment line must contain a single, non-negative, floating-point number (in | ||
plain text - COMPAS will read the plain text and convert it to a floating-point number). | ||
|
||
COMPAS imposes a hard limit of ``1,000,000`` timesteps in a timesteps file. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.