rename SimResult classes to TDResult and FDResult
This commit is contained in:
parent
6f2faca7dc
commit
caa6f995c7
@ -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,
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user