Object within a class itself and function invocations
Okay, so I’m performing cellular updates on a grid representing an ocean. I have a method called update_grid() that needs to create a copy of the current Ocean object and use this.grid’s data and update temp_grid cells so that we avoid data dependency in different time steps: