From caa6f995c79d8959f67843826b73b3313f198f26 Mon Sep 17 00:00:00 2001 From: Jan Petykiewicz Date: Fri, 22 Nov 2019 00:56:35 -0800 Subject: [PATCH] rename SimResult classes to TDResult and FDResult --- meanas/test/test_fdfd.py | 4 ++-- meanas/test/test_fdtd.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/meanas/test/test_fdfd.py b/meanas/test/test_fdfd.py index 3347049..ea6f417 100644 --- a/meanas/test/test_fdfd.py +++ b/meanas/test/test_fdfd.py @@ -85,7 +85,7 @@ def j_distribution(request, shape, j_mag): @dataclasses.dataclass() -class SimResult: +class FDResult: shape: Tuple[int] dxes: List[List[numpy.ndarray]] epsilon: numpy.ndarray @@ -108,7 +108,7 @@ def sim(request, shape, epsilon, dxes, j_distribution, omega, pec, pmc): matrix_solver_opts={'atol': 1e-15, 'tol': 1e-11}) e = unvec(e_vec, shape[1:]) - sim = SimResult( + sim = FDResult( shape=shape, dxes=dxes, epsilon=epsilon, diff --git a/meanas/test/test_fdtd.py b/meanas/test/test_fdtd.py index 533064a..95d6817 100644 --- a/meanas/test/test_fdtd.py +++ b/meanas/test/test_fdtd.py @@ -146,7 +146,7 @@ def dt(request): @dataclasses.dataclass() -class SimResult: +class TDResult: shape: Tuple[int] dt: float dxes: List[List[numpy.ndarray]] @@ -182,7 +182,7 @@ def sim(request, shape, epsilon, dxes, dt, j_distribution, j_steps): if dt != 0.3: pytest.skip('Skipping dt != 0.3 because test is 3D (for speed)') - sim = SimResult( + sim = TDResult( shape=shape, dt=dt, dxes=dxes,