tests.models.base_bag

Bag model tests

Classes

class tests.models.base_bag.BagBaseCase

Bases: ModelBaseCase, ABC

Test that a model corresponds to the bag model

PARAMS = {'V_s': 1.3, 'a_b': 1.1, 'a_s': 1.2}
PARAMS_FULL = {'V_s': 1.3, 'a_b': 1.1, 'a_s': 1.2, 'csb2': 0.3333333333333333, 'css2': 0.3333333333333333, 'name': 'bag'}
SAVE_NEW_DATA: bool = False

This test should use the bag model reference data instead of creating its own

test_alphas_same()

“The two definitions of the transition strength coincide only in the case of detonations within the bag model.”

See :notes:` ` p. 40

test_cs2_like_bag()

Test that cs2 = 1/3

test_theta_constant()

The theta of the bag model is a constant