@staticmethod
def sample(value, domain, batch_size=None, name=None):
    """
        Sampmles the value to a staggered grid.

        :param value: Either constant, staggered tensor, or Field
        :param domain: the domain defines resolution and physical size of the grid
        :type domain: Domain
        :param batch_size: batch size
        :param name: field name
        :return: Sampled values in staggered grid form matching domain resolution
        :rtype: StaggeredGrid
        """
    return domain.staggered_grid(value, batch_size=batch_size, name=name)
