Skip to content

Commit

Permalink
more removal of Omegas
Browse files Browse the repository at this point in the history
  • Loading branch information
Witt-D committed Aug 16, 2024
1 parent 576580a commit 6042497
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
4 changes: 0 additions & 4 deletions gusto/equations/boussinesq_equations.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,6 @@ class LinearBoussinesqEquations(BoussinesqEquations):

def __init__(self, domain, parameters,
compressible=True,
Omega=None,
space_names=None,
linearisation_map='default',
u_transport_option="vector_invariant_form",
Expand All @@ -239,8 +238,6 @@ def __init__(self, domain, parameters,
the model's physical parameters.
compressible (bool, optional): flag to indicate whether the
equations are compressible. Defaults to True
Omega (:class:`ufl.Expr`, optional): an expression for the planet's
rotation vector. Defaults to None.
space_names (dict, optional): a dictionary of strings for names of
the function spaces to use for the spatial discretisation. The
keys are the names of the prognostic variables. Defaults to None
Expand Down Expand Up @@ -276,7 +273,6 @@ def __init__(self, domain, parameters,
super().__init__(domain=domain,
parameters=parameters,
compressible=compressible,
Omega=Omega,
space_names=space_names,
linearisation_map=linearisation_map,
u_transport_option=u_transport_option,
Expand Down
6 changes: 2 additions & 4 deletions gusto/equations/compressible_euler_equations.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ class HydrostaticCompressibleEulerEquations(CompressibleEulerEquations):
equations.
"""

def __init__(self, domain, parameters, Omega=None, sponge=None,
def __init__(self, domain, parameters, sponge=None,
extra_terms=None, space_names=None, linearisation_map='default',
u_transport_option="vector_invariant_form",
diffusion_options=None,
Expand All @@ -291,8 +291,6 @@ def __init__(self, domain, parameters, Omega=None, sponge=None,
mesh and the compatible function spaces.
parameters (:class:`Configuration`, optional): an object containing
the model's physical parameters.
Omega (:class:`ufl.Expr`, optional): an expression for the planet's
rotation vector. Defaults to None.
sponge (:class:`ufl.Expr`, optional): an expression for a sponge
layer. Defaults to None.
extra_terms (:class:`ufl.Expr`, optional): any extra terms to be
Expand Down Expand Up @@ -325,7 +323,7 @@ def __init__(self, domain, parameters, Omega=None, sponge=None,
NotImplementedError: only mixing ratio tracers are implemented.
"""

super().__init__(domain, parameters, Omega=Omega, sponge=sponge,
super().__init__(domain, parameters, sponge=sponge,
extra_terms=extra_terms, space_names=space_names,
linearisation_map=linearisation_map,
u_transport_option=u_transport_option,
Expand Down

0 comments on commit 6042497

Please sign in to comment.