MCPcopy Create free account
hub / github.com/PyMesh/PyMesh / parse_args

Function parse_args

scripts/fem_check.py:14–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12import math
13
14def parse_args():
15 parser = argparse.ArgumentParser(description=__doc__);
16 parser.add_argument("--charge-distribution", "-c", choices=["sphere", "center"],
17 default="sphere");
18 parser.add_argument("--output-kernels", action="store_true");
19 parser.add_argument("input_mesh");
20 parser.add_argument("output_mesh");
21 return parser.parse_args();
22
23def test_function(charges):
24 """

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected