docstr: Creates an empty OnGrid field (zero field). Equivalent to
  `OnGrid(jnp.zeros(domain.N), domain)`.
docstr_tok: ["Creates","an","empty","OnGrid","field","(","zero","field",")",".","Equivalent","to","`","OnGrid","(","jnp.zeros","(","domain.N",")",",","domain",")","`","."]
code: def empty(cls, domain, dims=1):
      r"""Creates an empty OnGrid field (zero field). Equivalent to
      `OnGrid(jnp.zeros(domain.N), domain)`.
      """
      _N = list(domain.N) + [dims]
      N = tuple(_N)
      return cls(jnp.zeros(N), domain)
  
imports: import warnings
  from typing import Callable, TypeVar
  import equinox
  from equinox import tree_equal
  from jax import eval_shape
  from jax import numpy
  from jax import vmap
  from jaxtyping import PyTree
  from jaxdf.core import Field
  from jaxdf.geometry import Domain
label_desc: Use image node_id 5 for calling the OnGrid obj's underlying member method code with example usage: obj.empty(cls, domain, dims) and returns: cls