Skip to content

Commit

Permalink
make sensor explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
djps committed Oct 2, 2024
1 parent 18f2346 commit dd96f7f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_pstd_elastic_3d_check_mpml_stability.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,12 @@ def test_pstd_elastic_3d_check_mpml_stability():
fs = 1.0 / kgrid.dt
source.sxx = tone_burst(sample_freq=fs, signal_freq=1e6, num_cycles=3)

# print(source.sxx)

source.syy = deepcopy(source.sxx)
source.szz = deepcopy(source.sxx)

# define sensor
sensor = kSensor()
sensor.mask = np.ones((Nx, Ny, Nz), dtype=bool)
sensor.record = ['u_final']

# define input arguments
Expand Down

0 comments on commit dd96f7f

Please sign in to comment.