diff --git a/gusto/equations/boussinesq_equations.py b/gusto/equations/boussinesq_equations.py index dc6977bc6..0711259e1 100644 --- a/gusto/equations/boussinesq_equations.py +++ b/gusto/equations/boussinesq_equations.py @@ -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", @@ -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 @@ -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, diff --git a/gusto/equations/compressible_euler_equations.py b/gusto/equations/compressible_euler_equations.py index 5ba2874ba..73b80b7d6 100644 --- a/gusto/equations/compressible_euler_equations.py +++ b/gusto/equations/compressible_euler_equations.py @@ -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, @@ -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 @@ -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,