|
version GIT relicensing-7341-gcb9dbcaa45 2026-12-04 11:10:01+00:00
|
This is the list of changes made since the last release of deal.II. All entries are signed with the names of the authors.
Following are a few modifications to the library that unfortunately are incompatible with previous versions of the library, but which we deem necessary for the future maintainability of the library. Unfortunately, some of these changes will require modifications to application programs. We apologize for the inconvenience this causes.
Changed: FE_RaviartThomasNodal now numbers the degrees of freedom on faces 2 and 3 of the reference cell in 3d with the z-coordinate running fastest, like FE_Q and the face orientation tables. Before, the x-coordinate ran fastest, and the normal component was not continuous across faces where face 2 or 3 of one cell meets a face with a non-standard orientation, e.g., on the mesh of GridGenerator::hyper_ball_balanced(). This changes the order of the degrees of freedom of FE_RaviartThomasNodal in 3d. The new function FE_RaviartThomasNodal::get_lexicographic_numbering() returns this numbering, which MatrixFree now uses for this element.
(Richard Schussnig, 2026/11/21)
Changed: Like for std::vector, the range passed to AlignedVector::insert() may no longer refer to elements of the vector itself. In debug mode, this is checked for ranges of the vector's value type by testing the addresses of the first and the last element of the range. Copy such a range into a separate container before inserting it.
(David Wells, 2026/11/11)
Changed: SparseDirectMUMPS::get_icntl() now returns a pointer to types::mumps_index instead of int, matching the integer type of the MUMPS installation. Code that explicitly stores the returned pointer as int * must use types::mumps_index * or auto * to also support 64-bit MUMPS integers.
(Luca Heltai, 2026/10/18)
Removed: Support for OpenCASCADE versions lower than 7.0.0.
(Gordan Segon, 2026/10/10)
Deprecated: The constructor and the respective reinit functions that allowed to use a PETScWrappers::MPI::SparseMatrix using std::vectors that are indexed by rank to determine the local size of the matrix are deprecated. Please use the reinit() functions that take in an IndexSet instead.
(Jonas Plank, 2026/10/07)
Changed: LinearAlgebra::TpetraWrappers::Vector::max() returned the infinity norm of the vector rather than the maximal value of its elements, so for a vector whose largest-magnitude entry is negative it returned a positive number. It now returns the maximal element, as documented and as TrilinosWrappers::MPI::Vector::max() has always done. Code relying on the previous behaviour should call linfty_norm() instead.
(Ernesto Ismail, 2026/08/26)
Removed: Deprecations from the 9.6 and 9.8 release have been removed. See https://github.com/dealii/dealii/pull/20082 and https://github.com/dealii/dealii/pull/20090 for details.
(Daniel Arndt, 2026/08/21)
Changed: The cell index exposed to user code in the portable (Kokkos) matrix-free framework is now a global index. Impacts include: Portable::FEEvaluation::get_current_cell_index(), the cell_index passed to Portable::MatrixFree::Data, the cell argument handed to functors by Portable::MatrixFree::evaluate_coefficients(), and the cell argument of Portable::MatrixFree::Data::local_q_point_id() and get_quadrature_point() (and their host equivalents). User code that previously combined get_current_cell_index() with a color offset, or that indexed per-color arrays by cell_index, should now use the global index directly.
(Ryan Moulday, 2026/07/11)
Improved: The SUNDIALS::IDA wrapper now exposes additional IDA integration, initial-condition, linear-solver, and adaptivity controls. It also supports typed inequality constraints, provides the N_Vector operations required by IDA, and adds raw IDA memory access together with a custom setup callback.
(Luca Heltai, 2026/10/07)
New: The class parallel::DefaultTriangulation selects the best available parallel triangulation implementation at compile time (serial Triangulation, parallel::distributed::Triangulation, or parallel::shared::Triangulation with artificial cells). In one dimension, it selects the shared triangulation when MPI is available, since the p4est-based triangulation does not support one dimension.
(Timo Heister, 2026/09/24)
Fixed: Removed the 3d face-orientation polynomial-order cap (k < 5) in FE_Nedelec<3> by computing 3d quad DoF orientation permutations and sign changes analytically from Legendre and Lobatto polynomial parities instead of hardcoded lookup tables. Also fixed an indexing bug in FE_PolyTensor::get_dof_sign_changes() where the local quad DoF index omitted subtracting first_quad_index before taking the remainder modulo n_dofs_per_quad, which previously shifted quad DoF sign lookups for elements with line DoFs such as FE_Nedelec<3>(k) for k >= 4.
(Ce Qin, 2026/12/01)
Fixed: FEEvaluation and FEFaceEvaluation did not change the sign of the degrees of freedom of FE_RaviartThomasNodal on certain faces: in 2d on faces between cells rotated against each other, in 3d on some faces not in standard orientation. On such meshes, e.g., the ones of GridGenerator::hyper_ball() and GridGenerator::hyper_ball_balanced(), the results were wrong, also in VectorTools::project(), which uses MatrixFree for this element. This is now fixed.
(Richard Schussnig, 2026/11/29)
Changed: Debug builds of deal.II with MSVC are now compiled with /O1 instead of /Od. An unoptimized debug build produces a static library that exceeds the 4GB size limit of the MSVC librarian.
(Matthias Maier, 2026/11/28)
New: Triangulation::n_locally_owned_active_cells() is now available for serial triangulations as well as parallel triangulations.
(Timo Heister, 2026/11/28)
Fixed: DoFAccessor::dof_index() and DoFAccessor::vertex_dof_index() returned the degree of freedom of a different object, or accessed memory out of bounds, when called on an object that is only adjacent to artificial cells. With hp capabilities, they triggered an assertion instead. The same applied to DoFAccessor::get_dof_indices() for vertices in 1d. These functions now return numbers::invalid_dof_index for such objects. DoFAccessor::get_dof_indices() on a face or line of an artificial cell moved degrees of freedom to the wrong position if only some of them were stored. It now returns numbers::invalid_dof_index for all of them.
(Matthias Maier, 2026/11/27)
Fixed: LinearAlgebra::TpetraWrappers::PreconditionBase::vmult() and Tvmult() now copy results back to the host when applied to Vector objects with a GPU backend.
(Timo Heister, 2026/11/27)
New: MatrixFreeTools::compute_matrix() now has an overload for Portable::MatrixFree that assembles a Tpetra sparse matrix on the device from a quadrature-point operation. It handles hanging-node constraints and sets constrained diagonal entries to one. Currently, this overload supports only a single MPI process.
(Timo Heister, 2026/11/27)
Fixed: MatrixFree::get_face_active_fe_index() returned the cell vectorization category instead of 0 without hp-adaptivity if MatrixFree::AdditionalData::cell_vectorization_category was set, as opposed to MatrixFree::get_cell_active_fe_index(). The FEFaceEvaluation constructor taking a face range and MatrixFreeTools::compute_diagonal() and MatrixFreeTools::compute_matrix() with face integrals then accessed the shape information out of bounds. Now, both functions return 0 without hp-adaptivity.
(Richard Schussnig, 2026/11/26)
Improved: parallel::accumulate_from_subranges() and parallel::ParallelForInteger::apply_parallel() now run in parallel when deal.II is configured with Taskflow.
(Matthias Maier, 2026/11/24)
Improved: SolverCG now runs a pipelined variant of the conjugate gradient method for LinearAlgebra::distributed::Vector with MemorySpace::Default when the preconditioner is PreconditionIdentity or a DiagonalMatrix. All vector updates of an iteration are fused into a single device kernel before the matrix-vector product, and all inner products into a single kernel after it. This needs only one global reduction per iteration instead of three, reduces the number of kernel calls by design, and reduces the memory access.
(Martin Kronbichler, 2026/11/24)
Fixed: In debug mode, LinearAlgebra::TpetraWrappers::SparseMatrix::add(row,
n_cols, col_indices, values) aborted with a wrong assertion whenever the row had more nonzero than zero entries. This is now fixed.
(Qingyuan Shi, 2026/11/23)
Fixed: VectorTools::interpolate() did not change the sign of the degrees of freedom of H(div) and H(curl) conforming elements, e.g., FE_RaviartThomas, FE_RaviartThomasNodal, and FE_Nedelec, on cells where FEValues changes the sign of the respective shape functions because of the orientation of faces and lines. On such meshes, e.g., the ones of GridGenerator::hyper_ball() and GridGenerator::hyper_ball_balanced(), the contributions of the two cells sharing a face cancelled. The new function FE_PolyTensor::get_dof_sign_changes() returns these signs, and FEValues and VectorTools::interpolate() now both use it.
(Richard Schussnig, 2026/11/23)
Fixed: FEValues computed wrong Hessians of the shape functions of H(div) elements like FE_RaviartThomas, FE_RaviartThomasNodal, FE_BDM, and FE_ABF on cells that are not parallelograms: The terms coming from the second derivative of the Jacobian determinant in the Piola transformation were partly missing and partly counted twice.
(Richard Schussnig, 2026/11/23)
New: Added DoFTools::make_default_constraints(), which creates an unclosed AffineConstraints object initialized with the locally owned and locally relevant DoFs of a DoFHandler and populates it with hanging node constraints.
(Timo Heister, 2026/11/21)
Fixed: FEValues computed wrong gradients and Hessians of the shape functions of H(div) elements like FE_RaviartThomas and of FE_Nedelec on cells that are not parallelograms if the shape function changes sign because of the face or edge orientation: The terms coming from the derivatives of the Jacobian were computed with the shape values that already contained the sign change, and the sum was multiplied by the sign once more. This affected, e.g., the meshes of GridGenerator::hyper_ball() and GridGenerator::hyper_ball_balanced().
(Richard Schussnig, 2026/11/20)
Fixed: FEEvaluation::get_gradient() for FE_RaviartThomasNodal on cells that are not parallelograms used the values on the unit cell, which FEEvaluation::submit_value() overwrites. Calling submit_value() before get_gradient() for the same quadrature point, as in a loop that submits both values and gradients, gave wrong gradients. FEEvaluation and FEFaceEvaluation now keep a copy of these values for get_gradient().
(Richard Schussnig, 2026/11/20)
Fixed: MatrixFree no longer sets up the non-buffering shared-memory indices when the unknowns of each cell are contiguous but the cells do not own disjoint blocks of unknowns in the same order for all DoFHandler objects, as for FE_Q in 1d. FEEvaluation then read and wrote another cell's unknowns wherever a cell's first index was not a multiple of the unknowns per cell, once face data was set up and VectorizedArray had two or more lanes.
(Ondrej Chvala, 2026/11/20)
Fixed: FEEvaluation::submit_curl() for FE_NedelecNodal in 2d now uses the curl of each cell of a cell batch. Previously, it used the curl of the first cell for all cells of the batch, so that matrix-free operators with a curl term gave wrong results.
(Jordan Hoffart, 2026/11/19)
Changed: The internal child orientation/rotation logic for triangles has been updated so that child cells now similar to their parent element.
(Andreas Steger, Dominik Still, 2026/11/18)
Changed: Portable::MatrixFree now stores the indices of degrees of freedom with Dirichlet constraints (constraints without entries) as numbers::invalid_unsigned_int, like MatrixFree. Portable::FEEvaluation reads them as zero in read_dof_values() and skips them in distribute_local_to_global(), so that the result of a cell loop no longer depends on the values of the source vector at these degrees of freedom.
(Ivan Prusak, 2026/11/18)
New: Portable::internal::batched::resolve_hanging_nodes() resolves the hanging-node constraints of a batch of cells, whose values are stored cell after cell, within a single team. Like the cell-wise Portable::internal::resolve_hanging_nodes(), it uses one thread per constrained line of degrees of freedom, now over all cells of the batch, and a single team barrier per direction. The constraint masks of the cells of the batch are passed as a Kokkos::View, which the caller sets up, e.g., as a subview of the masks of all cells.
(Ivan Prusak, 2026/11/17)
Improved: SolverGMRES and SolverFGMRES now use optimized Kokkos kernels for the classical Gram-Schmidt and the delayed classical Gram-Schmidt orthogonalization with LinearAlgebra::distributed::Vector in MemorySpace::Default. The inner products against all basis vectors are computed in a single sweep with a single synchronization and MPI reduction per step, and the vector updates are fused into one sweep.
(Martin Kronbichler, 2026/11/17)
Improved: The time for creating a parallel::fullydistributed::Triangulation with an TriangulationDescription::Description argument, describing meshes with many coarse cells, has been significantly reduced.
(Martin Kronbichler, David Wells, 2026/11/17)
Improved: Portable::internal::resolve_hanging_nodes(), which resolves the hanging-node constraints in Portable::FEEvaluation, now uses one thread per constrained line of degrees of freedom instead of one per degree of freedom. It needs no per-thread temporary array of the size of a cell and a single team barrier per direction, which considerably speeds up matrix-free operators on meshes with hanging nodes, in particular in 3d and for higher polynomial degrees.
(Ivan Prusak, 2026/11/16)
New: The structs Portable::internal::batched::FEEvaluationImpl, FEEvaluationImplCollocation and FEEvaluationImplTransformToCollocation have been added. They evaluate and integrate values and gradients for a batch of cells per team using the batched EvaluatorTensorProduct, with the 1d shape data staged in shared memory by the new Portable::internal::batched::SharedData struct and the cell range of the team described by Portable::internal::batched::BatchedData.
(Ivan Prusak, 2026/11/13)
Fixed: Saving and loading a parallel::fullydistributed::Triangulation with attached cell data now passes offsets in cells to the cell-data serializer. Previously, offsets on nonzero MPI ranks were incorrectly converted to bytes, which could corrupt fixed- and variable-size cell data in checkpoints.
(Luca Heltai, 2026/11/12)
Fixed: AlignedVector::insert() now reuses the existing capacity and grows the allocation geometrically when it needs more memory. Previously, every call reallocated the whole array to exactly the new size, so inserting elements one at a time had quadratic complexity.
(David Wells, 2026/11/10)
Fixed: CylindricalManifold::push_forward_gradient() was missing a factor of the radius in the derivative with respect to the angle.
(Andreas Müsing, 2026/11/09)
Fixed: The variant of GridTools::collect_periodic_faces() that takes a single boundary id accessed faces by indices that are out of range on simplex meshes. The function now throws an exception that points to the variant taking two boundary ids.
(Matthias Maier, 2026/11/06)
Fixed: FE_SimplexP, FE_SimplexDGP, and FE_SimplexP_Bubbles now implement FiniteElement::has_support_on_face(). Previously, the default implementation returned true for all shape functions and faces.
(Matthias Maier, 2026/11/06)
Fixed: GridTools::compute_active_cell_halo_layer() added cells at periodic boundaries to the halo layer that are not connected to the given subdomain. This could result in a deadlock with parallel::shared::Triangulation.
(Matthias Maier, 2026/11/05)
Fixed: parallel::shared::Triangulation::add_periodicity() now reclassifies all artificial cells so that the ghost layer contains the neighbors across periodic faces. Previously, this only happened after the next refinement.
(Matthias Maier, 2026/11/05)
Fixed: MappingFE::transform_real_to_unit_cell() now starts the Newton iteration from the inverse of the affine map through the vertices for simplices and from the barycenter of the reference cell otherwise, instead of the origin of the reference cell, and halves the Newton step until the residual decreases. If the iteration does not converge from the affine map or converges to a point outside of the reference cell, it is restarted from the barycenter. For a point outside of the cell, the result closest to the reference cell is returned. This improves robustness for curved cells of all types. The iteration no longer needs the second derivatives of the shape functions, which are not implemented for wedges and pyramids, such that the function now also works for these cells.
(Richard Schussnig, 2026/11/04)
Fixed: MGTwoLevelTransfer::reinit() with geometric coarsening computed wrong prolongation, restriction, and interpolation operators for finite elements with more than one component and without tensor-product structure.
(Richard Schussnig, 2026/11/02)
Fixed: Trilinos linear operator payloads use the correct intermediate vector maps for sums and products, including supplied inverse actions and their transposes. Inverse actions map from an operator's range to its domain and can be supplied for rectangular operators.
(Luca Heltai, 2026/11/01)
Improved: MappingQ, MappingFE, MappingManifold, MappingP1, and MappingFEField use Physics::Transformations for covariant gradient transformations when the mesh and space dimensions agree. The existing transformations are retained for meshes of positive codimension.
(Luca Heltai, 2026/11/01)
Fixed: ParsedConvergenceTable::error_from_exact() and ParsedConvergenceTable::difference() now select a quadrature matching the finite element's reference cell, allowing error computation on simplex meshes.
(Luca Heltai, 2026/10/28)
Improved: With device-aware MPI, Utilities::MPI::Partitioner now packs the data for all import targets in export_to_ghosted_array_start(), and applies the data from all import targets in import_from_ghosted_array_finish(), with a single kernel and a single fence instead of one kernel and one fence per target. Similarly, import_from_ghosted_array_start() now waits only once for the device before sending to all ghost targets, and import_from_ghosted_array_finish() waits only once, after both applying the imported data and clearing the ghost entries. The imported data is applied in the same order as before, so the results do not change. This reduces the latency of LinearAlgebra::distributed::Vector::update_ghost_values() and compress() for vectors in MemorySpace::Default.
(Shubham Goswami, 2026/10/26)
New: DataOutInterface::write_vtu_in_parallel() and DataOutInterface::write_vtu_with_pvtu_record() now take an additional parameter of type DataOutBase::ParallelWriteMode. If set to DataOutBase::ParallelWriteMode::send_to_rank_0, all participating ranks send their data in sequence to rank 0, which then writes the file. This avoids severe performance problems on network file systems that do not properly support MPI IO.
(Matthias Maier, 2026/10/24)
Fixed: SolverIDR now initializes its random subspace vectors with Kokkos kernels when using vectors in MemorySpace::Default. This also supports block vectors.
(Timo Heister, 2026/10/23)
Fixed: deal.II now strips link-time optimization flags (-flto* and -ffat-lto-objects) from the compile and link flags reported by the MPI compiler wrappers. Previously, for example, MPICH on Ubuntu 24.04 silently enabled LTO for deal.II and user projects. Use DEAL_II_USE_LTO to enable link-time optimization.
(Matthias Maier, 2026/10/21)
Fixed: deal.II now only links against the VTK modules it uses (and their VTK dependencies) instead of every module of the VTK installation. This fixes link errors in user projects caused by the VTK Python wrapping libraries when linking without –as-needed.
(Matthias Maier, 2026/10/20)
Fixed: PETScWrappers::SparseDirectMUMPS::solve(A, x, b) now always factorizes the supplied matrix. Use initialize(A) followed by solve(x, b) to reuse a factorization for multiple right-hand sides.
(Luca Heltai, 2026/10/20)
New: MappingQ1Eulerian and MappingQEulerian accept a ComponentMask to select displacement components from a mixed finite element field. Both classes select the first spacedim components by default and require a finite element to be assigned to the DoFHandler before construction.
(Luca Heltai, 2026/10/20)
Improved: ArpackSolver::solve() has an overload that omits the unused system matrix argument. The existing overload remains available for compatibility and is deprecated.
(Luca Heltai, 2026/10/19)
Fixed: SUNDIALS vector minimum operations now handle MPI ranks with no locally owned entries. This avoids invalid vector accesses during IDA consistent initialization on meshes with empty partitions.
(Luca Heltai, 2026/10/19)
Fixed: FE_Nedelec interpolation in three dimensions now uses the support points of each face and correctly subtracts boundary contributions and orders interior coefficients. In particular, higher-order tensor-product polynomials from the finite element space are now reproduced by interpolation.
(Luca Heltai, 2026/10/18)
New: DataComponentInterpretation::component_is_ignored allows DataOut and related classes to omit selected components of a data vector. Each call to add_data_vector() can select a different subset of components, even when the vectors share a DoFHandler, for example to output two velocities and a pressure from three different vectors in the same mixed finite element space.
(Luca Heltai, 2026/10/15)
New: GridIn::read_abaqus() and GridIn::read_ucd() have been generalized to support meshes with all types of cells that are not dimension-reduced.
(Jonas Plank, 2026/10/12)
New: The Triangulation::match_refinement_across_periodic_boundaries smoothing flag keeps periodic neighbors on the same refinement level by matching refinement and coarsening decisions across periodic faces. This also works with parallel::distributed::Triangulation and is required to use local smoothing GMG on periodic domains.
(Timo Heister, 2026/10/12)
Improved: The step-100 tutorial program now assigns the LAPACKSupport::symmetric property to the local Gram matrix and to the condensed interior matrix, which are both symmetric positive definite. As a consequence, LAPACKFullMatrix::invert() uses a Cholesky factorization instead of an LU factorization to invert them.
(Bruno Blais, 2026/10/10)
Fixed: When running MatrixFree::cell_loop() with BlockVector types and more than 20 components, the setting to zero out vectors would yield wrong results. This is now fixed.
(Jason Landini, Timo Heister, Martin Kronbichler, 2026/10/09)
Fixed: SparsityTools::reorder_Cuthill_McKee() and therefore DoFRenumbering::Cuthill_McKee() had an accidental quadratic complexity in the number of connected components of the graph. This led to a severe slowdown for block-diagonal sparsity patterns, for example for discontinuous elements without flux couplings. This has been fixed.
(Matthias Maier, 2026/10/02)
Fixed: parallel::TriangulationBase::communicate_locally_moved_vertices() could leave stale vertex positions on ghost cells that do not neighbor any cell of the owner of the moved vertex.
(Matthias Maier, 2026/10/02)
New: DoFTools::make_periodicity_constraints_on_level() constructs periodic constraints for multigrid level degrees of freedom, including transformations of vector-valued components. An optional argument of MGConstrainedDoFs::initialize() can skip the default identity periodicity constraints so that such constraints can be supplied through MGConstrainedDoFs::add_user_constraints(). Existing initialization calls retain their behavior.
(Francesco Radica, 2026/09/11)
New: Struct Portable::internal::batched::EvaluatorTensorProduct supporting batched processing of points has been added. The new struct allows for simpler definition than current Porable::internal::EvaluatorTensorProduct via apply_matrix_vector_product() function, and the new struct is meant to replace the current one in coming months. Additionally, fused evaluation of the gradients in the collocation space actoss all direction has been added allowing for faster execution on GPUs.
(Ivan Prusak, Enes Soydan, Ivan Pribec, Martin Kronbichler, 2026/09/09)
Fixed: Particles::ParticleHandler::sort_particles_into_subdomains_and_cells() also searched artificial cells when looking for the new cell of a particle. A particle found in such a cell was then scheduled to be sent to numbers::artificial_subdomain_id, which triggered an assertion in debug mode and silently deleted the particle in release mode without emitting the particle_lost signal. Artificial cells are now skipped, so that these particles are correctly reported as lost. This behavior is checked by the new test particles/particle_handler_sort_03.
(Bruno Blais, 2026/08/31)
Added: LinearAlgebra::TpetraWrappers::Vector now provides the lp_norm() function, bringing it in line with the other distributed vector implementations.
(Álvaro Borrás, 2026/08/31)
Fixed: The recursion in Utilities::fixed_power now explicitly specifies the template parameter for the value type. Previously, template argument deduction failed during compilation for data types enabling automatic differentiation.
(Marc Fehling, 2026/08/26)
Fixed: LinearAlgebra::TpetraWrappers::Vector::min() guarded complex number types with a run-time assertion, but its body still had to compile for every instantiated type and used operator< as well as std::numeric_limits::max(), neither of which is defined for complex numbers. The body is now guarded with if constexpr, so that deal.II can be compiled against a Trilinos providing complex Tpetra instantiations.
(Ernesto Ismail, 2026/08/26)
Fixed: MatrixScaling assumed that the scalar type of a distributed matrix or vector is double. As a consequence deal.II failed to compile against a PETSc configured with complex scalars, because PetscScalar is then std::complex<double>. The arrays passed to the matrix and vector set() functions now use the scalar type of the matrix and vector respectively.
(Ernesto Ismail, 2026/08/25)
Fixed: When importing a Tpetra vector with VectorOperation::min, ReadWriteVector assigned the value from the Kokkos view without converting it to the vector's number type, unlike the surrounding insert, add and max branches. This made deal.II fail to compile whenever the Kokkos scalar type differed from the ReadWriteVector number type.
(Ernesto Ismail, 2026/08/25)
Fixed: The explicit instantiations of LinearAlgebra::TpetraWrappers::PreconditionFROSch::initialize() for the float scalar type declared a non-const DoFHandler argument and therefore did not match the declaration, and one instantiation in the complex-double block was malformed. As a consequence deal.II failed to compile against a Trilinos configured with Tpetra_INST_FLOAT=ON and ShyLU_DDFROSch.
(Ernesto Ismail, 2026/08/25)
Fixed: Portable::FEEvaluation 1D integration kernels were causing build time illegal access error. This has been fixed and associate 1D test added.
(Ivan Prusak, 2026/08/21)
New: The function PreconditionChebyshev::set_degree() allows to change the number of iterations, i.e., the underlying degree of the Chebyshev polynomial, after the preconditioner has been initialized.
(Martin Kronbichler, 2026/08/18)
New: There are two new functions, PreconditionChebyshev::vmult_with_last_residual_norm() and PreconditionChebyshev::step_with_last_residual_norm() that, as a byproduct of the last iteration step in the respective PreconditionChebyshev::vmult() and PreconditionChebyshev::step(), also compute the norm of the residual appearing in that step. While this quantity is not the final residual after completion of the respective operation, the new option nonetheless gives the order-of-magnitude of the error remaining after the Chebyshev iteration without requiring an additional matrix-vector product.
(Martin Kronbichler, 2026/08/18)
Fixed: A test that provides both an unannotated comparison file (foo.output) and one carrying an .mpirun=N. annotation (foo.mpirun=N.output) shares a single executable target between all of its variants. Only the annotated variants required the setup fixture that builds this shared target, so the unannotated variant could be scheduled concurrently with it by ctest -j. Both then invoked a build of the same target, and the two concurrent builds could clobber the same object file, letting the test fail with a linker error. All variants of such a test now require the setup fixture. This regularly crashed the CI in Lethe.
(Bruno Blais, 2026/08/12)
Fixed: The Triangulation class had code that checks that a mesh after mesh refinement does not have cells that are distorted (e.g., inside-out). Such distorted cells typically happen when the new point in the middle of a boundary edge is placed too far inside its adjacent cell, for example because the boundary has a lot of curvature. This check, however, was lost in a refactoring step many years ago and was no longer run. This is now fixed.
(Wolfgang Bangerth, 2026/08/12)
Deprecated: The macro DEAL_II_FALLTHROUGH is deprecated. Use the C++17 attribute [[fallthrough]] directly instead.
(Matthias Maier, 2026/08/04)
Changed: The minimum CMake version required to configure and build deal.II has been raised to 3.16. In addition, a number of obsolete configure checks and workarounds for compiler, linker, and tool versions that can no longer build deal.II have been removed from the build system.
(Matthias Maier, 2026/08/04)
Improved: Several ReferenceCell member functions (ReferenceCell::face_to_cell_vertices(), ReferenceCell::standard_to_real_face_vertex(), ReferenceCell::face_to_cell_line_orientation(), and ReferenceCell::standard_to_real_face_line()) were optimized and can, with a constexpr ReferenceCell, now be inlined. These optimizations make uniform refinement of a tetrahedral Triangulation about 16% less expensive (as measured by callgrind).
(David Wells, 2026/08/01)
Fixed: The Abaqus file format reader in GridIn::read_abaqus() got itself into all sorts of troubles when reading files that had DOS/Windows line endings, producing error messages that did not at all help in diagnosing the underlying cause. This has now been fixed: The reader can deal with such files without errors now.
(Wolfgang Bangerth, Dongchen Li, 2026/07/04)
New: Add new preconditioner class, PSCToolkitWrappers::PreconditionAMG, which adds a wrapper for the AMG preconditioner(s) provided by AMG4PSBLAS.
(Marco Feder, 2026/06/26)
New: FE_RaviartThomasNodal is now templated on both dim and spacedim and can be used on codimension-one meshes (dim=2, spacedim=3). In this case the element represents a spacedim-valued vector field that is everywhere tangential to the surface, transformed from the reference cell with the surface Piola transform. The element has n_components == spacedim. Note that on non-smooth (non-C¹) manifolds the resulting field is non-conforming, as the normal direction is discontinuous across cell edges; hanging-node and hp constraints as well as mesh refinement with hanging nodes are not yet supported for the codimension-one case.
(Jakob Tore Kammeyer Nielsen, 2026/06/24)
New: FE_PolyTensor now supports the codimension-one case (dim < spacedim). The internal computation of mapped shape gradients and Hessians, which is stored using DerivativeForm objects, is guarded so that the reference-cell polynomial gradients and Hessians are copied row by row when dim != spacedim instead of relying on a DerivativeForm/Tensor assignment that is only valid for dim == spacedim. An explicit instantiation for dim=2, spacedim=3 is provided. This is a prerequisite for tensor-valued elements such as Raviart-Thomas elements on embedded surfaces.
(Jakob Tore Kammeyer Nielsen, 2026/06/24)
Fixed: FEValuesViews::Vector now correctly returns all spacedim components of the value, gradient, divergence, Hessian, third derivative and symmetric gradient for non-primitive vector elements on codimension-one meshes (dim < spacedim). The non-primitive branch previously only looped over the first dim components and dropped the remaining ones.
(Jakob Tore Kammeyer Nielsen, 2026/06/24)
Added: There is now an additional overload of Particles::Utilities::interpolate_field_on_particles() which uses the FEPointEvaluation class to interpolate fields on particles efficiently. It is selected by providing the number of components as a compile-time template argument, and it takes an arbitrary mapping (defaulting to the reference cell's default linear mapping), whereas the existing overload deduces the number of components at run time and evaluates the shape functions directly at the reference location of each particle.
(Bruno Blais, 2026/04/14)