你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-07 15:10:13 +08:00
Conversion module for old input files should now do 2D and 3D models.
这个提交包含在:
@@ -20,7 +20,7 @@ No, but it can be beneficial to know a little Python. We have made it easier to
|
||||
Yes, MATLAB has built-in functions to read HDF5 files (http://uk.mathworks.com/help/matlab/high-level-functions.html).
|
||||
|
||||
**But converting my input file from the old version of gprMax will be really painful**
|
||||
Hopefully not! We have provided a Python module to help you convert input files of 3D models from the old version of gprMax to use syntax introduced in version 3. Please note this module does not currently convert old 2D model input files.
|
||||
Hopefully not! We have provided a Python module to help you convert input files from the old version of gprMax to use syntax introduced in version 3.
|
||||
|
||||
**How do I choose a spatial resolution for my simulation?**
|
||||
Spatial resolution should be chosen to mitigate numerical dispersion and to adequately resolve geometry in your simulation. :ref:`A 2D example of modelling a metal cylinder in a dielectric <example-2D-Ascan>` provides guidance on how to determine spatial resolution.
|
||||
|
@@ -81,7 +81,7 @@ There are commands from previous versions of gprMax that are planned for this ve
|
||||
Migrating old input files
|
||||
-------------------------
|
||||
|
||||
gprMax includes a Python module (in the ``tools`` package) to help you migrate old input files, written for previous versions of gprMax, to the syntax of the new commands. The module has been written for 3D models and will not (currently) work with old input files of 2D models. The module will do its best to convert the old file and write a new one, however, you should still carefully check the new file to make sure it is what you intended! Usage (from the top-level gprMax directory) is: ``python -m tools.inputfile_old2new my_old_inputfile.in``.
|
||||
gprMax includes a Python module (in the ``tools`` package) to help you migrate old input files, written for previous versions of gprMax, to the syntax of the new commands. The module will do its best to convert the old file and write a new one, however, you should still carefully check the new file to make sure it is what you intended! Usage (from the top-level gprMax directory) is: ``python -m tools.inputfile_old2new my_old_inputfile.in``.
|
||||
|
||||
|
||||
Key features
|
||||
|
在新工单中引用
屏蔽一个用户