Skip to content

Commit

Permalink
ex35p in progress....
Browse files Browse the repository at this point in the history
  • Loading branch information
sshiraiwa committed Jan 7, 2024
1 parent 8135e19 commit 04ba3a6
Show file tree
Hide file tree
Showing 2 changed files with 466 additions and 6 deletions.
4 changes: 2 additions & 2 deletions examples/ex34p.py
Original file line number Diff line number Diff line change
Expand Up @@ -457,15 +457,15 @@ def ComputeCurrentDensityOnSubMesh(order, phi0_attr, phi1_attr, jn_zero_attr,
default="cpu", type=str,
help="Device configuration string, see Device::Configure().")
parser.add_argument("-no-vis", "--no-visualization",
action='store_false', default=True,
action='store_true', default=False,
help='Enable GLVis visualization')

args = parser.parse_args()
if myid == 0:
parser.print_options(args)

globals()["pa"] = args.partial_assembly
globals()["visualization"] = args.no_visualization
globals()["visualization"] = not args.no_visualization

run(ser_ref_levels=args.refine_serial,
par_ref_levels=args.refine_parallel,
Expand Down
Loading

0 comments on commit 04ba3a6

Please sign in to comment.