code: def _replace_pressure(arguments, dtype_in_vert):
      
      arguments_out = []
      for arg in arguments:
          if isinstance(arg, Var):
              if arg.name == 'p':
                  arguments_out.append(_P_VARS[dtype_in_vert])
              elif arg.name == 'dp':
                  arguments_out.append(_DP_VARS[dtype_in_vert])
              else:
                  arguments_out.append(arg)
          else:
              arguments_out.append(arg)
      return arguments_out
docs: Replace p and dp Vars with appropriate Var objects specific to
      the dtype_in_vert.