Skip to content

Commit 12475bf

Browse files
authored
Merge pull request #129 from OpenSEMBA/dev
Merges dev with debugging movies changes into main
2 parents 3d7b11e + 80a7f20 commit 12475bf

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+7282
-846
lines changed

.github/workflows/ubuntu.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ jobs:
8888

8989
- name: Run python tests
9090
env:
91+
SEMBA_FDTD_ENABLE_MPI: ${{ matrix.mpi }}
9192
SEMBA_FDTD_ENABLE_MTLN: ${{ matrix.mtln }}
9293
SEMBA_FDTD_ENABLE_HDF: ${{ matrix.hdf }}
9394
run: python -m pytest test/

.github/workflows/windows.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
matrix:
2020
os: [windows-latest]
2121
compiler: [ {name: 'intel', version: '2024.0'} ]
22-
build-type: ["Debug", "Release"]
22+
build-type: ["Release"]
2323
mpi: ["No"]
2424
mtln: ["Yes"]
2525
hdf: ["Yes"]
@@ -69,6 +69,7 @@ jobs:
6969

7070
- name: Run python tests (except codemodel)
7171
env:
72+
SEMBA_FDTD_ENABLE_MPI: ${{ matrix.mpi }}
7273
SEMBA_FDTD_ENABLE_MTLN: ${{ matrix.mtln }}
7374
SEMBA_FDTD_ENABLE_HDF: ${{ matrix.hdf }}
7475
run: python -m pytest -m 'not codemodel' test/

CMakeLists.txt

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ add_definitions(
3737
include("${CMAKE_CURRENT_SOURCE_DIR}/set_precompiled_libraries.cmake")
3838

3939
if(CMAKE_Fortran_COMPILER_ID MATCHES "GNU")
40-
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -ffree-form -ffree-line-length-none -fdec -fcheck=bounds -fopenmp -fallow-argument-mismatch")
40+
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -fopenmp -ffree-form -ffree-line-length-none -fdec -fcheck=bounds -fallow-argument-mismatch")
4141
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fopenmp")
4242
add_definitions(-DCompileWithIncludeMpifh)
4343
endif()
@@ -46,8 +46,10 @@ if(CMAKE_Fortran_COMPILER_ID MATCHES "^Intel")
4646
if (CMAKE_SYSTEM_NAME MATCHES "Linux")
4747
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -qopenmp")
4848
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -qopenmp")
49+
if(CMAKE_BUILD_TYPE MATCHES "Debug")
50+
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -check all,nouninit -debug full -traceback")
51+
endif()
4952
elseif(CMAKE_SYSTEM_NAME MATCHES "Windows")
50-
5153
if(CMAKE_Fortran_COMPILER_ID MATCHES "IntelLLVM")
5254
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /Qiopenmp")
5355
else()
@@ -60,9 +62,6 @@ if(CMAKE_Fortran_COMPILER_ID MATCHES "^Intel")
6062
else()
6163
message(FATAL_ERROR "Unrecognized system name")
6264
endif()
63-
if(CMAKE_BUILD_TYPE MATCHES "Debug")
64-
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -check all,nouninit -debug full -traceback")
65-
endif()
6665
endif()
6766

6867
add_subdirectory(external)

README.md

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
22

3-
[![ubuntu-gnu](https://github.com/OpenSEMBA/fdtd/actions/workflows/ubuntu-gnu.yml/badge.svg)](https://github.com/OpenSEMBA/fdtd/actions/workflows/ubuntu-gnu.yml)
4-
[![ubuntu-intelLLVM](https://github.com/OpenSEMBA/fdtd/actions/workflows/ubuntu-intelLLVM.yml/badge.svg)](https://github.com/OpenSEMBA/fdtd/actions/workflows/ubuntu-intelLLVM.yml)
5-
[![windows-intelLLVM](https://github.com/OpenSEMBA/fdtd/actions/workflows/windows-intelLLVM.yml/badge.svg)](https://github.com/OpenSEMBA/fdtd/actions/workflows/windows-intelLLVM.yml)
3+
[![ubuntu](https://github.com/OpenSEMBA/fdtd/actions/workflows/ubuntu.yml/badge.svg?branch=main)](https://github.com/OpenSEMBA/fdtd/actions/workflows/ubuntu.yml)
4+
[![windows](https://github.com/OpenSEMBA/fdtd/actions/workflows/windows.yml/badge.svg?branch=main)](https://github.com/OpenSEMBA/fdtd/actions/workflows/windows.yml)
65

76
# semba-fdtd
87

@@ -31,8 +30,8 @@ In a nutshell, semba-fdtd capabilities are
3130
+ Multiple planewaves illumination for reverberation chamber modeling.
3231
+ Hertzian dipole sources.
3332
+ Equivalent Huygens surfaces.
34-
+ Low frequency thin composites and lossy surfaces.
35-
+ Thin slots.
33+
+ [Low frequency thin composites and lossy surfaces.](https://doi.org/10.1109/TMTT.2016.2637348)
34+
+ [Thin slots.](https://doi.org/10.1109/TAP.2024.3484673)
3635
+ Time, frequency and transfer function probes.
3736
+ Near-to-far field transformation.
3837

@@ -53,13 +52,7 @@ Tests must be run from the root folder. `python` wrapper test assumes that `semb
5352

5453
This code is licensed under the terms of the [MIT License](LICENSE). All rights reserved by the University of Granada (Spain)
5554

56-
# References
55+
# Funding
5756

58-
+ Miguel Ruiz Cabello, Maksims Abalenkovs, Luis Diaz Angulo, Clemente Cobos Sanchez, Franco Moglie, Salvador Gonzalez Garcia, *Performance of parallel FDTD method for shared- and distributed-memory architectures: Application to bioelectromagnetics*. PLOS ONE. 2020. https://doi.org/10.1371/journal.pone.0238115
59-
+ Luis Diaz Angulo, Miguel Ruiz Cabello, Jesus Alvarez, Amelia Rubio Bretones, Salvador Gonzalez Garcia, *From Microscopic to Macroscopic Description of Composite Thin Panels: A Road Map for Their Simulation in Time Domain*. IEEE Transactions on Microwave Theory and Techniques. 2018. https://doi.org/10.1109/TMTT.2017.2786263.
60-
+ Miguel Ruiz Cabello, Luis Diaz Angulo, Jesus Alvarez, Ian Flintoft, Samuel Bourke, John Dawson, *A Hybrid Crank–Nicolson FDTD Subgridding Boundary Condition for Lossy Thin-Layer Modeling*. IEEE Transactions on Microwave Theory and Techniques. 2017. https://doi.org/10.1109/TMTT.2016.2637348.
61-
+ Miguel Ruiz Cabello, Luis Diaz Angulo, Amelia Rubio Bretones, Rafael Gomez Martin, Salvador Gonzalez Garcia and Jesus Alvarez, *A novel subgriding scheme for arbitrarily dispersive thin-layer modeling*, 2017 IEEE MTT-S International Conference on Numerical Electromagnetic and Multiphysics Modeling and Optimization for RF, Microwave, and Terahertz Applications (NEMO), Seville, Spain, 2017.
62-
https://doi.org/10.1109/NEMO.2017.7964255.
63-
+ Guadalupe Gutierrez Gutierrez, Daniel Mateos Romero, Miguel Ruiz Cabello, Enrique Pascual-Gil, Luis Diaz Angulo, David Garcia Gomez, Salvador Gonzalez Garcia,
64-
*On the Design of Aircraft Electrical Structure Networks*,
65-
IEEE Transactions on Electromagnetic Compatibility. 2016. https://doi.org/10.1109/TEMC.2016.2514379.
57+
- Spanish Ministry of Science and Innovation (MICIN/AEI) (Grant Number: PID2022-137495OB-C31)
58+
- European Union, HECATE project. (HE-HORIZON-JU-Clean-Aviation-2022-01)

src_main_pub/EpsMuTimeScale.F90

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,4 @@
1-
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2-
! MIT License
3-
!
4-
! Copyright (c) 2023 University of Granada
5-
!
6-
! Permission is hereby granted, free of charge, to any person obtaining a copy
7-
! of this software and associated documentation files (the "Software"), to deal
8-
! in the Software without restriction, including without limitation the rights
9-
! to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10-
! copies of the Software, and to permit persons to whom the Software is
11-
! furnished to do so, subject to the following conditions:
12-
!
13-
! The above copyright notice and this permission notice shall be included in all
14-
! copies or substantial portions of the Software.
15-
!
16-
! THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17-
! IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18-
! FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19-
! AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20-
! LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21-
! OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22-
! SOFTWARE.
23-
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
1+
242

253
!//===========================================================================//
264
!// HYSTORY & VERSION: //

src_main_pub/anisotropic.F90

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,4 @@
1-
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2-
! MIT License
3-
!
4-
! Copyright (c) 2023 University of Granada
5-
!
6-
! Permission is hereby granted, free of charge, to any person obtaining a copy
7-
! of this software and associated documentation files (the "Software"), to deal
8-
! in the Software without restriction, including without limitation the rights
9-
! to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10-
! copies of the Software, and to permit persons to whom the Software is
11-
! furnished to do so, subject to the following conditions:
12-
!
13-
! The above copyright notice and this permission notice shall be included in all
14-
! copies or substantial portions of the Software.
15-
!
16-
! THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17-
! IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18-
! FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19-
! AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20-
! LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21-
! OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22-
! SOFTWARE.
23-
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
1+
242

253
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
264
! Module Anisotropic

src_main_pub/borderscpml.F90

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,4 @@
1-
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2-
! MIT License
3-
!
4-
! Copyright (c) 2023 University of Granada
5-
!
6-
! Permission is hereby granted, free of charge, to any person obtaining a copy
7-
! of this software and associated documentation files (the "Software"), to deal
8-
! in the Software without restriction, including without limitation the rights
9-
! to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10-
! copies of the Software, and to permit persons to whom the Software is
11-
! furnished to do so, subject to the following conditions:
12-
!
13-
! The above copyright notice and this permission notice shall be included in all
14-
! copies or substantial portions of the Software.
15-
!
16-
! THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17-
! IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18-
! FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19-
! AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20-
! LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21-
! OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22-
! SOFTWARE.
23-
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
1+
242

253
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
264
! Borders : PML handling

src_main_pub/bordersmur.F90

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,4 @@
1-
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2-
! MIT License
3-
!
4-
! Copyright (c) 2023 University of Granada
5-
!
6-
! Permission is hereby granted, free of charge, to any person obtaining a copy
7-
! of this software and associated documentation files (the "Software"), to deal
8-
! in the Software without restriction, including without limitation the rights
9-
! to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10-
! copies of the Software, and to permit persons to whom the Software is
11-
! furnished to do so, subject to the following conditions:
12-
!
13-
! The above copyright notice and this permission notice shall be included in all
14-
! copies or substantial portions of the Software.
15-
!
16-
! THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17-
! IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18-
! FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19-
! AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20-
! LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21-
! OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22-
! SOFTWARE.
23-
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
1+
242

253
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
264
! Borders : MUR handling

src_main_pub/bordersother.F90

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,4 @@
1-
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2-
! MIT License
3-
!
4-
! Copyright (c) 2023 University of Granada
5-
!
6-
! Permission is hereby granted, free of charge, to any person obtaining a copy
7-
! of this software and associated documentation files (the "Software"), to deal
8-
! in the Software without restriction, including without limitation the rights
9-
! to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10-
! copies of the Software, and to permit persons to whom the Software is
11-
! furnished to do so, subject to the following conditions:
12-
!
13-
! The above copyright notice and this permission notice shall be included in all
14-
! copies or substantial portions of the Software.
15-
!
16-
! THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17-
! IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18-
! FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19-
! AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20-
! LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21-
! OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22-
! SOFTWARE.
23-
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
1+
242

253
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
264
! Borders : PML, PEC, PMC, Periodic handling.

src_main_pub/calc_constants.F90

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,4 @@
1-
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2-
! MIT License
3-
!
4-
! Copyright (c) 2023 University of Granada
5-
!
6-
! Permission is hereby granted, free of charge, to any person obtaining a copy
7-
! of this software and associated documentation files (the "Software"), to deal
8-
! in the Software without restriction, including without limitation the rights
9-
! to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10-
! copies of the Software, and to permit persons to whom the Software is
11-
! furnished to do so, subject to the following conditions:
12-
!
13-
! The above copyright notice and this permission notice shall be included in all
14-
! copies or substantial portions of the Software.
15-
!
16-
! THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17-
! IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18-
! FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19-
! AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20-
! LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21-
! OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22-
! SOFTWARE.
23-
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
1+
242

253
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
264
! Creation date Date : October, 24, 2018

0 commit comments

Comments
 (0)