Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
d12fefd
REFAC: refactor whole codes
Dengda98 Apr 25, 2025
d49fb08
REFAC: continue refactor whole codes
Dengda98 Apr 26, 2025
d5b3210
REFAC: continue refactor whole codes
Dengda98 Apr 26, 2025
142dd9c
REFAC: continue refactor whole codes, update statsfile format and ker…
Dengda98 Apr 26, 2025
2230cdc
DOC: update function calling in examples
Dengda98 Apr 26, 2025
4634373
DOC: use `EX` instead `EXP` to represent Explosion
Dengda98 Apr 27, 2025
0826396
DOC: set `gettext_uuid=False`
Dengda98 Apr 27, 2025
0204dcb
DOC: use `EX` instead `EXP` to represent Explosion
Dengda98 Apr 27, 2025
4e26315
DOC: fix typos
Dengda98 Apr 27, 2025
3ab2fd8
REFAC: include `<tgmath.h>` instead `<math.h>`
Dengda98 Apr 30, 2025
5338bb5
FEAT: add `stats` argument and `INVERSE_FAILURE/SUCCESS` macro to avo…
Dengda98 Apr 30, 2025
d2f644a
FIX: change division form, use `a/b` instead `a*(1.0/b)`, sacrifice p…
Dengda98 Apr 30, 2025
4b6d846
FIX: use `j` instead `J` in complex output format
Dengda98 May 1, 2025
a5791ee
REFAC: use macro from `<tgmath.h>`
Dengda98 May 4, 2025
5d3edcd
REFAC: remove unused lines
Dengda98 May 4, 2025
741e29a
FIX: assign `DS` components to zero when source and receiver are on s…
Dengda98 May 5, 2025
d6658ba
REFAC: Refactoring PyModel1D initialization in Python, using temporar…
Dengda98 May 5, 2025
b0687f1
FEAT: add `dep` in `LAYER` struct
Dengda98 May 5, 2025
2dbb884
FIX: freqband index
Dengda98 May 5, 2025
dbe1748
FEAT: add `2/3` constant macro
Dengda98 May 5, 2025
df98d06
REFAC: use `fabs` in `<tgmath.h>`
Dengda98 May 5, 2025
be51e4f
FEAT: first commit for Self-Adaptive Filon's Integration Method
Dengda98 May 5, 2025
978864c
FIX: extract c_pymod in python
Dengda98 May 5, 2025
ec3bfd0
TEST: add far_field example using SAFIM
Dengda98 May 5, 2025
3a857e2
CI: add far field test
Dengda98 May 5, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,13 @@ jobs:
./run1.sh
python run2.py

- name: Test far field using SAFIM
working-directory: ${{ env.EXAMPLE_COPY_PATH }}/far_field
run: |
chmod +x *.sh
./run.sh
python run.py

- name: Test strain stress (dynamic)
working-directory: ${{ env.EXAMPLE_COPY_PATH }}/compute_strain_stress/dynamic
run: |
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/testbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,13 @@ jobs:
./run_grt.sh
python run_pygrt.py

- name: Test far field using SAFIM
working-directory: ${{ env.EXAMPLE_COPY_PATH }}/far_field
run: |
chmod +x *.sh
./run.sh
python run.py

# - name: Test 2 site_effect
# working-directory: ${{ env.EXAMPLE_COPY_PATH }}/site_effect
# run: |
Expand Down
6 changes: 3 additions & 3 deletions docs/locales/en/LC_MESSAGES/API/C_extension/common.po
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PyGRT 0.6.1.dev1+g4641a40.d20250422\n"
"Project-Id-Version: PyGRT 0.7.1.dev5+g2230cdc.d20250427\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-04-22 15:39+0800\n"
"POT-Creation-Date: 2025-04-27 12:43+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: en\n"
Expand All @@ -19,7 +19,7 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.16.0\n"

#: ../../source/API/C_extension/common.rst:2 870e7fb944a44610b42417abadce1a8c
#: ../../source/API/C_extension/common.rst:2
msgid "common"
msgstr ""

Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PyGRT 0.6.1.dev1+g4641a40.d20250422\n"
"Project-Id-Version: PyGRT 0.7.1.dev5+g2230cdc.d20250427\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-04-22 15:39+0800\n"
"POT-Creation-Date: 2025-04-27 12:43+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: en\n"
Expand All @@ -20,22 +20,18 @@ msgstr ""
"Generated-By: Babel 2.16.0\n"

#: ../../source/API/C_extension/common/attenuation.rst:2
#: 0251ca0310a34a66b744200a9a5d1424
msgid "attenuation.h"
msgstr ""

#: ../../source/API/C_extension/common/attenuation.rst
#: 53c5119e5f6843d39fc635310cf4974a
msgid "Functions"
msgstr ""

#: ../../source/API/C_extension/common/attenuation.rst
#: 5ea715280fea4eeb8d26818cf309ca46
msgid "参数"
msgstr ""

#: ../../source/API/C_extension/common/attenuation.rst
#: ed792cbd6fa748329938d2878d719676
msgid "返回"
msgstr ""

7 changes: 2 additions & 5 deletions docs/locales/en/LC_MESSAGES/API/C_extension/common/bessel.po
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PyGRT 0.6.1.dev1+g4641a40.d20250422\n"
"Project-Id-Version: PyGRT 0.7.1.dev5+g2230cdc.d20250427\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-04-22 15:39+0800\n"
"POT-Creation-Date: 2025-04-27 12:43+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: en\n"
Expand All @@ -20,17 +20,14 @@ msgstr ""
"Generated-By: Babel 2.16.0\n"

#: ../../source/API/C_extension/common/bessel.rst:2
#: 9401f023fdd3450f8aaac956587666c2
msgid "bessel.h"
msgstr ""

#: ../../source/API/C_extension/common/bessel.rst
#: 341c415d95e94b0ba50f272590430d55
msgid "Functions"
msgstr ""

#: ../../source/API/C_extension/common/bessel.rst
#: 60950234710749688b0043a633eccad0 c2c3e2ced4d24434bf61d8dcd47972a6
msgid "参数"
msgstr ""

Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PyGRT 0.6.1.dev1+g4641a40.d20250422\n"
"Project-Id-Version: PyGRT 0.7.1.dev5+g2230cdc.d20250427\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-04-22 15:39+0800\n"
"POT-Creation-Date: 2025-04-27 12:43+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: en\n"
Expand All @@ -20,12 +20,10 @@ msgstr ""
"Generated-By: Babel 2.16.0\n"

#: ../../source/API/C_extension/common/colorstr.rst:2
#: 40cbf7ce17ed4b7a96024947c64b970b
msgid "colorstr.h"
msgstr ""

#: ../../source/API/C_extension/common/colorstr.rst
#: 6580f266f2904b7180a6023d4ddebf66
msgid "Defines"
msgstr ""

11 changes: 6 additions & 5 deletions docs/locales/en/LC_MESSAGES/API/C_extension/common/const.po
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PyGRT 0.6.1.dev1+g4641a40.d20250422\n"
"Project-Id-Version: PyGRT 0.7.1.dev5+g2230cdc.d20250427\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-04-22 15:39+0800\n"
"POT-Creation-Date: 2025-04-27 12:43+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: en\n"
Expand All @@ -20,17 +20,18 @@ msgstr ""
"Generated-By: Babel 2.16.0\n"

#: ../../source/API/C_extension/common/const.rst:2
#: 5ee0a6dc0c324f108ae23edafb2e4494
msgid "const.h"
msgstr ""

#: ../../source/API/C_extension/common/const.rst
#: b9877214f7e742dfabb5fa33565832ef
msgid "Defines"
msgstr ""

#: ../../source/API/C_extension/common/const.rst
#: 1fff5e2dd9a444719b696ad1638cdeaf
msgid "Typedefs"
msgstr ""

#: ../../source/API/C_extension/common/const.rst
msgid "Variables"
msgstr ""

8 changes: 2 additions & 6 deletions docs/locales/en/LC_MESSAGES/API/C_extension/common/coord.po
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PyGRT 0.6.1.dev1+g4641a40.d20250422\n"
"Project-Id-Version: PyGRT 0.7.1.dev5+g2230cdc.d20250427\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-04-22 15:39+0800\n"
"POT-Creation-Date: 2025-04-27 12:43+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: en\n"
Expand All @@ -20,18 +20,14 @@ msgstr ""
"Generated-By: Babel 2.16.0\n"

#: ../../source/API/C_extension/common/coord.rst:2
#: acbced41c9ea49b78fc10ad2057032c3
msgid "coord.h"
msgstr ""

#: ../../source/API/C_extension/common/coord.rst
#: f3f1a7a8ef4c4505a1e06a14037d3d4a
msgid "Functions"
msgstr ""

#: ../../source/API/C_extension/common/coord.rst
#: a73e1ce765844ab0b9f34ca2015d97ba d96cda1b752a44799f17964b66016233
#: f0b2f9625133417696b6930c1392f010
msgid "参数"
msgstr ""

11 changes: 5 additions & 6 deletions docs/locales/en/LC_MESSAGES/API/C_extension/common/dwm.po
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PyGRT 0.6.1.dev1+g4641a40.d20250422\n"
"Project-Id-Version: PyGRT 0.7.1.dev5+g2230cdc.d20250427\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-04-22 15:39+0800\n"
"POT-Creation-Date: 2025-04-27 12:43+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: en\n"
Expand All @@ -20,19 +20,18 @@ msgstr ""
"Generated-By: Babel 2.16.0\n"

#: ../../source/API/C_extension/common/dwm.rst:2
#: 97ffb9698c354a498a81447cd9782d99
msgid "dwm.h"
msgstr ""

#: ../../source/API/C_extension/common/dwm.rst 063a8d193c0642be808bc594ff188c25
#: ../../source/API/C_extension/common/dwm.rst
msgid "Functions"
msgstr ""

#: ../../source/API/C_extension/common/dwm.rst e830564cd48548dba988ec10e9c17eb9
#: ../../source/API/C_extension/common/dwm.rst
msgid "参数"
msgstr ""

#: ../../source/API/C_extension/common/dwm.rst f94f2a07d8ea47a48c159ea9d102533e
#: ../../source/API/C_extension/common/dwm.rst
msgid "返回"
msgstr ""

11 changes: 5 additions & 6 deletions docs/locales/en/LC_MESSAGES/API/C_extension/common/fim.po
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PyGRT 0.6.1.dev1+g4641a40.d20250422\n"
"Project-Id-Version: PyGRT 0.7.1.dev5+g2230cdc.d20250427\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-04-22 15:39+0800\n"
"POT-Creation-Date: 2025-04-27 12:43+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: en\n"
Expand All @@ -20,19 +20,18 @@ msgstr ""
"Generated-By: Babel 2.16.0\n"

#: ../../source/API/C_extension/common/fim.rst:2
#: 7d0834d8663142efa312e3b6047152a8
msgid "fim.h"
msgstr ""

#: ../../source/API/C_extension/common/fim.rst 09c08107d58f4cf49a0b60fa3ceb02b8
#: ../../source/API/C_extension/common/fim.rst
msgid "Functions"
msgstr ""

#: ../../source/API/C_extension/common/fim.rst 29269d4539fe401db85dd0f93b302981
#: ../../source/API/C_extension/common/fim.rst
msgid "参数"
msgstr ""

#: ../../source/API/C_extension/common/fim.rst c2d5ac81671a443c963319699b28ce8e
#: ../../source/API/C_extension/common/fim.rst
msgid "返回"
msgstr ""

Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PyGRT 0.6.1.dev1+g4641a40.d20250422\n"
"Project-Id-Version: PyGRT 0.7.1.dev5+g2230cdc.d20250427\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-04-22 15:39+0800\n"
"POT-Creation-Date: 2025-04-27 12:43+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: en\n"
Expand All @@ -20,18 +20,14 @@ msgstr ""
"Generated-By: Babel 2.16.0\n"

#: ../../source/API/C_extension/common/integral.rst:2
#: 6abb4c7e6aed4a6289bd62fdf292aee8
msgid "integral.h"
msgstr ""

#: ../../source/API/C_extension/common/integral.rst
#: 51503e516b144c04bd8d0e7b34f5ec2c
msgid "Functions"
msgstr ""

#: ../../source/API/C_extension/common/integral.rst
#: 07edee11f98f48a0b7512b6107204aec 9af82f7b94484cbbac2cd245cb4d31ad
#: f04cc646e9414e0ba935b8d1e31d89cf
msgid "参数"
msgstr ""

11 changes: 6 additions & 5 deletions docs/locales/en/LC_MESSAGES/API/C_extension/common/iostats.po
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PyGRT 0.6.1.dev1+g4641a40.d20250422\n"
"Project-Id-Version: PyGRT 0.7.1.dev5+g2230cdc.d20250427\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-04-22 15:39+0800\n"
"POT-Creation-Date: 2025-04-27 12:43+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: en\n"
Expand All @@ -20,17 +20,18 @@ msgstr ""
"Generated-By: Babel 2.16.0\n"

#: ../../source/API/C_extension/common/iostats.rst:2
#: 4aeb82999f584dddba2a712941c0b80d
msgid "iostats.h"
msgstr ""

#: ../../source/API/C_extension/common/iostats.rst
#: 87752904fe3440b7abe32882c8587cab
msgid "Functions"
msgstr ""

#: ../../source/API/C_extension/common/iostats.rst
#: 27ee2d300235486ba9db07b9353b6ad8 916270ce181844829b2a53c8552cbb00
msgid "参数"
msgstr ""

#: ../../source/API/C_extension/common/iostats.rst
msgid "返回"
msgstr ""

6 changes: 2 additions & 4 deletions docs/locales/en/LC_MESSAGES/API/C_extension/common/kernel.po
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PyGRT 0.6.1.dev1+g4641a40.d20250422\n"
"Project-Id-Version: PyGRT 0.7.1.dev5+g2230cdc.d20250427\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-04-22 15:39+0800\n"
"POT-Creation-Date: 2025-04-27 12:43+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: en\n"
Expand All @@ -20,12 +20,10 @@ msgstr ""
"Generated-By: Babel 2.16.0\n"

#: ../../source/API/C_extension/common/kernel.rst:2
#: 2c4982cdebd64035b7af2ade4f94342c
msgid "kernel.h"
msgstr ""

#: ../../source/API/C_extension/common/kernel.rst
#: 8d3ccf76599c428ca2d7123a8c2b40bf
msgid "Typedefs"
msgstr ""

6 changes: 2 additions & 4 deletions docs/locales/en/LC_MESSAGES/API/C_extension/common/logo.po
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PyGRT 0.6.1.dev1+g4641a40.d20250422\n"
"Project-Id-Version: PyGRT 0.7.1.dev5+g2230cdc.d20250427\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-04-22 15:39+0800\n"
"POT-Creation-Date: 2025-04-27 12:43+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: en\n"
Expand All @@ -20,12 +20,10 @@ msgstr ""
"Generated-By: Babel 2.16.0\n"

#: ../../source/API/C_extension/common/logo.rst:2
#: 6c4269b957bf49409b960418a160f36d
msgid "logo.h"
msgstr ""

#: ../../source/API/C_extension/common/logo.rst
#: 2be646264a7c459aa53cb1f7cd3b6428
msgid "Functions"
msgstr ""

Loading