![]() |
This module contains subroutines to compute and write snapshots of the free surface (either in GMT or VTK xml formats).
Public Member Functions | |
subroutine, public | init_snapshot_surface () |
This subroutine generates a structured grid of receivers on the free surface. More... | |
subroutine, public | write_snapshot_surface () |
This subroutine computes and writes \(x,y,z\)-displacements, velocities and accelerations at receivers used for free surface snapshots. More... | |
subroutine, public | write_collection_vtk_surf () |
This subroutine selects which ParaView collection files should be written (displacement, velocity and/or acceleration collections) depending on value of variables mod_global_variables::lg_snapshot_displacement, mod_global_variables::lg_snapshot_velocity and mod_global_variables::lg_snapshot_acceleration. | |
subroutine, public | write_peak_ground_motion () |
This subroutine writes peak ground motions files in GMT or VTK formats. | |
Private Member Functions | |
subroutine, private | write_snapshot_gmt_nat_fmt (fname, val) |
This subroutine writes structured grid snapshot in binary native GMT format. More... | |
subroutine, private | write_header_gmt_nat_fmt (desc, nx, ny, x_min, x_max, y_min, y_max, z_min, z_max, x_inc, y_inc) |
This subroutine writes header of binary native GMT files. More... | |
subroutine, private | write_snapshot_vtk (fname, varname, valx, valy, valz) |
This subroutine writes structured grid snapshot in binary VTK xml format. More... | |
subroutine, private | collection_vtk_surface (varname) |
This subroutine write Paraview collection file *.pvd of VTK xml snapshot files *.vts. More... | |
Definition at line 126 of file module_snapshot_surface.f90.
|
private |
varname | : variable name |
Definition at line 1320 of file module_snapshot_surface.f90.
Referenced by write_collection_vtk_surf().
subroutine, public mod_snapshot_surface::init_snapshot_surface | ( | ) |
Definition at line 150 of file module_snapshot_surface.f90.
References mod_receiver::compute_info_quad_receiver(), and mod_receiver::is_inside_quad().
Referenced by efispec3d().
|
private |
desc | : mpi_unit of the file |
nx | : number of receivers along \(x\)-direction |
ny | : number of receivers along \(y\)-direction |
x_min | : minimum \(x\)-coordinate |
x_max | : maximum \(x\)-coordinate |
y_min | : minimum \(y\)-coordinate |
y_max | : maximum \(y\)-coordinate |
z_min | : minimum \(z\)-coordinate |
z_max | : maximum \(z\)-coordinate |
x_inc | : \(x\)-increment between receivers |
y_inc | : \(y\)-increment between receivers |
Definition at line 905 of file module_snapshot_surface.f90.
Referenced by write_snapshot_gmt_nat_fmt().
|
private |
fname | : file name of the snapshot |
val | : values to be written |
Definition at line 769 of file module_snapshot_surface.f90.
References write_header_gmt_nat_fmt().
Referenced by write_peak_ground_motion(), and write_snapshot_surface().
subroutine, public mod_snapshot_surface::write_snapshot_surface | ( | ) |
Definition at line 579 of file module_snapshot_surface.f90.
References mod_gll_value::get_quad_gll_value(), mod_lagrange::quad_lagrange_interp(), write_snapshot_gmt_nat_fmt(), and write_snapshot_vtk().
Referenced by efispec3d().
|
private |
fname | : file name of the snapshot |
varname | : variable name |
valx | : \(x\)-direction values |
valy | : \(y\)-direction values |
valz | : \(z\)-direction values |
Definition at line 1024 of file module_snapshot_surface.f90.
References mod_vtk_io::vtk_dat_xml(), mod_vtk_io::vtk_end_xml(), and mod_vtk_io::vtk_ini_xml().
Referenced by write_peak_ground_motion(), and write_snapshot_surface().