MainTendency#
- class fridom.nonhydro.modules.main_tendency.MainTendency[source]#
Bases:
ModuleContainerMain Tendency module for the nonhydrostatic model.
Methods
__init__()add_module(module)Add a module to the end of the module list.
disable()Disable the module.
enable()Enable the module.
get(name)Get a module by name.
is_enabled()Whether the module is enabled or not.
reset()Reset all modules.
setup(mset[, setup_mode])Set all modules up.
start()Start all modules.
stop()Stop all modules.
update(mz)Update all modules.
Attributes
The advection module (nonlinear + linear by backgound state).
diff_moduleThe differentiation module to be used by this module.
gridThe grid of the model settings.
infoReturn a dictionary with information about the time stepper.
interp_moduleThe interpolation module to be used by this module.
is_setupWhether the module is set up.
The core linear momentum tendency module.
mpi_availableWhether all modules are available in MPI mode.
msetThe model settings.
The pressure gradient tendency module.
The pressure solver module.
required_haloThe maximum required halo points of all modules.
The divergence of the momentum tendency, for the pressure solver.
- name = 'Main Tendencies: Nonhydrostatic Model'#
- add_module(module: Module) None[source]#
Add a module to the end of the module list.
Parameters#
- moduleModule
The module to be added to the list.
- property linear_tendency: LinearTendency#
The core linear momentum tendency module.
- property advection: AdvectionBase#
The advection module (nonlinear + linear by backgound state).
- property tendency_divergence: TendencyDivergence#
The divergence of the momentum tendency, for the pressure solver.
- property pressure_gradient_tendency: PressureGradientTendency#
The pressure gradient tendency module.