Skip to content

Commit 9121a5a

Browse files
update
1 parent a8faa59 commit 9121a5a

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

tests/test_ddm_solver.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -159,18 +159,18 @@ def test_ddm_solver(
159159
) / np.linalg.norm(f)
160160
solution_error = np.linalg.norm(x[:, 1] - x_ref) / np.linalg.norm(x_ref)
161161
# error = np.linalg.norm(distributed_operator * x - f)
162-
if mpi4py.MPI.COMM_WORLD.rank == 0:
163-
print(
164-
iterative_solver,
165-
hpddm_schwarz_method,
166-
hpddm_schwarz_coarse_correction,
167-
epsilon,
168-
solver.get_information("Nb_it"),
169-
# error,
170-
# np.linalg.norm(f),
171-
# error / np.linalg.norm(f),
172-
# hpddm_args,
173-
)
162+
# if mpi4py.MPI.COMM_WORLD.rank == 0:
163+
# print(
164+
# iterative_solver,
165+
# hpddm_schwarz_method,
166+
# hpddm_schwarz_coarse_correction,
167+
# epsilon,
168+
# solver.get_information("Nb_it"),
169+
# # error,
170+
# # np.linalg.norm(f),
171+
# # error / np.linalg.norm(f),
172+
# # hpddm_args,
173+
# )
174174
# print(
175175
# np.linalg.norm(distributed_operator * x - f),
176176
# np.linalg.norm(f),

tests/test_distributed_operator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def test_distributed_operator(
4444
default_distributed_operator_holder = default_distributed_operator
4545
distributed_operator = default_distributed_operator_holder.distributed_operator
4646
local_hmatrix = default_distributed_operator_holder.hmatrix
47-
print(local_hmatrix.get_information())
47+
print(local_hmatrix.get_local_information())
4848
else:
4949
distributed_operator = custom_distributed_operator
5050

0 commit comments

Comments
 (0)