Skip to content

DoFHandler: Support virtual degrees of freedom #17

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

Open
wants to merge 116 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
116 commits
Select commit Hold shift + click to select a range
001826a
Add more C++ resources to step-1.
bangerth Aug 12, 2024
aa36639
enable c++ standard library debug checks
tjhei Aug 12, 2024
27d0abf
removed last four void casts and replaced with maybe_unused
ChrisPec27 Aug 12, 2024
a6dccb3
fix void pointer issue
jerett-cc Aug 12, 2024
7779efb
marked potentially unused with [[maybe_unused]]
landinjm Aug 12, 2024
6705821
deal.ii workshop tutorials on PR, tria (5-10) [[maybe_unused]] fix
Aug 12, 2024
8226f16
Removed void casts with maybe unused
eterrell11 Aug 12, 2024
5f2a8f5
run indent
tamiko Aug 12, 2024
499c23f
Fixed error in attribute placement
ChrisPec27 Aug 12, 2024
2bf69f1
Typo configuration
gassmoeller Aug 12, 2024
57a086a
replace (void) casts with [[maybe_unused]]
mkghadban Aug 12, 2024
d8d0d5a
indent
tamiko Aug 13, 2024
819343b
indent
tamiko Aug 13, 2024
3b77914
Replaced (void) cast with maybe unused | Modernize void cast
magmaxt Aug 12, 2024
4add867
MGTransferMF: fix nullptr access
tjhei Aug 13, 2024
fbd38e8
fix test: invalid memory access
tjhei Aug 13, 2024
70f67cf
portable::FEEvaluation documentation fixes
tjhei Aug 12, 2024
1a6281a
Update step-49, step-50 and their diffs.
AE7TB99 Aug 7, 2024
96801c7
Update tests/examples/step-49.diff
AE7TB99 Aug 13, 2024
a82d06a
indent and add [[maybe_unused]] to parameter list
jerett-cc Aug 13, 2024
2bb1f4d
Exclude test output from check
gassmoeller Aug 13, 2024
495603d
Added default parameter file for step-71.
marcfehling Aug 13, 2024
b98a9f4
Add remaining examples to tests as run_only.
marcfehling Aug 12, 2024
fa6c5c2
Check that diff file exists for every example.
marcfehling Aug 12, 2024
0b2c9c4
step-37: use MatrixFreeTools::compute_diagonal()
tjhei Aug 13, 2024
6e331b7
Fix undefined behavior when advancing nullptr
masterleinad Aug 13, 2024
1e23171
Merge pull request #17489 from mkghadban/fix_something_funcion_lib
tjhei Aug 13, 2024
5230181
Merge pull request #17490 from landinjm/maybe_unused_cpp17
tjhei Aug 13, 2024
4d1f511
cleanup maybe-unused in fe.cc
tjhei Aug 13, 2024
aafd17d
Merge pull request #17502 from magmaxt/remove_void_cast_grid_tools_cc
tjhei Aug 13, 2024
9a2d1a2
Merge pull request #17492 from tjhei/portable-mf-evaluation-flags
masterleinad Aug 13, 2024
a5110d2
Merge pull request #17495 from eterrell11/remove_void_cast_manifold
tjhei Aug 13, 2024
40e6502
Revert "Update tests/examples/step-49.diff"
AE7TB99 Aug 13, 2024
85e82fe
Merge pull request #17485 from tjhei/disable-std-lib-checks
drwells Aug 13, 2024
78bd3f0
Don't use std::uncaught_exception().
drwells Aug 13, 2024
f34daf6
std::uncaught_exceptions(): use > 0, not != 0.
drwells Aug 13, 2024
11494b5
Merge pull request #17486 from marcfehling/test-examples
tamiko Aug 13, 2024
7c53e96
Merge pull request #17509 from jerett-cc/remove_void_cast_function_lib
tjhei Aug 13, 2024
15c5317
Adolc/Symengine: always instantiate complex valued variants
tamiko Aug 13, 2024
16f4fba
Test symengine/batch_optimizer_01*: fix linkage by including vector.t…
tamiko Aug 13, 2024
903ecac
DataOutInterface: remove some reinterpret_casts.
drwells Aug 13, 2024
fae5e74
Merge pull request #17482 from gassmoeller/add_typo_check
tamiko Aug 13, 2024
206d81d
TensorProductPolynomials: remove some reinterpret_casts.
drwells Aug 13, 2024
91a3ac9
Change a variable name in Assert().
drwells Aug 13, 2024
1081f5c
Merge pull request #17519 from drwells/asser-to-assert
tjhei Aug 14, 2024
408c1e4
Merge pull request #17515 from drwells/uncaught-exceptions
masterleinad Aug 14, 2024
a83a3c5
Merge pull request #17512 from masterleinad/fix_ub_nullptt
masterleinad Aug 14, 2024
454a911
Merge pull request #17514 from tjhei/less-maybe-unused
masterleinad Aug 14, 2024
3934f0f
Merge pull request #17461 from AE7TB99/update-step-49-step-50
masterleinad Aug 14, 2024
d6bcb68
TensorProductPolynomialsBubbles: remove some reinterpret_casts.
drwells Aug 13, 2024
e3d8a65
ScalarPolynomialsBase: remove some reinterpret_casts.
drwells Aug 13, 2024
1c90113
PolynomialSpace: remove some reinterpret_casts.
drwells Aug 13, 2024
0538c8f
PolynomialsRannacherTurek: remove some reinterpret_casts.
drwells Aug 13, 2024
9b9e6b7
Merge pull request #17513 from tamiko/fix_symengine_tests
tamiko Aug 14, 2024
95a60ce
Merge pull request #17517 from tjhei/tutorials-compute-diagonal
kronbichler Aug 14, 2024
b3b6590
Merge SolutionTransfer and p::d::SolutionTransfer
pcafrica Jul 10, 2023
18cc381
Assert: make release mode variant work in constexpr context
tamiko Aug 14, 2024
ae8739d
Add a note to step-86.
bangerth Aug 14, 2024
b58efb6
Improve an error message.
bangerth Aug 14, 2024
6b6e424
Assert: guard new release variant with DEAL_II_HAVE_CXX20
tamiko Aug 14, 2024
aa7cb88
CMake: set -Wno-unused-parameter in release mode
tamiko Aug 14, 2024
b3a25f5
Portable MatrixFree: use if constexpr for hanging nodes implementation
masterleinad Aug 14, 2024
83176ed
Merge pull request #17529 from bangerth/error
tjhei Aug 14, 2024
85373fe
Merge pull request #17518 from drwells/remove-reinterpret-casts
tjhei Aug 14, 2024
a3c40e7
Merge pull request #17483 from bangerth/1
drwells Aug 14, 2024
eda6e30
Fix a typo test.
marcfehling Aug 14, 2024
4bf2081
Merge pull request #15706 from pcafrica/serialization_solution_transfer
peterrum Aug 14, 2024
45eecbc
Merge pull request #17528 from bangerth/86
bangerth Aug 14, 2024
ebeddb9
Merge pull request #17524 from tamiko/fix_release_mode
bangerth Aug 14, 2024
7c7f26e
Merge pull request #17487 from ChrisPec27/remove_void_cast_distribute…
gassmoeller Aug 14, 2024
52f56ef
Merge pull request #17497 from OresteMarquis/remove_void_cast_tria_5to10
gassmoeller Aug 14, 2024
db39395
Merge pull request #17531 from marcfehling/fix_prm26
tjhei Aug 14, 2024
8e0e726
Changed void cast to [[maybe_unused]]
farriscr18 Aug 13, 2024
12a91a1
Merge pull request #17530 from masterleinad/use_if_constexpr_matrix_f…
marcfehling Aug 14, 2024
c217eb4
TensorProductPolynomials: remove some reinterpret_casts.
drwells Aug 14, 2024
4317b23
AffineConstraints: remove some reinterpret_casts.
drwells Aug 14, 2024
09e86f4
fix compilation warning (unused arg)
tjhei Aug 15, 2024
e18e73f
Fix compiling SolutionTransfer with complex values
masterleinad Aug 15, 2024
32030e6
Merge pull request #17534 from drwells/use-more-if-constexpr
tjhei Aug 15, 2024
fbf6e5f
Merge pull request #17538 from masterleinad/fix_solution_transfer_com…
tjhei Aug 15, 2024
ec2decf
one more
tjhei Aug 15, 2024
cbb3f8e
Merge pull request #17537 from tjhei/fix-compile-warn
tamiko Aug 15, 2024
4391263
Drop support for p4est versions older than 2.2.
drwells Aug 15, 2024
9dde101
Update some uses of maybe unused
gassmoeller Aug 14, 2024
476ab93
Addressed comments
farriscr18 Aug 14, 2024
e7fbd2d
Remove CUDAWrappers, related documentation and macros
masterleinad Aug 11, 2024
f549fc6
Fix test
masterleinad Aug 14, 2024
c056146
Support multiple components in Portable::MatrixFree.
peterrum Aug 13, 2024
3b13bb8
Merge pull request #17539 from drwells/p4est-2.2
marcfehling Aug 15, 2024
a57493d
Replaced void cast with maybe_unused
Sanjeeb-Poudel Aug 15, 2024
d4050c2
removed (void) occurrences from source/fe/fe_face.cc
npcantrell Aug 15, 2024
37dd7c7
Removed maybe unused in [[ ]]
Aug 12, 2024
952c6e2
Merge pull request #17525 from peterrum/kokkos_multi_componenent
masterleinad Aug 16, 2024
19f5541
Merge pull request #17504 from Sanjeeb-Poudel/remove_void_tria_access…
tjhei Aug 16, 2024
5d3cf88
MPI allreduce: Do not invoke MPI function for MPI_COMM_SELF
kronbichler Aug 16, 2024
9ee75fb
Fix typo: residuum -> residual
kronbichler Aug 16, 2024
229c063
Improve our 32-bit vs 64-bit PETSc documentation.
drwells Aug 15, 2024
2e00b3c
Merge pull request #17546 from kronbichler/fix_typo2
masterleinad Aug 16, 2024
51e6365
Merge pull request #17545 from kronbichler/simplify_mpi_comm_self
tjhei Aug 16, 2024
88db34a
Merge pull request #17503 from PapaKwansa/remove_void_cast_mpi
tjhei Aug 16, 2024
7cfa4a0
Merge pull request #17501 from farriscr18/remove_void_cast_function_lib
gassmoeller Aug 16, 2024
f30207e
Merge pull request #17541 from drwells/document-petsc-int
tjhei Aug 16, 2024
71cca2f
Merge pull request #17543 from npcantrell/removed_void_cast_in_source…
tjhei Aug 16, 2024
97dcbab
Fix some unused warnings.
marcfehling Aug 16, 2024
97de38f
Always use Kokkos::abort when it's noreturn
masterleinad Aug 16, 2024
1223e67
Merge pull request #17474 from masterleinad/remove_cudawrappers
Rombur Aug 16, 2024
a505018
Merge pull request #17548 from marcfehling/unused
gassmoeller Aug 16, 2024
72cb4fb
Merge pull request #17532 from gassmoeller/update_maybe_unused
tjhei Aug 16, 2024
9766ecc
Check for Fortran again
peterrum Aug 16, 2024
ecb7863
Merge pull request #17552 from masterleinad/kokkos_noreturn_abort
marcfehling Aug 16, 2024
3262666
Merge pull request #17560 from peterrum/fortran
tamiko Aug 16, 2024
d2d5db0
DoFHandler: add interface for virtual degrees of freedom
tamiko Jun 6, 2024
35b8afe
TEMPORARY
tamiko Jun 8, 2024
3229e9d
DoFHandler: renumber virtual dofs
tamiko Aug 14, 2024
75f5db5
TEMPORARY
tamiko Aug 14, 2024
3cbe610
INCOMPLETE REFACTORING
tamiko Aug 16, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
14 changes: 4 additions & 10 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,6 @@ jobs:
-D CMAKE_CXX_COMPILER=${GITHUB_WORKSPACE}/kokkos/bin/nvcc_wrapper \
-D DEAL_II_CXX_FLAGS='-Werror -Wno-non-template-friend' \
-D DEAL_II_EARLY_DEPRECATIONS=ON \
-D DEAL_II_WITH_CUDA="ON" \
-D DEAL_II_WITH_KOKKOS="ON" \
-D KOKKOS_DIR=${GITHUB_WORKSPACE}/../kokkos-install \
-D DEAL_II_WITH_MPI="ON" \
Expand All @@ -386,10 +385,8 @@ jobs:
- name: build CUDA tests
run: |
cd build
make -j2 setup_tests_cuda setup_tests_matrix_free_kokkos
cd tests/cuda
make -j2 compile_test_executables
cd ../matrix_free_kokkos
make -j2 setup_tests_matrix_free_kokkos
cd tests/matrix_free_kokkos
make -j2 compile_test_executables

#############################
Expand Down Expand Up @@ -463,7 +460,6 @@ jobs:
-D DEAL_II_FORCE_BUNDLED_BOOST=ON \
-D DEAL_II_CXX_FLAGS="-std=c++17" \
-D DEAL_II_EARLY_DEPRECATIONS=ON \
-D DEAL_II_WITH_CUDA="ON" \
-D DEAL_II_WITH_KOKKOS="ON" \
-D KOKKOS_DIR=${GITHUB_WORKSPACE}/../kokkos-install \
-D DEAL_II_WITH_MPI="ON" \
Expand All @@ -484,8 +480,6 @@ jobs:
- name: build CUDA tests
run: |
cd build
make -j2 setup_tests_cuda setup_tests_matrix_free_kokkos
cd tests/cuda
make -j2 compile_test_executables
cd ../matrix_free_kokkos
make -j2 setup_tests_matrix_free_kokkos
cd tests/matrix_free_kokkos
make -j2 compile_test_executables
62 changes: 62 additions & 0 deletions .github/workflows/typos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
name: Spell Check with Typos
on:
push:
branches:
- 'master'
pull_request:

concurrency:
group: ${{ github.actor }}-${{ github.ref }}-typos
cancel-in-progress: true

permissions: write-all

jobs:
typos-check:
name: Check for new typos
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout the Checkout Actions Repository
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Check spelling with typos
env:
GH_TOKEN: "${{ github.token }}"
run: |
mkdir -p "${{ runner.temp }}/typos"
wget --secure-protocol=TLSv1_3 --max-redirect=1 --retry-on-host-error --retry-connrefused --tries=3 \
--quiet --output-document=- "https://github.com/crate-ci/typos/releases/download/v1.19.0/typos-v1.19.0-x86_64-unknown-linux-musl.tar.gz" \
| tar -xz -C "${{ runner.temp }}/typos" ./typos
"${{ runner.temp }}/typos/typos" --version

"${{ runner.temp }}/typos/typos" --config .typos.toml --format json doc examples include source tests >> ${{ runner.temp }}/typos.jsonl || true
- name: Update repo with fixable typos
uses: crate-ci/[email protected]
with:
write_changes: true
config: ./.typos.toml
files: doc examples include source tests
- name: Store typos diff file
run: git diff > changes-typos.diff
- name: archive typos results
uses: actions/upload-artifact@v4
with:
name: changes-typos.diff
path: changes-typos.diff
- name: Report typos as warnings
run: |
python -c '
import sys, json
old = set()
clean = True
with open(sys.argv[1]) as file:
for line in file:
new = json.loads(line)
if new["type"] == "typo":
clean = False
print("::warning file={},line={},col={}::perhaps \"{}\" should be \"{}\".".format(
new["path"], new["line_num"], new["byte_offset"],
new["typo"], " or ".join(new["corrections"])))
sys.exit(1 if not clean else 0)' "${{ runner.temp }}/typos.jsonl"
54 changes: 54 additions & 0 deletions .typos.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
[default]
# Don't check text that matches the following regexes'
extend-ignore-re = [
'\\cite\{.*\}', # citations contain arbitrary keys,
'@cite \w'
]

[default.extend-identifiers]
# Don't correct these whole identifiers (word-groups)
bungartz2016precice = "bungartz2016precice"
chourdakis2021precice = "chourdakis2021precice"
y_FoR = "y_FoR"
use_degress = "use_degress"
MPI_MODE_WRONLY = "MPI_MODE_WRONLY"
Equil = "Equil"
multline = "multline"

[default.extend-words]
# Don't correct these word (parts)
OCE = "OCE"
MIS = "MIS"
parm = "parm"
nd = "nd"
inout = "inout"
datas = "datas"
Elemente = "Elemente"
Methode = "Methode"
workd = "workd"
Stoer = "Stoer"
Lik = "Lik"
htmp = "htmp"
Numer = "Numer"
ue = "ue"
reord = "reord"
Uite = "Uite"
strat = "strat"
Ned = "Ned"
BA = "BA"
Fike = "Fike"
clen = "clen"

# Don't check the following files
[files]
extend-exclude = [
"*.output",
"*.svg",
"*.pvsm",
"*.vtu",
"*.bib", # bib entries contain many arbitrary abbreviations
# the following files contain typos on purpose
"tests/parameter_handler/parameter_handler_25.cc",
"tests/parameter_handler/prm/parameter_handler_26_fail.json",
"tests/parameter_handler/prm/parameter_handler_26_fail.prm",
]
15 changes: 15 additions & 0 deletions build/step-40/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
set(TARGET "step-40")

set(TARGET_SRC ${TARGET}.cc)

# Usually, you will not need to modify anything beyond this point...

cmake_minimum_required(VERSION 3.13.4)

find_package(deal.II 9.6.0 REQUIRED
HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
)

deal_ii_initialize_cached_variables()
project(${TARGET})
deal_ii_invoke_autopilot()
Loading
Loading