From 4c4a8aa102bd38a7b568d1e482b28f41ceaa4ba3 Mon Sep 17 00:00:00 2001 From: xywei Date: Fri, 31 Jul 2020 10:37:28 -0500 Subject: [PATCH] Fix typos in examples --- examples/volume_potential_2d.py | 4 ++-- experiments/sep.py | 4 ++-- experiments/volume_potential_2d_derivatives.py | 12 ++++++------ 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/examples/volume_potential_2d.py b/examples/volume_potential_2d.py index d549faf..383951f 100644 --- a/examples/volume_potential_2d.py +++ b/examples/volume_potential_2d.py @@ -238,7 +238,7 @@ def main(): source_box_level=lev, compute_method="DrosteSum", queue=queue, - n_brick_quad_poitns=100, + n_brick_quad_points=100, adaptive_level=False, use_symmetry=True, alpha=0.1, @@ -256,7 +256,7 @@ def main(): force_recompute=False, compute_method="DrosteSum", queue=queue, - n_brick_quad_poitns=100, + n_brick_quad_points=100, adaptive_level=False, use_symmetry=True, alpha=0.1, diff --git a/experiments/sep.py b/experiments/sep.py index 730e24c..5cc0c11 100644 --- a/experiments/sep.py +++ b/experiments/sep.py @@ -243,7 +243,7 @@ def main(): source_box_level=l, compute_method="DrosteSum", queue=queue, - n_brick_quad_poitns=100, + n_brick_quad_points=100, adaptive_level=False, use_symmetry=True, alpha=0.1, @@ -261,7 +261,7 @@ def main(): force_recompute=False, compute_method="DrosteSum", queue=queue, - n_brick_quad_poitns=100, + n_brick_quad_points=100, adaptive_level=False, use_symmetry=True, alpha=0.1, diff --git a/experiments/volume_potential_2d_derivatives.py b/experiments/volume_potential_2d_derivatives.py index 548836c..34d89c2 100644 --- a/experiments/volume_potential_2d_derivatives.py +++ b/experiments/volume_potential_2d_derivatives.py @@ -267,7 +267,7 @@ if use_multilevel_table: print("Getting table at level", l) tb, _ = tm.get_table(dim, "Laplace", q_order, source_box_level=l, compute_method="DrosteSum", - queue=queue, n_brick_quad_poitns=100, + queue=queue, n_brick_quad_points=100, adaptive_level=False, use_symmetry=True, alpha=0.1, nlevels=n_brick_levels) nftable_list.append(tb) @@ -276,7 +276,7 @@ if use_multilevel_table: print("Getting table Dx at level", l) tb, _ = tm.get_table(dim, "Laplace-Dx", q_order, source_box_level=l, compute_method="DrosteSum", - queue=queue, n_brick_quad_poitns=100, + queue=queue, n_brick_quad_points=100, adaptive_level=False, use_symmetry=False, alpha=0.1, nlevels=n_brick_levels) nftable_dx_list.append(tb) @@ -285,7 +285,7 @@ if use_multilevel_table: print("Getting table Dy at level", l) tb, _ = tm.get_table(dim, "Laplace-Dy", q_order, source_box_level=l, compute_method="DrosteSum", - queue=queue, n_brick_quad_poitns=100, + queue=queue, n_brick_quad_points=100, adaptive_level=False, use_symmetry=False, alpha=0.1, nlevels=n_brick_levels) nftable_dy_list.append(tb) @@ -302,7 +302,7 @@ else: print("Getting table") tb, _ = tm.get_table(dim, "Laplace", q_order, compute_method="DrosteSum", - queue=queue, n_brick_quad_poitns=100, + queue=queue, n_brick_quad_points=100, adaptive_level=False, use_symmetry=True, alpha=0.1, nlevels=n_brick_levels) @@ -310,7 +310,7 @@ else: print("Getting table Dx") tb_dx, _ = tm.get_table(dim, "Laplace-Dx", q_order, compute_method="DrosteSum", - queue=queue, n_brick_quad_poitns=100, + queue=queue, n_brick_quad_points=100, adaptive_level=False, use_symmetry=False, alpha=0.1, nlevels=n_brick_levels) @@ -318,7 +318,7 @@ else: print("Getting table Dy") tb_dy, _ = tm.get_table(dim, "Laplace-Dy", q_order, compute_method="DrosteSum", - queue=queue, n_brick_quad_poitns=100, + queue=queue, n_brick_quad_points=100, adaptive_level=False, use_symmetry=False, alpha=0.1, nlevels=n_brick_levels) -- GitLab