code: def test_create_field(N, out_dims, jitting):
      domain = Domain(N, dx=[1.0] * len(N))
  
      def get_fun(params, x):
          return jnp.dot(params, x)
  
      keys = random.split(PRNGKEY, 2)
      params = random.uniform(keys[0], (out_dims, len(N)))
  
      def get(params, key, x):
          field = Continuous(params, domain, get_fun)
          return field(x)
  
      if jitting:
          get = jit(get)
  
      field_value = get(params, keys[1], jnp.ones(len(N)))
      if jitting:
          field_value = get(params, keys[1], jnp.ones(len(N)))
  
imports: import numpy
  import pytest
  from jax import jit
  from jax import numpy
  from jax import random
  from jaxdf.discretization import Continuous
  from jaxdf.geometry import Domain
label_desc: Use image node_id 2 for calling a global function with example usage: test_create_field(N, out_dims, jitting) and returns: jnp, field