MCPcopy Create free account
hub / github.com/NanoComp/meep / dump_chunk_layout

Method dump_chunk_layout

python/simulation.py:2366–2374  ·  view source on GitHub ↗

Dumps the chunk layout to file `fname`.

(self, fname: str = None)

Source from the content-addressed store, hash-verified

2364 )
2365
2366 def dump_chunk_layout(self, fname: str = None):
2367 """
2368 Dumps the chunk layout to file `fname`.
2369 """
2370 if self.structure is None:
2371 raise ValueError(
2372 "Structure must be initialized before calling dump_chunk_layout"
2373 )
2374 self.structure.dump_chunk_layout(fname)
2375
2376 def load_chunk_layout(self, br, source):
2377 if self.structure is None:

Callers 2

Calls

no outgoing calls

Tested by 2