[CIG-SEISMO] specfem2d: snapshots of domain subset

Dimitri Komatitsch komatitsch at lma.cnrs-mrs.fr
Wed Oct 11 04:12:15 PDT 2017


Hi Phil,

It is not implemented, but in src/specfem2D/prepare_color_image.F90 if 
you replace

   ! horizontal min and max coordinates of the image
   xmin_color_image_loc = minval(coord(1,:))
   xmax_color_image_loc = maxval(coord(1,:))

   ! vertical min and max coordinates of the image, slightly increase it 
to go beyond maximum topography
   zmin_color_image_loc = minval(coord(2,:))
   zmax_color_image_loc = maxval(coord(2,:))

with the min and max that you want it will probably work (please let us 
know).

Thanks,
Dimitri.

On 10/11/2017 10:27 AM, Phil Cummins wrote:
> Hi,
> 
> I'm using spefem2d to compute seismic waves n a sedimentary basin.
> Does anyone know how I can output snapshots of a subset of the 
> computational domain only, not the whole thing? I want to view the 
> seismic waves in a shallow basin that is barely visible in a snapshot of 
> the whole computational domain. I.e., I want to zoom in on the basin. 
> Many thanks!
> 

-- 
Dimitri Komatitsch, CNRS Research Director (DR CNRS)
Laboratory of Mechanics and Acoustics, Marseille, France
http://komatitsch.free.fr


More information about the CIG-SEISMO mailing list