Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merging dev into main #37

Merged
merged 260 commits into from
Oct 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
260 commits
Select commit Hold shift + click to select a range
9ac8d1e
Adds revamp to modelAdapter.
AlejandroMunozManterola Nov 2, 2023
364013f
fixes stuff
AlejandroMunozManterola Nov 2, 2023
ecd6648
Code cleanup
AlejandroMunozManterola Nov 2, 2023
be481d1
Working on MARKDOWN documentation
AlejandroMunozManterola Nov 3, 2023
5dd67ef
Updates 1D json file
AlejandroMunozManterola Nov 3, 2023
9fe2aa7
Removes cartesian angles and rotation as a capability from sources an…
AlejandroMunozManterola Nov 3, 2023
b71784b
Adds changes to adapters
AlejandroMunozManterola Nov 3, 2023
2e153b3
Adds code to probesAdapter and changes pointprobes to fieldprobes in …
AlejandroMunozManterola Nov 3, 2023
d815e48
Fixes stuff
AlejandroMunozManterola Nov 3, 2023
9c800b7
Fixes probesadapter
AlejandroMunozManterola Nov 3, 2023
7fc9299
Changing Model constructor to fit new adapter phylosophy. (WIP)
AlejandroMunozManterola Nov 6, 2023
9d9c483
Working on changes
AlejandroMunozManterola Nov 6, 2023
7595974
First full adapter tests
AlejandroMunozManterola Nov 6, 2023
b3fa927
Reworking stuff, working towards NearToFarField
AlejandroMunozManterola Nov 7, 2023
83702f6
Reworks tfsf in model and adapters to work with new json methods
AlejandroMunozManterola Nov 7, 2023
f443a2f
Cleans some unused code, refactors SubmeshingIndividual 2D
AlejandroMunozManterola Nov 7, 2023
125df8d
Deletes unused tests
AlejandroMunozManterola Nov 8, 2023
d5e6681
Removes unneeded data and refactors problem tests to strengthen docum…
AlejandroMunozManterola Nov 8, 2023
bc9d4f9
Decompressese Evolution operator build into individual steps.
AlejandroMunozManterola Nov 8, 2023
93c2da8
(Python) Adds 3D mesh autofixer/prepper for faster mesh readiness.
AlejandroMunozManterola Nov 8, 2023
717e24f
Adds 3D TFSF json and mesh
AlejandroMunozManterola Nov 8, 2023
0582d27
Reworks adapters to understand totalField source/model philosophy.
AlejandroMunozManterola Nov 8, 2023
11f4674
Fixes issue with parent-to-child tfsf markers.
AlejandroMunozManterola Nov 8, 2023
9de878e
Adds meshFixers for 1D and 2D to adapt meshes to new json philosophy
AlejandroMunozManterola Nov 8, 2023
22fa01a
Fixes Model and Evolution to give TFSF its own Markers instead of usi…
AlejandroMunozManterola Nov 8, 2023
f4462d6
Adds problem tests for TFSF in Centered and Upwind for all dims (Stil…
AlejandroMunozManterola Nov 8, 2023
23cdfe5
Working on n2ff probes
AlejandroMunozManterola Nov 9, 2023
6ecc3ff
submodule update
AlejandroMunozManterola Nov 9, 2023
71d9115
Merge branch 'alejandro' of github.com:OpenSEMBA/dgtd into alejandro
AlejandroMunozManterola Nov 9, 2023
91d4147
Revert "Working on n2ff probes"
AlejandroMunozManterola Nov 9, 2023
89c9a83
Starting to re-implement NearToFarField probes
AlejandroMunozManterola Nov 9, 2023
117adc5
Removes unneeded types
AlejandroMunozManterola Nov 9, 2023
9cf91bd
Renames N2FF SubMesher for clarity
AlejandroMunozManterola Nov 9, 2023
ada446f
Work on N2FF
AlejandroMunozManterola Nov 9, 2023
3f86cad
Fixes include issues and adds updateProbe for n2ff
AlejandroMunozManterola Nov 9, 2023
0606900
Work
AlejandroMunozManterola Nov 9, 2023
8d68813
Work on n2ff
AlejandroMunozManterola Nov 9, 2023
92bf5a9
wip for n2ff probes
AlejandroMunozManterola Nov 10, 2023
40d355d
Overhaul for NearToFarFieldProbe and its needed classes
AlejandroMunozManterola Nov 10, 2023
daac1fc
Renames some variables for clarification
AlejandroMunozManterola Nov 10, 2023
293b63b
Adapts some submesher methods to be used by multiple classes.
AlejandroMunozManterola Nov 10, 2023
c74cab5
Fixes issue with postProcessing model in adapter where it'd always ad…
AlejandroMunozManterola Nov 10, 2023
aa9ad1f
Adds passing conditions to TFSF JSON tests for 1D, 2D and 3D
AlejandroMunozManterola Nov 13, 2023
0d49464
Removes 3D initial PEC tests (initial loading on 3D requires too much…
AlejandroMunozManterola Nov 13, 2023
75dd068
Fixes model test and documents it briefly.
AlejandroMunozManterola Nov 13, 2023
3f84ff5
Added some minor explanation on the probe test
AlejandroMunozManterola Nov 13, 2023
a793ff4
n2ff data collection now uses private gFields references instead of a…
AlejandroMunozManterola Nov 13, 2023
4acc12f
Adds order 3 2D elements to the meshFixer.
AlejandroMunozManterola Nov 13, 2023
54f8818
Fixes SubMesher issue for N2FF
AlejandroMunozManterola Nov 13, 2023
2f1a2de
Fixes issues with Exporter FES
AlejandroMunozManterola Nov 13, 2023
6ab7419
Work on exporter for nftff
AlejandroMunozManterola Nov 21, 2023
4510bfb
Work on exporter
AlejandroMunozManterola Nov 21, 2023
4a598ec
update submodule
Nov 22, 2023
3c0e845
Updates submodules
Nov 22, 2023
f57f180
Work on exporter and probemanager
Nov 22, 2023
c08488c
Work on nftff
Nov 22, 2023
de8d295
Fixes strange bug (?)
Nov 22, 2023
8315d70
Working on SubMesh loss on ntffprobes
Nov 24, 2023
aa06d14
Submodule update
AlejandroMunozManterola Nov 27, 2023
9c80aac
Working on ntff
AlejandroMunozManterola Nov 27, 2023
8a6d56c
Refactoring Solver and ProbesManager
lmdiazangulo Nov 28, 2023
0f41524
Refactor of SourcesManager and ProbesManager.
AlejandroMunozManterola Nov 28, 2023
0966587
Implements move assignment operators for some classes.
AlejandroMunozManterola Nov 28, 2023
6f27ddc
Working on ntff moving
AlejandroMunozManterola Nov 28, 2023
8e9d9f6
Fixes the field_map DC conundrum.
AlejandroMunozManterola Nov 29, 2023
cf6cd9b
Uncomments Evolution code
AlejandroMunozManterola Nov 29, 2023
d2a39db
Fixes SubMesh loss for TransferMaps after object is returned.
AlejandroMunozManterola Nov 29, 2023
d3b7246
Deletes unused files.
AlejandroMunozManterola Nov 29, 2023
9e39e66
Changes parameters in tests and tweaks n2ff folder name
AlejandroMunozManterola Nov 29, 2023
3cec5bb
Starts working on RCS
AlejandroMunozManterola Dec 4, 2023
fe8daee
Working on RCS Manager
AlejandroMunozManterola Dec 5, 2023
5c840a2
Working on RCSExporter for RCSManager
AlejandroMunozManterola Dec 5, 2023
2a53ae7
Work on RCSManager
AlejandroMunozManterola Dec 5, 2023
046906e
Adds time reading for RCS
AlejandroMunozManterola Dec 15, 2023
cef6884
Adds path checking error for getTime in RCS
AlejandroMunozManterola Dec 15, 2023
cf8e7a1
Refactors RCSvector into complex vector instead of GridFunction
AlejandroMunozManterola Dec 15, 2023
dc1a323
Refactors some code in RCS for simplicity.
AlejandroMunozManterola Dec 15, 2023
96c3002
Clears comments on code
AlejandroMunozManterola Dec 15, 2023
e9935b5
Working on L2_to_ND tests
AlejandroMunozManterola Jan 12, 2024
438c2eb
Working on different FES interpolator
AlejandroMunozManterola Jan 16, 2024
c62d0ba
MixedBF and MixedVecProd attempt
AlejandroMunozManterola Jan 16, 2024
f40ca03
VectorGridFunctionCoefficient approach (promising)
AlejandroMunozManterola Jan 16, 2024
3bde069
naming consistency
AlejandroMunozManterola Jan 16, 2024
099b214
Removes unused code in test
AlejandroMunozManterola Jan 16, 2024
15e69f3
Documents and automatises the test.
AlejandroMunozManterola Jan 16, 2024
c0f6f2a
Gets rid of the H1 part as it seems it is not necessary.
AlejandroMunozManterola Jan 16, 2024
41d3898
Documents the reworked test.
AlejandroMunozManterola Jan 16, 2024
0034719
Adds Meshes for transfer tests
AlejandroMunozManterola Jan 16, 2024
ff60b49
Working on reworked RCSManager
AlejandroMunozManterola Jan 18, 2024
dc37183
Adds learning tests for std::filesystem
AlejandroMunozManterola Jan 23, 2024
3b5fd03
Adds some work on RCS
AlejandroMunozManterola Jan 23, 2024
cd53def
Reworks probes manager to save a mesh at base path.
AlejandroMunozManterola Jan 23, 2024
de899e7
Reworked filesystem test to work with the non-recursive iterator, sim…
AlejandroMunozManterola Jan 24, 2024
1fd5788
Updates cmake definitions to use cmake_minimum_required 3.5 from 3.0
AlejandroMunozManterola Jan 24, 2024
9436b18
removes external opensemba-core dependency
AlejandroMunozManterola Jan 24, 2024
5856e5d
removing opensemba-core
AlejandroMunozManterola Jan 24, 2024
bec5b36
Removes OpenSemba files and cmake dependencies
AlejandroMunozManterola Jan 24, 2024
cc2f06a
RCS Manager wip
AlejandroMunozManterola Jan 26, 2024
7b7ea22
Working on RCS Manager
AlejandroMunozManterola Jan 29, 2024
5cca9b8
Adds data structure to organise postprocessed RCS data.
AlejandroMunozManterola Jan 30, 2024
e2566d2
returns modulus of faux complex calculation instead of returning it a…
AlejandroMunozManterola Jan 30, 2024
a1320d8
Simplifies function calculus
AlejandroMunozManterola Jan 30, 2024
da0b7a8
Fixes bug regarding new (JSON Adapter) convention and geometrical att…
AlejandroMunozManterola Feb 1, 2024
5dc2b92
Adds some tests for NTFF studies
AlejandroMunozManterola Feb 1, 2024
5649543
Adds 2D Submesher method for NearToFarField
AlejandroMunozManterola Feb 1, 2024
a09c14a
Changes to NTFF submeshing
AlejandroMunozManterola Feb 2, 2024
00004e2
RCS Manager update to only L2 usage
AlejandroMunozManterola Feb 9, 2024
de75c4e
Implementation of RCS linear form integrator for tangential
AlejandroMunozManterola Feb 9, 2024
deb2f30
Implements a rework of the manager data treatment and export
AlejandroMunozManterola Feb 12, 2024
ef8664a
Reworks RCS test to make it easier and more intuitive to run
AlejandroMunozManterola Feb 12, 2024
afabbde
Redoes RCS LF Integrator normal so it works on all dimensions
AlejandroMunozManterola Feb 13, 2024
9bd4656
Corrects minor directory change issue for GF Tests
AlejandroMunozManterola Feb 13, 2024
3cbd49c
Complete overhaul of RCSManager
AlejandroMunozManterola Feb 13, 2024
9937eaf
Adding further rework to RCSManager
AlejandroMunozManterola Feb 13, 2024
cc0ec67
Updating
Feb 13, 2024
9ebc530
Complex products in RCS
AlejandroMunozManterola Feb 14, 2024
afa198c
Merge branch 'alejandro' of github.com:OpenSEMBA/dgtd into alejandro
AlejandroMunozManterola Feb 14, 2024
792b004
Working on RCS fixes
AlejandroMunozManterola Feb 14, 2024
83160ad
Work on manager
AlejandroMunozManterola Feb 15, 2024
426a4a3
Reworking RCS
AlejandroMunozManterola Feb 16, 2024
4a6351b
Further changes to RCSManager
AlejandroMunozManterola Feb 16, 2024
46538b5
Fixes issues with lambda coefficients
AlejandroMunozManterola Feb 19, 2024
c18a335
Implements discovery tests
AlejandroMunozManterola Feb 19, 2024
2fd06a1
Tweaks RCSLinearIntegrator
AlejandroMunozManterola Feb 19, 2024
fa717bf
Adds corrected mesh and methods for RCS
AlejandroMunozManterola Feb 22, 2024
cc41571
Adds extrafine mesh for smaller std dev for gaussian
AlejandroMunozManterola Feb 22, 2024
dbf9b15
Updates adapter test to latest data.
AlejandroMunozManterola Feb 22, 2024
5df9b51
Moves SourceFixtures
AlejandroMunozManterola Feb 26, 2024
f536b99
Moves Adapter from test to src
AlejandroMunozManterola Feb 26, 2024
3ec15b9
Changes to RCSManager and adding some extra meshes for testing
AlejandroMunozManterola Feb 26, 2024
5e75832
Studying unit correction
AlejandroMunozManterola Feb 27, 2024
14c1c0e
Fixing norm to abs and further system unit testing
AlejandroMunozManterola Feb 27, 2024
a7d5653
Working on RCS
AlejandroMunozManterola Feb 29, 2024
71e8b1c
Update submodule
AlejandroMunozManterola Mar 1, 2024
1dbdd6e
Commit pre-DFT changes
AlejandroMunozManterola Mar 4, 2024
b63b29c
Working on lininteg
AlejandroMunozManterola Mar 4, 2024
155a395
Potentially fixes multiples bugs in RCS
AlejandroMunozManterola Mar 5, 2024
90d2281
Isolating DFT method
AlejandroMunozManterola Mar 6, 2024
bb01027
ntff data update
AlejandroMunozManterola Mar 6, 2024
bd9d037
Updates files for remote
AlejandroMunozManterola Mar 6, 2024
4a6b767
Fixes issue with time step counter and FreqFields dimensions
Mar 7, 2024
0d0c679
Refactors FreqFields term to make it more explicit
AlejandroMunozManterola Mar 7, 2024
1d5f380
Starting implementation of 3D RCS.
AlejandroMunozManterola Mar 7, 2024
608c993
Working on 3D RCS
AlejandroMunozManterola Mar 7, 2024
8993351
WFH
Mar 8, 2024
dcd86e6
Fixes 3D NTFF submesher element selection method
AlejandroMunozManterola Mar 8, 2024
3ea96c9
Work on RCS
AlejandroMunozManterola Mar 12, 2024
4a3f4fd
Changes to RCSBdrFaceIntegrator
AlejandroMunozManterola Mar 13, 2024
9457c19
Uses same nomenclature and expression for both DFT in RCS.
AlejandroMunozManterola Mar 13, 2024
d67851d
Switches LinearIntegrators back to element based dofs sizes
AlejandroMunozManterola Mar 18, 2024
f03e3d1
Reclassifies folders and adds some meshes for testing
AlejandroMunozManterola Mar 20, 2024
c076c8a
Adds some tests
AlejandroMunozManterola Mar 20, 2024
8aecb84
Rewrites Fourier Transform method to same one as the one used in Norm…
AlejandroMunozManterola Mar 20, 2024
04d1072
Fixes orientation issue in submesher for some meshes.
AlejandroMunozManterola Mar 20, 2024
c8ba2e5
Fixes issues with Planewaves.
AlejandroMunozManterola Apr 3, 2024
77f860e
Updates 2D_RCS.json to TM(z) mode.
AlejandroMunozManterola Apr 3, 2024
250274b
Fixes some bugs in sources and submesher
Apr 3, 2024
e944516
Merge branch 'alejandro' of https://github.com/OpenSEMBA/dgtd into al…
Apr 3, 2024
35e3a2d
Adds meshes, code changes and tests.
AlejandroMunozManterola Apr 19, 2024
654bbef
Merge branch 'alejandro' of github.com:OpenSEMBA/dgtd into alejandro
AlejandroMunozManterola Apr 19, 2024
32f175d
Deletes previously pushed files
AlejandroMunozManterola Apr 29, 2024
e97fb79
Refactors code for GNU compiler
AlejandroMunozManterola Apr 29, 2024
8986087
Update gitignore
AlejandroMunozManterola Apr 29, 2024
4a6b534
Merge pull request #31 from OpenSEMBA/alejandro-linux
AlejandroMunozManterola Apr 29, 2024
9281e3c
Merging from alejandro-linux pr
AlejandroMunozManterola Apr 30, 2024
0c9b6c3
Fixes test in FiniteElementSpace tests
AlejandroMunozManterola Apr 30, 2024
ff8da6f
Merge remote-tracking branch 'refs/remotes/origin/alejandro' into ale…
AlejandroMunozManterola Apr 30, 2024
a786576
updates submodule
AlejandroMunozManterola May 2, 2024
5f8cd90
Adapting code for gnu, fixing deprecated tests.
AlejandroMunozManterola May 2, 2024
bf9a1a9
Merge branch 'alejandro' of github.com:OpenSEMBA/dgtd into alejandro
AlejandroMunozManterola May 2, 2024
d99046e
Updates gitignore
AlejandroMunozManterola May 3, 2024
e4615b8
Updates PiecewiseArgVector method to fix multimaterial evolution oper…
AlejandroMunozManterola May 3, 2024
e3ecb3f
Disables test
AlejandroMunozManterola May 3, 2024
2d113b0
Removes deprecated tests
AlejandroMunozManterola May 3, 2024
86ca20a
Updates definition
AlejandroMunozManterola May 3, 2024
4659a26
Compiles on GNU
lmdiazangulo Jul 19, 2024
a417aaa
Adding CI
lmdiazangulo Jul 19, 2024
fc3e0f3
Updates baseline
lmdiazangulo Jul 19, 2024
2bd04db
Removes parallel in mfem-geg build (causing problems)
lmdiazangulo Jul 19, 2024
51fc553
Sets ninja in action
lmdiazangulo Jul 19, 2024
a359a04
Updates action
lmdiazangulo Jul 19, 2024
bfc3c04
Fixing/disabling some tests
lmdiazangulo Jul 21, 2024
f7f585f
Disables submeshbdrattributes test
lmdiazangulo Jul 21, 2024
99be1a8
[WIP] Reorganizing adapter
lmdiazangulo Jul 21, 2024
3361b4b
[WIP] Separating unitary and system tests
lmdiazangulo Jul 22, 2024
201b99a
[WIP] Refactoring
lmdiazangulo Jul 22, 2024
bc0e97c
Compiles after changes
lmdiazangulo Jul 22, 2024
2d09ca2
Separates unit and system tests
lmdiazangulo Jul 22, 2024
585220c
Fixes conflict
lmdiazangulo Jul 22, 2024
51f3510
Adds mfem as subdirectory compilation option
lmdiazangulo Jul 22, 2024
b558264
Subdirectories
lmdiazangulo Jul 22, 2024
32cd635
Refactoring solver tests
lmdiazangulo Jul 23, 2024
cbc8604
Reviewing tests
lmdiazangulo Jul 23, 2024
ab57611
Minor
lmdiazangulo Jul 23, 2024
9d14086
Fixing tests
lmdiazangulo Jul 24, 2024
785809f
[WIP] Reviewing tests.
lmdiazangulo Jul 24, 2024
aeb59dc
Passes tests for 1.5 and periodic with tris and quads
lmdiazangulo Jul 24, 2024
3b27cbb
[WIP] Tests
lmdiazangulo Jul 24, 2024
c78b8e7
Fixes bug in resonant mode box
lmdiazangulo Jul 24, 2024
3c242ab
Updates to newest changes
AlejandroMunozManterola Aug 14, 2024
d92a5b6
Updates mfem-geg submodule
AlejandroMunozManterola Aug 14, 2024
b7b1ee4
Fixes Cases and relevant .json to pass tests
AlejandroMunozManterola Aug 14, 2024
a4520d4
Adds sigma to Materials
AlejandroMunozManterola Aug 21, 2024
1e88f73
Fixes tests and disables deprecated / for revision tests
AlejandroMunozManterola Aug 21, 2024
2a42c90
Implements method to build sigma pw vector and refactors relevant code
AlejandroMunozManterola Aug 21, 2024
79bca29
Merge pull request #32 from OpenSEMBA/luis
AlejandroMunozManterola Aug 21, 2024
60203c7
Merge remote-tracking branch 'origin/dev' into alejandro
AlejandroMunozManterola Aug 21, 2024
782317d
Adds methods for FiniteElementOperators for Conductivity
AlejandroMunozManterola Aug 21, 2024
c846beb
Refactors code to only accept new definition of material (including s…
AlejandroMunozManterola Aug 21, 2024
c1e26db
Fixes bug with singular conductivity operator
AlejandroMunozManterola Aug 21, 2024
087d126
Adds 2D and 3D conductivity meshes and jsons for tests
AlejandroMunozManterola Aug 26, 2024
70e4798
Updates gitignore
AlejandroMunozManterola Aug 26, 2024
f14a345
Fixes bug in driver that limited sources to one
AlejandroMunozManterola Aug 26, 2024
ff50fc9
Adds prelimitary tests and methods for conductivity related implement…
AlejandroMunozManterola Sep 23, 2024
d8439aa
Adds the capacity to define boundary (internal and true) material par…
AlejandroMunozManterola Sep 23, 2024
abdbcef
Removes spectral tests
lmdiazangulo Oct 7, 2024
ca48d43
Reorganizing Solver3DTests
lmdiazangulo Oct 7, 2024
149843e
Reorganizing Solver3DTests
lmdiazangulo Oct 7, 2024
decef91
Solves some comments and adds citation
AlejandroMunozManterola Oct 16, 2024
f009984
Fixes some warnings when compiling.
AlejandroMunozManterola Oct 18, 2024
af01ea5
Adds changes to address conductive material properties and exceptions.
AlejandroMunozManterola Oct 18, 2024
34305d6
Fixes typos
AlejandroMunozManterola Oct 18, 2024
6d0d1c5
Uses physicalConstants namespace variables in files instead of local …
AlejandroMunozManterola Oct 18, 2024
c053544
Fixes missing maxwell namespace for some test files
AlejandroMunozManterola Oct 18, 2024
7201189
Minor Cmakelists formatting
AlejandroMunozManterola Oct 18, 2024
816550e
Disables test used for measuring performance.
AlejandroMunozManterola Oct 18, 2024
6f820a5
Typo on test disabling.
AlejandroMunozManterola Oct 18, 2024
970fc79
Merge pull request #34 from OpenSEMBA/alejandro
AlejandroMunozManterola Oct 18, 2024
72aec3c
Merge remote-tracking branch 'origin/dev' into luis
lmdiazangulo Oct 22, 2024
ffc781f
Fixing tests
lmdiazangulo Oct 22, 2024
ef4b6a9
Removes duplicate 3D sma hexa test. Improves performance and adds con…
AlejandroMunozManterola Oct 24, 2024
3c8d647
Temporarily disables interiorPEC test that requires a mesh redo.
AlejandroMunozManterola Oct 24, 2024
7a2ea0f
Update README.md
AlejandroMunozManterola Oct 24, 2024
2f057d4
Update ubuntu-gnu.yml
AlejandroMunozManterola Oct 24, 2024
8ed9c21
Update windows-msvc.yml
AlejandroMunozManterola Oct 24, 2024
25789b4
Moves interior PEC 3D test to cases and configures a case
AlejandroMunozManterola Oct 24, 2024
e995c2f
Fixes critical bug when assigning flags to interior boundaries on cas…
AlejandroMunozManterola Oct 24, 2024
6ae54a9
Updates test information, adds expected pass conditions.
AlejandroMunozManterola Oct 24, 2024
0e3d54a
Merge branch 'alejandro' of github.com:OpenSEMBA/dgtd into alejandro
AlejandroMunozManterola Oct 24, 2024
3e58a7b
Fixes windows workflow banner so it doesn't point at another branch
AlejandroMunozManterola Oct 24, 2024
598b7d2
Merge pull request #35 from OpenSEMBA/alejandro
lmdiazangulo Oct 24, 2024
93b9edb
Implements Command Prompt functionality to call for new opensemba_dgt…
AlejandroMunozManterola Oct 28, 2024
24fbe70
Adds check to ensure input file is .json type file.
AlejandroMunozManterola Oct 28, 2024
273baad
Update ubuntu-gnu.yml
AlejandroMunozManterola Oct 28, 2024
3ae1346
Update windows-msvc.yml
AlejandroMunozManterola Oct 28, 2024
6013712
Adds output to inform the user on the operations being performed, add…
AlejandroMunozManterola Oct 28, 2024
8f57141
Merge branch 'alejandro' of github.com:OpenSEMBA/dgtd into alejandro
AlejandroMunozManterola Oct 28, 2024
9e6b6a2
makes variables const
AlejandroMunozManterola Oct 28, 2024
525742a
Merge pull request #36 from OpenSEMBA/alejandro
AlejandroMunozManterola Oct 28, 2024
6555123
Merge branch 'main' into dev
AlejandroMunozManterola Oct 28, 2024
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
66 changes: 66 additions & 0 deletions .github/workflows/ubuntu-gnu.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
name: ubuntu-gnu

on:
push:
branches:
- luis
- alejandro

pull_request:
branches:
- main
- dev

jobs:

builds-and-test:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: 'recursive'

- name: Setup vcpkg
uses: lukka/run-vcpkg@v11

- name: Setup Ninja
uses: ashutoshvarma/setup-ninja@master

# - name: Builds mfem-geg
# run: |
# cmake -S external/mfem-geg \
# -B mfem-geg-build/ \
# -DCMAKE_BUILD_TYPE=Release \
# -DCMAKE_INSTALL_PREFIX=mfem-geg-install \
# -G Ninja
# cmake --build mfem-geg-build/ -j
# cmake --install mfem-geg-build/

- name: Builds semba/dgtd
uses: lukka/run-cmake@v10
with:
configurePreset: 'gnu'
buildPreset: 'gnu'
buildPresetAdditionalArgs: "['--parallel']"

- name: Run hesthavenComparison tests
run: build/gnu/bin/hesthavenComparison_tests

- name: Run mfem tests
run: build/gnu/bin/mfem_tests

- name: Run maxwell tests
run: build/gnu/bin/maxwell_tests

- name: Run maxwell solver tests
run: build/gnu/bin/maxwell_solver_tests

# - name: Run system tests
# run: |
# build/gnu/bin/cases_tests
# build/gnu/bin/rcs_tests



68 changes: 68 additions & 0 deletions .github/workflows/windows-msvc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
name: windows-msvc

permissions:
actions: write

on:
push:
branches:
- main
- alejandro

pull_request:
branches:
- main
- dev


jobs:
builds-and-tests:

runs-on: windows-latest

steps:

- name: checkout
uses: actions/checkout@v4
with:
submodules: 'recursive'

- name: getcmake
uses: lukka/get-cmake@latest

- name: Setup vcpkg
uses: lukka/run-vcpkg@v11

- name: Setup Ninja
uses: ashutoshvarma/setup-ninja@master

# - name: Builds mfem-geg
# run: |
# cmake -S external/mfem-geg -B mfem-geg-build/ -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=mfem-geg-install -G Ninja
# cmake --build mfem-geg-build/ -j --config Release
# cmake --install mfem-geg-build/ --config Release

- name: Builds semba/dgtd
uses: lukka/run-cmake@v10
env:
MFEM_DIR: 'mfem-geg-install/lib/cmake/mfem/'
with:
configurePreset: 'gnu'
buildPreset: 'gnu'
buildPresetAdditionalArgs: "['--parallel']"

- name: Run unit tests
run: |
build/gnu/bin/hesthavenComparison_tests
build/gnu/bin/mfem_tests
build/gnu/bin/maxwell_tests

# - name: Run system tests
# run: |
# build/gnu/bin/cases_tests
# build/gnu/bin/maxwell_solver_tests
# build/gnu/bin/rcs_tests




47 changes: 11 additions & 36 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
.vs/
.vscode/

build/
out/
ParaView/
NearToFarFieldExports/
resources/*.msh

*.csv
*.gf
Expand Down Expand Up @@ -46,40 +51,10 @@ mesh.mesh
.vs/*
out/*
/CMakeSettings.json
/tnf_sym_9.txt
/tnf_sym_8.txt
/tnf_sym_7.txt
/tnf_sym_6.txt
/tnf_sym_5.txt
/tnf_sym_4.txt
/tnf_sym_3.txt
/tnf_sym_2.txt
/tnf_sym_11.txt
/tnf_sym_10.txt
/tnf_sym_1.txt
/tnf_sym_0.txt
/tnf_9.txt
/tnf_8.txt
/tnf_7.txt
/tnf_6.txt
/tnf_5.txt
/tnf_4.txt
/tnf_3.txt
/tnf_2.txt
/tnf_11.txt
/tnf_10.txt
/tnf_1.txt
/tnf_0.txt
/fss_sym_9.txt
/fss_sym_8.txt
/fss_sym_7.txt
/fss_sym_6.txt
/fss_sym_5.txt
/fss_sym_4.txt
/fss_sym_3.txt
/fss_sym_2.txt
/fss_sym_11.txt
/fss_sym_10.txt
/fss_sym_1.txt
/fss_sym_0.txt
.vscode/settings.json
/SpaceSwapping/L2toND
/testData/dftData


CMakeUserPresets.json
/dotvs_backup
4 changes: 1 addition & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
[submodule "pythonBindings/pybind11"]
path = pythonBindings/pybind11
url = [email protected]:pybind/pybind11.git
[submodule "external/opensemba-core"]
path = external/opensemba-core
url = [email protected]:OpenSEMBA/core.git
[submodule "external/mfem-geg"]
path = external/mfem-geg
url = [email protected]:OpenSEMBA/mfem.git
ignore = dirty
21 changes: 21 additions & 0 deletions CITATION.cff
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: García
given-names: Salvador G.
orcid: https://orcid.org/0000-0001-7317-1423
- family-names: Angulo
given-names: Luis D.
orcid: https://orcid.org/0000-0002-1690-7892
- family-names: Muñoz
given-names: Alejandro
orcid: https://orcid.org/0000-0002-2406-8128
- family-names: Gascón
given-names: Alberto
orcid: https://orcid.org/0000-0003-1190-2248
- family-names: Mazariegos
given-names: Farah Amador
orcid: https://orcid.org/0009-0009-4591-9313
url: "https://github.com/opensemba/dgtd"
title: "semba-dgtd"
date-released: 2024-01-01
21 changes: 9 additions & 12 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,4 @@
cmake_minimum_required(VERSION 3.0)

if(NOT DEFINED _VCPKG_INSTALLED_DIR AND DEFINED ENV{_VCPKG_INSTALLED_DIR})
set(_VCPKG_INSTALLED_DIR $ENV{_VCPKG_INSTALLED_DIR})
endif()

if(NOT DEFINED CMAKE_TOOLCHAIN_FILE AND DEFINED ENV{CMAKE_TOOLCHAIN_FILE})
set(CMAKE_TOOLCHAIN_FILE $ENV{CMAKE_TOOLCHAIN_FILE})
endif()
cmake_minimum_required(VERSION 3.5)

set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
Expand All @@ -18,12 +10,20 @@ set(CMAKE_CXX_STANDARD 17)

option(MAXWELL_USE_MPI OFF)
option(MAXWELL_ENABLE_PYTHON_BINDINGS OFF)
option(MAXWELL_USE_MFEM_AS_SUBDIRECTORY ON)

include_directories(
src/
src/maxwell/
)

if (MAXWELL_USE_MFEM_AS_SUBDIRECTORY)
add_subdirectory(external/mfem-geg)
else ()
find_package(MFEM CONFIG REQUIRED)
include_directories(${MFEM_INCLUDE_DIRS})
endif()

add_subdirectory(src)

if(MAXWELL_ENABLE_PYTHON_BINDINGS)
Expand All @@ -34,6 +34,3 @@ enable_testing()

add_subdirectory(test/ )

add_test(maxwell ${CMAKE_BINARY_DIR}/bin/maxwell_tests)
add_test(mfem ${CMAKE_BINARY_DIR}/bin/mfem_tests)
add_test(hesthavenComparison ${CMAKE_BINARY_DIR}/bin/hesthavenComparison_tests)
59 changes: 59 additions & 0 deletions CMakePresets.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
{
"version": 6,
"cmakeMinimumRequired": {
"major": 3,
"minor": 21,
"patch": 0
},
"configurePresets": [
{
"name": "gnu",
"displayName": "GNU release",
"binaryDir": "${sourceDir}/build/${presetName}",
"generator": "Ninja",
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": {
"type": "FILEPATH",
"value": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake"
},
"MAXWELL_USE_MFEM_AS_SUBDIRECTORY":{
"type": "BOOL",
"value": true
},
"CMAKE_BUILD_TYPE": {
"type": "STRING",
"value": "Release"
}
}
},
{
"name": "gnu-dbg",
"displayName": "GNU debug",
"inherits": "gnu",
"cacheVariables": {
"MFEM_DIR": {
"type": "FILEPATH",
"value": "$env{MFEM_DBG_DIR}"
},
"CMAKE_BUILD_TYPE": {
"type": "STRING",
"value": "Debug"
}
}
}
],
"buildPresets": [
{
"name": "gnu",
"configurePreset": "gnu",
"displayName": "Build with GNU release",
"jobs": 0
},
{
"name": "gnu-dbg",
"configurePreset": "gnu-dbg",
"displayName": "Build with GNU debug",
"jobs": 0
}
]
}
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# maxwell-dgtd
Maxwell's curl equations solver using discontinuous Galerkin methods
[![ubuntu-gnu](https://github.com/OpenSEMBA/dgtd/actions/workflows/ubuntu-gnu.yml/badge.svg)](https://github.com/OpenSEMBA/dgtd/actions/workflows/ubuntu-gnu.yml)
[![windows-msvc](https://github.com/OpenSEMBA/dgtd/actions/workflows/windows-msvc.yml/badge.svg)](https://github.com/OpenSEMBA/dgtd/actions/workflows/windows-msvc.yml)

# semba-dgtd
Maxwell's curl equations solver using discontinuous Galerkin methods

## Compiling

Expand Down Expand Up @@ -133,6 +135,3 @@ Example of a sources section with all available types of sources defined for doc
- A totalField source defined on interfaces or boundary faces 1, 2, 3 and 4, polarised on the direction Y for the "E" field and with a propagation vector in the direction X, the wave that will appear will be of type "gaussian" with the defined delay and spread.

https://github.com/OpenSEMBA/dgtd/blob/5dd67ef6435066172e9387d674ea7ccc4c6a8b87/testData/maxwellInputs/1D_PEC_Centered/1D_PEC_Centered.json#L50-L83



2 changes: 1 addition & 1 deletion external/mfem-geg
Submodule mfem-geg updated 1144 files
1 change: 0 additions & 1 deletion external/opensemba-core
Submodule opensemba-core deleted from e6d945
2 changes: 1 addition & 1 deletion pythonBindings/pybind11
Submodule pybind11 updated 112 files
Loading
Loading