BSE switchlogΒΆ

Default record definition for the BSE SwitchLog log file:

const ANY_PROPERTY_VECTOR BSE_SWITCH_LOG_REC = {
    BINARY_PROPERTY::RANDOM_SEED,
    BINARY_PROPERTY::TIME,
    BINARY_PROPERTY::SEMI_MAJOR_AXIS_RSOL,
    BINARY_PROPERTY::ROCHE_LOBE_RADIUS_1,
    BINARY_PROPERTY::ROCHE_LOBE_RADIUS_2,
    STAR_1_PROPERTY::MASS,
    STAR_2_PROPERTY::MASS,
    STAR_1_PROPERTY::STELLAR_TYPE,
    STAR_2_PROPERTY::STELLAR_TYPE,
    STAR_1_PROPERTY::RADIUS,
    STAR_2_PROPERTY::RADIUS
};

The default record specification can be modified at runtime via a logfile record specifications file (program option --logfile-definitions). See Standard log file record specification for details.

Note that the BSE SwitchLog file has the following columns automatically appended to each record:

  • The constituent star switching stellar type: 1 = Primary, 2 = Secondary.

  • The stellar type from which the star is switching.

  • The stellar type to which the star is switching.


STAR_SWITCHING

Data type:

INT

COMPAS variable:

derived from BaseBinaryStar::m_Star1/m_Star2

Description:

The constituent star switching stellar type, where 1 = Primary, and 2 = Secondary.

Header String:

"STAR_SWITCHING"

SWITCHING_FROM

Data type:

INT

COMPAS variable:

derived from BaseStar::m_StellarType

Description:

The stellar type of the constituent star immediately prior to the switch.

Header String:

"SWITCHING_FROM"

SWITCHING_TO

Data type:

INT

COMPAS variable:

Not applicable

Description:

The stellar type to which the constituent star will switch (i.e. the stellar type immediately following the switch).

Header String:

"SWITCHING_TO"

IS_MERGER

Data type:

BOOL

COMPAS variable:

Not applicable

Description:

Flag to indicate if the switchlog record records a merger (rather than a simple switch)

Header String:

"IS_MERGER"

These columns will always be automatically appended to each BSE Switch Log record: they cannot be removed via the log file record specifications file.