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

Method _create_h5_dataset

python/solver.py:759–760  ·  view source on GitHub ↗
(self, h5file, key)

Source from the content-addressed store, hash-verified

757 h5file["lattice vectors"] = lattice
758
759 def _create_h5_dataset(self, h5file, key):
760 h5file[key] = self.get_curfield_as_array(False)
761
762 def _create_fname(self, fname, prefix, parity_suffix):
763 parity_str = self.mode_solver.get_parity_string()

Callers 1

_output_scalar_fieldMethod · 0.95

Calls 1

get_curfield_as_arrayMethod · 0.95

Tested by

no test coverage detected