Tweaked names of input

这个提交包含在:
craig-warren
2023-03-09 16:34:15 -07:00
父节点 da4099c21c
当前提交 f3cac45588
共有 3 个文件被更改,包括 8 次插入8 次删除

查看文件

@@ -1,11 +1,11 @@
.. _api:
*******************
API
*******************
****************
Input file - API
****************
Introduction
==================
============
In additional to input file command interface gprMax can also be run using its API. The usage of the API differs from the use of the Python blocks syntax as follows. In the API gprMax functionality is called directly from any Python file via the gprMax module. Using the Python blocks syntax the Python code is executed within an embedded interpreter. The API has the advantage that it can be included within any Python file and can be included within any Python script.
There are several advantages to using API. Firstly, users can take advantage of the Python language. For instance, the structural elements of Python can be utilised more easily. gprMax objects can be used directly within functions, classes, modules and packages. In this way collections of components can be defined, reused and modified. For example, multiple SMA type connectors can be imported as a module and combined with an antenna from another module.