Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
7b70be5
Removes deprecated tests, updates some json
AlejandroMunozManterola Feb 18, 2025
3b883d6
Refactors 2D_InteriorBdr tests into simpler unified version that is b…
AlejandroMunozManterola Feb 18, 2025
b265f67
Removes unimplemented Conductivity tests.
AlejandroMunozManterola Feb 18, 2025
b68994e
Reorganizes CMake
lmdiazangulo Feb 19, 2025
9cceaec
Performance tips
lmdiazangulo Feb 19, 2025
225dbda
Merge branch 'alejandro' of github.com:OpenSEMBA/dgtd into alejandro
AlejandroMunozManterola Feb 19, 2025
b7cc7f8
Moves some cmake definitions
AlejandroMunozManterola Feb 19, 2025
7c615d1
Refactors tests and evolution operator
AlejandroMunozManterola Feb 19, 2025
7cf6a1c
Fixes poorly defined include
AlejandroMunozManterola Feb 19, 2025
e78a45c
Fixes refactoring bugs, fixes memory leak
AlejandroMunozManterola Feb 19, 2025
68b6ce8
Merge pull request #47 from OpenSEMBA/alejandro
AlejandroMunozManterola Feb 20, 2025
0b04fae
Refactoring old Evolution operator (now MaxwellEvolution) (tests will…
AlejandroMunozManterola Feb 20, 2025
731a1ee
Reimplements new maxwell operator constructor for global operator
AlejandroMunozManterola Feb 21, 2025
e5cd085
Complete overhaul of operator building/assembly and implementation of…
AlejandroMunozManterola Feb 25, 2025
f6a45b8
Adds mesh test for implementation of curved elements detection algori…
AlejandroMunozManterola Feb 25, 2025
df469c9
Fixes ubuntu disliking braced initialization of some classes.
AlejandroMunozManterola Feb 25, 2025
eddcdf5
Keeps fixing Ubuntu initializations
AlejandroMunozManterola Feb 25, 2025
2c173ea
More ubuntu initialization fixes
Feb 25, 2025
df0670e
Merge pull request #48 from OpenSEMBA/alejandro
AlejandroMunozManterola Feb 26, 2025
92a639c
Implements linear and curved algorithm and modifies previous test to …
AlejandroMunozManterola Feb 26, 2025
72a6660
Implements curved element support for Hesthaven Evolution Op
AlejandroMunozManterola Feb 26, 2025
b0f0580
Merge branch 'alejandro' of github.com:OpenSEMBA/dgtd into alejandro
AlejandroMunozManterola Feb 26, 2025
822c6a5
Adds restriction to definition of TFSF on curved elements (not suppor…
AlejandroMunozManterola Feb 26, 2025
6730e7d
Fixes multiple issues regarding Maxwell, Global, Hesthaven operators.
AlejandroMunozManterola Mar 4, 2025
a1af414
Fixes Hesthaven Evolution curved elements and bessel test
AlejandroMunozManterola Mar 5, 2025
9d67a34
Adds conditional definition of BesselJ6 function due to Linux/Windows…
AlejandroMunozManterola Mar 5, 2025
3ed0baa
Merge pull request #49 from OpenSEMBA/alejandro
AlejandroMunozManterola Mar 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
34 changes: 9 additions & 25 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,22 @@ project(dgtd)

set(CMAKE_CXX_STANDARD 17)

option(MAXWELL_USE_MPI OFF)
option(MAXWELL_ENABLE_PYTHON_BINDINGS OFF)
option(MAXWELL_USE_MFEM_AS_SUBDIRECTORY ON)
option(SEMBA_DGTD_ENABLE_MPI "Enable MPI support" OFF )
option(SEMBA_DGTD_ENABLE_PYTHON_BINDINGS "Enable Python bindings" OFF )
option(SEMBA_DGTD_ENABLE_MFEM_AS_SUBDIRECTORY "Use MFEM as a subdirectory" ON )

option(MAXWELL_ENABLE_EXTENSIVE_CASE_TESTS ON)
option(MAXWELL_ENABLE_EXTENSIVE_SOLVER_TESTS ON)
option(MAXWELL_ENABLE_EXTENSIVE_RCS_TESTS ON)
option(SEMBA_DGTD_ENABLE_EXTENSIVE_CASE_TESTS "Enable extensive case tests" ON )
option(SEMBA_DGTD_ENABLE_EXTENSIVE_SOLVER_TESTS "Enable extensive solver tests" ON )
option(SEMBA_DGTD_ENABLE_EXTENSIVE_RCS_TESTS "Enable extensive RCS tests" ON )

option(MAXWELL_SHOW_TIMER_INFORMATION OFF)
option(SEMBA_DGTD_ENABLE_TIMER_INFORMATION "Enable timer information" OFF)

include_directories(
src/
src/maxwell/
)

if (MAXWELL_USE_MFEM_AS_SUBDIRECTORY)
if (SEMBA_DGTD_ENABLE_MFEM_AS_SUBDIRECTORY)
add_subdirectory(external/mfem-geg)
else ()
find_package(MFEM CONFIG REQUIRED)
Expand All @@ -32,26 +32,10 @@ endif()

add_subdirectory(src)

if(MAXWELL_ENABLE_PYTHON_BINDINGS)
if(SEMBA_DGTD_ENABLE_PYTHON_BINDINGS)
add_subdirectory(pythonBindings)
endif()

if(MAXWELL_ENABLE_EXTENSIVE_CASE_TESTS)
add_definitions(-DENABLE_EXTENSIVE_CASE_TESTS)
endif()

if(MAXWELL_ENABLE_EXTENSIVE_SOLVER_TESTS)
add_definitions(-DENABLE_EXTENSIVE_SOLVER_TESTS)
endif()

if(MAXWELL_ENABLE_EXTENSIVE_RCS_TESTS)
add_definitions(-DENABLE_EXTENSIVE_RCS_TESTS)
endif()

if(MAXWELL_SHOW_TIMER_INFORMATION)
add_definitions(-DSHOW_TIMER_INFORMATION)
endif()

enable_testing()

add_subdirectory(test/ )
Expand Down
10 changes: 5 additions & 5 deletions CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
"MAXWELL_USE_MFEM_AS_SUBDIRECTORY": "ON"
"SEMBA_DGTD_ENABLE_MFEM_AS_SUBDIRECTORY": "ON"
}
},
{
"name": "gnu",
"displayName": "GNU release",
"inherits": "default",
"cacheVariables": {
"MAXWELL_ENABLE_EXTENSIVE_CASE_TESTS": "ON",
"MAXWELL_ENABLE_EXTENSIVE_SOLVER_TESTS": "ON",
"SEMBA_DGTD_ENABLE_EXTENSIVE_CASE_TESTS": "ON",
"SEMBA_DGTD_ENABLE_EXTENSIVE_SOLVER_TESTS": "ON",
"CMAKE_BUILD_TYPE": "Release"
}
},
Expand All @@ -38,8 +38,8 @@
"displayName": "x64 Release",
"inherits": "default",
"cacheVariables": {
"MAXWELL_ENABLE_EXTENSIVE_CASE_TESTS": "ON",
"MAXWELL_ENABLE_EXTENSIVE_SOLVER_TESTS": "ON",
"SEMBA_DGTD_ENABLE_EXTENSIVE_CASE_TESTS": "ON",
"SEMBA_DGTD_ENABLE_EXTENSIVE_SOLVER_TESTS": "ON",
"CMAKE_BUILD_TYPE": "Release"
}
}
Expand Down
6 changes: 3 additions & 3 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
if (MAXWELL_USE_MPI)
message(STATUS "MAXWELL_USE_MPI:" ${MAXWELL_USE_MPI})
add_compile_definitions(MAXWELL_USE_MPI)
if (SEMBA_DGTD_ENABLE_MPI)
message(STATUS "SEMBA_DGTD_ENABLE_MPI:" ${SEMBA_DGTD_ENABLE_MPI})
add_compile_definitions(SEMBA_DGTD_ENABLE_MPI)
endif()

add_subdirectory(launcher)
Expand Down
3 changes: 2 additions & 1 deletion src/components/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ add_library(maxwell-components STATIC
"SubMesher.cpp"
"RCSManager.cpp"
"RCSExporter.cpp"
)
"ProblemDefinition.cpp"
"DGOperatorFactory.cpp")

get_filename_component(PARENT_DIR ../ ABSOLUTE)
include_directories(${PARENT_DIR})
Expand Down
Loading
Loading