Generic Scenarios in normalized Mode¤
apebench.scenarios.normalized.Linear
¤
Bases: BaseScenario
Source code in apebench/scenarios/normalized/_linear.py
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
|
alphas
class-attribute
instance-attribute
¤
alphas: tuple[float, ...] = (0.0, -0.025, 0.0, 0.0, 0.0)
get_scenario_name
¤
get_scenario_name() -> str
Source code in apebench/scenarios/normalized/_linear.py
26 27 28 29 30 31 |
|
apebench.scenarios.normalized.LinearSimple
¤
Bases: Linear
Source code in apebench/scenarios/normalized/_linear.py
34 35 36 37 38 39 |
|
get_scenario_name
¤
get_scenario_name() -> str
Source code in apebench/scenarios/normalized/_linear.py
26 27 28 29 30 31 |
|
apebench.scenarios.normalized.FirstFour
¤
Bases: Linear
Source code in apebench/scenarios/normalized/_linear.py
93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 |
|
__post_init__
¤
__post_init__()
Source code in apebench/scenarios/normalized/_linear.py
99 100 101 102 103 104 105 106 |
|
get_scenario_name
¤
get_scenario_name() -> str
Source code in apebench/scenarios/normalized/_linear.py
108 109 |
|
apebench.scenarios.normalized.Nonlinear
¤
Bases: BaseScenario
Uses the single channel convection mode to not have channels grow with spatial dimensions.
Source code in apebench/scenarios/normalized/_nonlinear.py
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 |
|
_build_stepper
¤
_build_stepper(alphas, betas)
Source code in apebench/scenarios/normalized/_nonlinear.py
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 |
|
get_ref_stepper
¤
get_ref_stepper()
Source code in apebench/scenarios/normalized/_nonlinear.py
49 50 |
|
get_coarse_stepper
¤
get_coarse_stepper()
Source code in apebench/scenarios/normalized/_nonlinear.py
52 53 54 55 56 |
|
get_scenario_name
¤
get_scenario_name() -> str
Source code in apebench/scenarios/normalized/_nonlinear.py
58 59 |
|
apebench.scenarios.normalized.Convection
¤
Bases: BaseScenario
Source code in apebench/scenarios/normalized/_convection.py
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 |
|
__post_init__
¤
__post_init__()
Source code in apebench/scenarios/normalized/_convection.py
20 21 |
|
_build_stepper
¤
_build_stepper(convection, alphas)
Source code in apebench/scenarios/normalized/_convection.py
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 |
|
get_ref_stepper
¤
get_ref_stepper()
Source code in apebench/scenarios/normalized/_convection.py
47 48 |
|
get_coarse_stepper
¤
get_coarse_stepper() -> ex.BaseStepper
Source code in apebench/scenarios/normalized/_convection.py
50 51 52 53 54 |
|
get_scenario_name
¤
get_scenario_name() -> str
Source code in apebench/scenarios/normalized/_convection.py
56 57 58 59 60 61 |
|