-
Notifications
You must be signed in to change notification settings - Fork 4
Parameters
Lorenzo Mentaschi edited this page Oct 24, 2018
·
7 revisions
The algorithm parameters can be set by creating an abOptions object. For example with the instruction
myoptions = abOptions(parameter1=value1, parameter2=value2, ...)
Note that for this command to work, class abOptions needs to be imported with the instruction
from alphaBetaLab.abOptionManager import abOptions
If a parameter is not present in the abOptions object, the default value is used instead.
- computationDirs: to reduce the amount of computation, only a subset of directions (8 by default) are considered. The user can pass customized directions.
- llcrnr, urcrnr: low-left and up-right corners of the sub-domain where α and β should be computed. By default the whole domain is considered.
- minSizeKm: for cells below this length no subscale transparency will be computed. Can be useful with unstructured meshes with a lot of very small cells. By default 0.
- timeStep: this option comes as an alternative to minSizeKm. The time step indicated here is the time step of application of the source term (the global time step in WW3). The parameter minSizeKm is consequently set as the distance traveled in one time step by the fastest spectral component. If timeStep and minSizeKm are both set, timeStep is ignored. By default 0.
- verbose: if active a more detailed output is print on the screen during the execution. True by default.