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

Function fields_dump

tests/dump_load.cpp:106–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104}
105
106std::string fields_dump(fields *f, const std::string &filename_prefix,
107 const std::string &output_name) {
108 std::string filename = filename_prefix + "-fields-" + output_name;
109 f->dump(filename.c_str());
110 master_printf("Dumping fields: %s\n", filename.c_str());
111 return filename;
112}
113
114void fields_load(fields *f, const std::string &filename) {
115 master_printf("Loading fields: %s\n", filename.c_str());

Callers 2

test_metalFunction · 0.85
test_periodicFunction · 0.85

Calls 2

master_printfFunction · 0.85
dumpMethod · 0.45

Tested by 2

test_metalFunction · 0.68
test_periodicFunction · 0.68