()
| 36 | |
| 37 | |
| 38 | def main(): |
| 39 | args = parse_args(); |
| 40 | mesh = pymesh.load_mesh(args.input_mesh, drop_zero_dim=True); |
| 41 | metric = compute_metric(mesh); |
| 42 | mesh = pymesh.refine_triangulation(mesh, metric, engine=args.engine); |
| 43 | pymesh.save_mesh(args.output_mesh, mesh); |
| 44 | |
| 45 | if __name__ == "__main__": |
| 46 | main(); |
no test coverage detected