MCPcopy Create free account
hub / github.com/AMReX-Astro/Castro / main

Function main

Util/scripts/write_probdata.py:254–265  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

252
253
254def main():
255
256 parser = argparse.ArgumentParser()
257 parser.add_argument('-p', type=str, help='problem parameter file names (space separated in quotes)')
258 parser.add_argument('--cxx_prefix', type=str, default="prob",
259 help="a name to use in the C++ file names")
260
261 args = parser.parse_args()
262
263 prob_params = args.p.split()
264
265 write_probin(prob_params, args.cxx_prefix)
266
267if __name__ == "__main__":
268 main()

Callers 1

write_probdata.pyFile · 0.70

Calls 1

write_probinFunction · 0.85

Tested by

no test coverage detected