def initialize(self):

        # setup the grid
        my_grid = grid_setup(self.rp, ng=1)

        # create the variables

        # first figure out the boundary conditions -- we allow periodic,
        # Dirichlet, and Neumann.

        xlb_type = self.rp.get_param("mesh.xlboundary")
        xrb_type = self.rp.get_param("mesh.xrboundary")
        ylb_type = self.rp.get_param("mesh.ylboundary")
        yrb_type = self.rp.get_param("mesh.yrboundary")

        bcparam = []
        for bc in [xlb_type, xrb_type, ylb_type, yrb_type]:
            if bc == "periodic": bcparam.append("periodic")
            elif bc == "neumann":  bcparam.append("neumann")
            elif bc == "dirichlet":  bcparam.append("dirichlet")
            else:
                msg.fail("invalid BC")


        bc = patch.BCObject(xlb=bcparam[0], xrb=bcparam[1],
                            ylb=bcparam[2], yrb=bcparam[3])


        my_data = patch.CellCenterData2d(my_grid)
        my_data.register_var("phi", bc)
        my_data.create()

        self.cc_data = my_data

        # now set the initial conditions for the problem
        exec(self.problem_name + '.init_data(self.cc_data, self.rp)')
Send a Sensu event with a special ``ttl``, to let Sensu know that
dataset/ETHPy150Open zingale/pyro2/diffusion/simulation.py/Simulation.initialize--crossover with--dataset/ETHPy150Open Yelp/paasta/paasta_tools/setup_marathon_job.py/send_sensu_bounce_keepalive