Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
9a4ffb5
test: strong-Dirichlet Poisson on the PETSc-built triangle's mesh rep…
cekees Nov 21, 2026
cb35b9d
Strong Dirichlet authority: the ranks that see a dof adopt the author…
cekees Nov 21, 2026
6b09ea2
test: stage the stored mesh through rank_staging; pin the partition o…
cekees Nov 21, 2026
0982af9
Version 2.0.0rc2: the three version files (release candidate for Test…
cekees Nov 22, 2026
c24d995
C49 R1: gwvd's code moves into the modules it belongs to; proteus/gwv…
cekees Nov 22, 2026
f32fe2e
C49 R1: mprans.BoundaryConditions is merged into proteus.BoundaryCond…
cekees Nov 22, 2026
9be1aa7
C49 R1: mprans.SpatialTools is merged into proteus.SpatialTools; one …
cekees Nov 22, 2026
a280926
C49 R1: class-path comparisons accept the new module names; a hot-sta…
cekees Nov 22, 2026
36da013
C49 R1: richards/ADR is removed (0% covered, one deck, Python calls C…
cekees Nov 22, 2026
5d61eee
C49 R1: git mv of the kernel code into proteus/kernels (mechanical, n…
cekees Nov 22, 2026
9e8511b
C49 R1: the edits the move forces (setup.py, imports, includes, cimpo…
cekees Nov 22, 2026
02b6b41
C49 R1: the state-contract inventory lists the kernels under their ne…
cekees Nov 22, 2026
f803af0
C49 R1: floors for the merged BoundaryConditions (70.7) and AdaptHelp…
cekees Nov 22, 2026
08bb289
Add the new Proteus logo set and use it in the docs and README
cekees Nov 22, 2026
51f06b1
parun -F on a stored tetgen mesh tests the files, not triangleOptions
cekees Nov 22, 2026
5dc18a3
Make the primary favicon heavier so it reads at 16 px
cekees Nov 22, 2026
5941777
Merge cekees/proteus#341: C0 round 16b: strong Dirichlet corner on a …
cekees Nov 22, 2026
a54af5f
Merge cekees/proteus#345: Version 2.0.0rc2: the three version files (…
cekees Nov 22, 2026
50758dd
Merge cekees/proteus#346: C49 R1: one proteus/kernels package (the me…
cekees Nov 22, 2026
1326dd4
Merge cekees/proteus#347: New Proteus logo: grey trident set in docs/…
cekees Nov 22, 2026
2e9e36f
Merge cekees/proteus#348: C7.1: parun -F on a stored tetgen mesh test…
cekees Nov 22, 2026
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
  •  
  •  
  •  
2 changes: 0 additions & 2 deletions .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,3 @@ omit =
*/proteus/WaveTools.py
*/proteus/BoundaryConditions.py
*/proteus/SpatialTools.py
*/proteus/mprans/BoundaryConditions.py
*/proteus/mprans/SpatialTools.py
2 changes: 1 addition & 1 deletion .github/coverage/cython_traced.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
from Cython.Coverage import Plugin as _CythonPlugin

# relative to the package directory, '/'-separated
TRACED_MODULES = ('BoundaryConditions.py', 'mprans/BoundaryConditions.py', 'WaveTools.py')
TRACED_MODULES = ('BoundaryConditions.py', 'WaveTools.py')


class Plugin(_CythonPlugin):
Expand Down
82 changes: 38 additions & 44 deletions .github/coverage/floors.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
{
"proteus/ADR.py": 90.6,
"proteus/ADRProblem.py": 93.1,
"proteus/AnalysisTools.py": 0.0,
"proteus/AnalyticalSolutions.py": 89.3,
"proteus/ArchiveFields.py": 98.3,
"proteus/Archiver.py": 70.5,
"proteus/AuxiliaryVariables.py": 16.5,
"proteus/BoundaryConditions.py": 96.6,
"proteus/BoundaryConditions.py": 70.7,
"proteus/Comm.py": 97.0,
"proteus/Context.py": 92.5,
"proteus/DiagUtils.py": 11.4,
Expand All @@ -22,10 +21,11 @@
"proteus/LatexReport.py": 7.3,
"proteus/LinearAlgebraTools.py": 85.3,
"proteus/LinearSolvers.py": 76.9,
"proteus/MeshAdaptPUMI/AdaptHelper.py": 83.8,
"proteus/MeshAdaptPUMI/AdaptHelper.py": 83.1,
"proteus/MeshAdaptPUMI/Checkpoint.py": 14.1,
"proteus/MeshAdaptPUMI/__init__.py": 100.0,
"proteus/MeshTools.py": 65.9,
"proteus/MoveMeshMonitor.py": 65.9,
"proteus/NonlinearSolvers.py": 46.4,
"proteus/Norms.py": 18.5,
"proteus/NumericalFlux.py": 55.3,
Expand All @@ -40,7 +40,7 @@
"proteus/SWFlow/utils/SWEs_so.py": 0.0,
"proteus/ShockCapturing.py": 36.1,
"proteus/SimTools.py": 11.9,
"proteus/SpatialTools.py": 62.9,
"proteus/SpatialTools.py": 56.0,
"proteus/SplitOperator.py": 46.1,
"proteus/StepControl.py": 36.0,
"proteus/SubgridError.py": 19.6,
Expand Down Expand Up @@ -100,47 +100,41 @@
"proteus/default_so.py": 91.3,
"proteus/defaults.py": 88.8,
"proteus/deim_utils.py": 60.4,
"proteus/elastoplastic/ElastoPlastic.py": 82.0,
"proteus/elastoplastic/__init__.py": 100.0,
"proteus/iproteus.py": 76.9,
"proteus/m_comp_co2/__init__.py": "test pending (deck from Arnob; not legacy, #1282)",
"proteus/m_comp_co2/m_comp_co2.py": "test pending (deck from Arnob; not legacy, #1282)",
"proteus/mprans/AddedMass.py": 76.2,
"proteus/mprans/ArchiveBeams.py": 7.8,
"proteus/mprans/BodyDynamics.py": 52.2,
"proteus/mprans/BoundaryConditions.py": 70.1,
"proteus/mprans/CLSVOF.py": 79.5,
"proteus/mprans/Dissipation.py": 56.5,
"proteus/mprans/EntropyViscosity.py": 100.0,
"proteus/mprans/GN_SW2DCV.py": 77.3,
"proteus/mprans/Kappa.py": 56.2,
"proteus/mprans/MCorr.py": 64.5,
"proteus/mprans/MCorr3P.py": 50.4,
"proteus/mprans/MoveMesh.py": 86.4,
"proteus/mprans/MoveMeshMonitor.py": 65.9,
"proteus/mprans/NCLS.py": 75.4,
"proteus/mprans/NCLS3P.py": 75.6,
"proteus/mprans/Pres.py": 76.1,
"proteus/mprans/PresInc.py": 76.2,
"proteus/mprans/PresInit.py": 23.2,
"proteus/mprans/PressureNormalization.py": 97.5,
"proteus/mprans/RANS2P.py": 87.1,
"proteus/mprans/RANS2P_IB.py": 2.4,
"proteus/mprans/RANS3PF.py": 88.0,
"proteus/mprans/RANS3PSed.py": 4.7,
"proteus/mprans/RDLS.py": 67.0,
"proteus/mprans/SW2D.py": 6.1,
"proteus/mprans/SW2DCV.py": 85.8,
"proteus/mprans/SpatialTools.py": 52.1,
"proteus/mprans/TADR.py": 88.4,
"proteus/mprans/VOF.py": 87.4,
"proteus/mprans/VOF3P.py": 83.5,
"proteus/mprans/VOS3P.py": 82.4,
"proteus/mprans/__init__.py": 100.0,
"proteus/mprans/beamFEM.py": 9.2,
"proteus/kernels/ADR.py": 90.6,
"proteus/kernels/AddedMass.py": 76.2,
"proteus/kernels/ArchiveBeams.py": 7.8,
"proteus/kernels/CLSVOF.py": 79.5,
"proteus/kernels/Dissipation.py": 56.5,
"proteus/kernels/ElastoPlastic.py": 82.0,
"proteus/kernels/EntropyViscosity.py": 100.0,
"proteus/kernels/GN_SW2DCV.py": 77.3,
"proteus/kernels/Kappa.py": 56.2,
"proteus/kernels/MCorr.py": 64.5,
"proteus/kernels/MCorr3P.py": 50.4,
"proteus/kernels/MoveMesh.py": 86.4,
"proteus/kernels/NCLS.py": 75.4,
"proteus/kernels/NCLS3P.py": 75.6,
"proteus/kernels/Pres.py": 76.1,
"proteus/kernels/PresInc.py": 76.2,
"proteus/kernels/PresInit.py": 23.2,
"proteus/kernels/PressureNormalization.py": 97.5,
"proteus/kernels/RANS2P.py": 87.1,
"proteus/kernels/RANS2P_IB.py": 2.4,
"proteus/kernels/RANS3PF.py": 88.0,
"proteus/kernels/RANS3PSed.py": 4.7,
"proteus/kernels/RDLS.py": 67.0,
"proteus/kernels/Richards.py": 78.9,
"proteus/kernels/SW2D.py": 6.1,
"proteus/kernels/SW2DCV.py": 85.8,
"proteus/kernels/TADR.py": 88.4,
"proteus/kernels/VOF.py": 87.4,
"proteus/kernels/VOF3P.py": 83.5,
"proteus/kernels/VOS3P.py": 82.4,
"proteus/kernels/__init__.py": 100.0,
"proteus/kernels/beamFEM.py": 9.2,
"proteus/kernels/m_comp_co2.py": "test pending (deck from Arnob; not legacy, #1282)",
"proteus/mbd/BodyDynamics.py": 52.2,
"proteus/petsc_optional.py": 91.6,
"proteus/richards/ADR.py": 0.0,
"proteus/richards/Richards.py": 78.9,
"proteus/richards/__init__.py": 100.0,
"proteus/runtime.py": 100.0
}
12 changes: 6 additions & 6 deletions .github/workflows/sdist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ jobs:
# installs it with default build isolation, through pip run from this env, which finds the bundle.
python -m build --sdist --no-isolation

# The coverage leg builds BoundaryConditions, mprans.BoundaryConditions and WaveTools (compiled by Cython from
# The coverage leg builds BoundaryConditions and WaveTools (compiled by Cython from
# .py files, so coverage.py saw their lines never run: 0%) with line tracing; setup.py reads this variable.
# Every other leg builds as before: tracing slows those modules down and nothing else needs it.
- name: Install sdist with default build isolation
Expand All @@ -241,20 +241,20 @@ jobs:

# The Cython.Coverage plugin finds a traced module's executable lines in the C++ file Cython generated, which it
# looks for next to the installed .so. pip builds in a temporary directory and keeps no generated source, so make
# the three files again here (the lines they map are the same ones) and put them there; the coverage job reads
# the two files again here (the lines they map are the same ones) and put them there; the coverage job reads
# the same files from the artifact below.
- name: Generate the Cython sources the coverage plugin reads (coverage leg)
if: matrix.leg.coverage == 'yes'
shell: bash -l {0}
run: |
PKG="$(cd "$(mktemp -d)" && python -c 'import os, proteus; print(os.path.dirname(proteus.__file__))')"
echo "installed package: $PKG; cython $(cython --version 2>&1)"
for mod in BoundaryConditions mprans/BoundaryConditions WaveTools; do
for mod in BoundaryConditions WaveTools; do
cython --cplus -3 -X linetrace=True -I . "proteus/$mod.py" -o "proteus/$mod.cpp"
cp "proteus/$mod.cpp" "$PKG/$mod.cpp"
done
ls "$PKG"/BoundaryConditions.* "$PKG"/mprans/BoundaryConditions.* "$PKG"/WaveTools.*
tar czf linetrace-sources.tgz proteus/BoundaryConditions.cpp proteus/mprans/BoundaryConditions.cpp proteus/WaveTools.cpp
ls "$PKG"/BoundaryConditions.* "$PKG"/WaveTools.*
tar czf linetrace-sources.tgz proteus/BoundaryConditions.cpp proteus/WaveTools.cpp

- name: Smoke test
shell: bash -l {0}
Expand Down Expand Up @@ -580,7 +580,7 @@ jobs:
- name: Combine and check against the floors
shell: bash
run: |
# Cython: the plugin that reads the line-traced modules' data (BoundaryConditions, mprans.BoundaryConditions,
# Cython: the plugin that reads the line-traced modules' data (BoundaryConditions,
# WaveTools) has to be there to combine and report them
pip install -q "coverage>=7.10" "cython>=3.0,<4"
# the plugin looks for each module's generated C++ next to its .py
Expand Down
29 changes: 14 additions & 15 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -66,21 +66,20 @@ proteus/fenton/Fenton.cpp
proteus/flcbdfWrappers.cpp
proteus/mbd/CouplingFSI.cpp
proteus/MeshAdaptPUMI/Adapter.cpp
proteus/mprans/BoundaryConditions.cpp
proteus/mprans/MeshSmoothing.cpp
proteus/mprans/cAddedMass.cpp
proteus/mprans/cCLSVOF.cpp
proteus/mprans/cGN_SW2DCV.cpp
proteus/mprans/cMCorr3P.cpp
proteus/mprans/cMoveMeshMonitor.cpp
proteus/mprans/cNCLS3P.cpp
proteus/mprans/cPres.cpp
proteus/mprans/cPresInc.cpp
proteus/mprans/cPresInit.cpp
proteus/mprans/cRANS3PF.cpp
proteus/mprans/cRANS3PSed.cpp
proteus/mprans/cVOF3P.cpp
proteus/mprans/cVOS3P.cpp
proteus/MeshSmoothing.cpp
proteus/kernels/cAddedMass.cpp
proteus/kernels/cCLSVOF.cpp
proteus/kernels/cGN_SW2DCV.cpp
proteus/kernels/cMCorr3P.cpp
proteus/cMoveMeshMonitor.cpp
proteus/kernels/cNCLS3P.cpp
proteus/kernels/cPres.cpp
proteus/kernels/cPresInc.cpp
proteus/kernels/cPresInit.cpp
proteus/kernels/cRANS3PF.cpp
proteus/kernels/cRANS3PSed.cpp
proteus/kernels/cVOF3P.cpp
proteus/kernels/cVOS3P.cpp
proteus/superluWrappers.c
proteus/MeshAdaptPUMI/MeshAdapt.cpp
proteus/tests/ci/meshNoVessel.edge
Expand Down
2 changes: 1 addition & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Verified on `main` at b9d98f5 (2026-11-17): 4 cores, 15 GB RAM, running as root.
file.
4. **Check it:**
```bash
python -c "import proteus, proteus.superluWrappers, proteus.mprans.cRANS2P, proteus.MeshAdaptPUMI.MeshAdapt, proteus.mbd.CouplingFSI"
python -c "import proteus, proteus.superluWrappers, proteus.kernels.cRANS2P, proteus.MeshAdaptPUMI.MeshAdapt, proteus.mbd.CouplingFSI"
```

## Making the tests pass
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ else
-rm -rf ${PROTEUS_PREFIX}
endif
-rm -rf build proteus/*.pyc proteus/*.so proteus/*.a proteus/MeshAdaptPUMI/*.so
-rm -rf build proteus/kernels/*.pyc proteus/kernels/*.so proteus/kernels/*.a
-rm -rf build proteus/mprans/*.pyc proteus/mprans/*.so proteus/mprans/*.a
-rm -rf build proteus/richards/*.pyc proteus/richards/*.so proteus/richards/*.a
-rm -rf build proteus/elastoplastic/*.pyc proteus/elastoplastic/*.so proteus/elastoplastic/*.a
Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
<p align="center">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="docs/source/_static/logo/primary/proteus-lockup-h-dark-background.svg">
<img alt="Proteus" src="docs/source/_static/logo/primary/proteus-lockup-h-light-background.svg" width="360">
</picture>
</p>

# Proteus: Computational Methods and Simulation Toolkit [![Build Status](https://github.com/proteustoolkit/proteus/actions/workflows/sdist.yml/badge.svg?branch=main)](https://github.com/proteustoolkit/proteus/actions/workflows/sdist.yml) [![DOI](https://zenodo.org/badge/2212385.svg)](https://zenodo.org/badge/latestdoi/2212385)


Expand Down
4 changes: 2 additions & 2 deletions docs/Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ PROJECT_NAME = proteus
# could be handy for archiving the generated documentation or if some version
# control system is used.

PROJECT_NUMBER = 2.0.0rc1
PROJECT_NUMBER = 2.0.0rc2

# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a
Expand All @@ -51,7 +51,7 @@ PROJECT_BRIEF = "C/C++/Fortran libraries"
# pixels and the maximum width should not exceed 200 pixels. Doxygen will copy
# the logo to the output directory.

#PROJECT_LOGO = ./source/_static/corps_logo_cross_24.svg
#PROJECT_LOGO = ./source/_static/logo/primary/png/proteus-favicon-64.png

# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path
# into which the generated documentation will be written. If a relative path is
Expand Down
93 changes: 93 additions & 0 deletions docs/source/_static/logo/Montserrat-OFL.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
Copyright (c) 2011--2016, The Montserrat Project Authors (julieta.ulanovsky@gmail.com)

This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL


-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------

PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.

The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.

DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.

"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).

"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).

"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.

"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.

PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:

1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.

2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.

3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.

4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.

5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.

TERMINATION
This license becomes null and void if any of the above conditions are
not met.

DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
Loading
Loading