We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32b3653 commit 0d61534Copy full SHA for 0d61534
1 file changed
pyro/pyro_sim.py
@@ -247,6 +247,16 @@ def get_var(self, v):
247
248
return self.sim.cc_data.get_var(v)
249
250
+ def get_grid(self):
251
+ """
252
+ Return the underlying grid object for the simulation
253
254
+
255
+ if not self.is_initialized:
256
+ msg.fail("ERROR: problem has not been initialized")
257
258
+ return self.sim.cc_data.grid
259
260
261
class PyroBenchmark(Pyro):
262
"""
0 commit comments