你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-07 04:56:51 +08:00
Updated information on Paraview macro and viewing PML and source/receiver locations.
这个提交包含在:
@@ -7,18 +7,18 @@ The geometry and snapshot files use the open source Visualization ToolKit (VTK)
|
||||
Geometry files
|
||||
==============
|
||||
|
||||
The ``#geometry_view:`` command produces either ImageData (.vti) for a per-cell geometry view, or PolygonalData (.vtp) for a per-cell-edge geometry view. The following are steps to get started with viewing geometry files in Paraview:
|
||||
The ``#geometry_view:`` command produces either ImageData (.vti) for a per-cell geometry view, or PolygonalData (.vtp) for a per-cell-edge geometry view. The per-cell geometry views also show the location of the PML regions and any sources and receivers. The following are steps to get started with viewing geometry files in Paraview:
|
||||
|
||||
.. _pv_toolbar:
|
||||
|
||||
.. figure:: images/paraview_toolbar.png
|
||||
|
||||
Paraview toolbar showing ``gprMax_materials`` macro button.
|
||||
Paraview toolbar showing ``gprMax_info`` macro button.
|
||||
|
||||
#. **Open the file** either from the File menu or toolbar.
|
||||
#. Click the **Apply** button in the Properties panel. You should see an outline of the volume of the geometry view.
|
||||
#. Install the ``gprMax_materials.py`` Python script, that comes with the gprMax source code (in the ``tools/Paraview macros`` directory), as a macro in Paraview. This script makes it quick and easy to view the different materials in a geometry file. To add the script as a macro in Paraview choose the file from the Macros->Add new macro menu. It will then appear as a shortcut button in the toolbar as shown in :numref:`pv_toolbar`. You only need to do this once, the macro will be kept in Paraview for future use.
|
||||
#. Click the ``gprMax_materials`` shortcut button. All the materials in the model should appear in the Pipeline Browser as Threshold items as shown in :numref:`pv_pipeline`.
|
||||
#. Install the ``gprMax_info.py`` Python script, that comes with the gprMax source code (in the ``tools/Paraview macros`` directory), as a macro in Paraview. This script makes it quick and easy to view the different materials in a geometry file. To add the script as a macro in Paraview choose the file from the Macros->Add new macro menu. It will then appear as a shortcut button in the toolbar as shown in :numref:`pv_toolbar`. You only need to do this once, the macro will be kept in Paraview for future use.
|
||||
#. Click the ``gprMax_info`` shortcut button. All the materials in the model should appear in the Pipeline Browser as Threshold items as shown in :numref:`pv_pipeline`.
|
||||
|
||||
.. _pv_pipeline:
|
||||
|
||||
|
二进制文件未显示。
之前 宽度: | 高度: | 大小: 81 KiB 之后 宽度: | 高度: | 大小: 60 KiB |
在新工单中引用
屏蔽一个用户