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

Interface concentration discontinuities (fenicsx) #878

Merged
Show file tree
Hide file tree
Changes from 83 commits
Commits
Show all changes
147 commits
Select commit Hold shift + click to select a range
b195072
started a generic script
RemDelaporteMathurin Aug 14, 2024
439df28
Merge remote-tracking branch 'origin/update-dolfinx-0.8' into discont…
RemDelaporteMathurin Aug 15, 2024
4034cc6
progress (runs on dolfinx nightly)
RemDelaporteMathurin Aug 15, 2024
73fe94b
removed unneeded stuff
RemDelaporteMathurin Aug 15, 2024
3f2f8c6
bcs generic
RemDelaporteMathurin Aug 15, 2024
a50810f
bcs before jacobian
RemDelaporteMathurin Aug 15, 2024
c59a875
issue with results
RemDelaporteMathurin Aug 15, 2024
c0f9d09
fixed double reaction + inner instead of dot
RemDelaporteMathurin Aug 15, 2024
994931b
fixed test function for reactant
RemDelaporteMathurin Aug 15, 2024
66adf7c
fixed a few random bugs
RemDelaporteMathurin Aug 15, 2024
0e5f5ba
correct way of making forms with parent functions
RemDelaporteMathurin Aug 16, 2024
ac07643
formatting
RemDelaporteMathurin Aug 16, 2024
659cc7b
added integration with parent mesh coefficients
RemDelaporteMathurin Aug 16, 2024
fb43151
now solubility is generic
RemDelaporteMathurin Aug 16, 2024
91a6a73
back to solubility of 2
RemDelaporteMathurin Aug 16, 2024
53e7430
T varies in x
RemDelaporteMathurin Aug 16, 2024
f1f6d65
K_S no longer hard coded
RemDelaporteMathurin Aug 16, 2024
9f05c82
+ and - restrictions correspond to the correct solubilities
RemDelaporteMathurin Aug 16, 2024
de79789
simplified code
RemDelaporteMathurin Aug 16, 2024
dab4590
HTransportProblemDiscontinuous class
RemDelaporteMathurin Aug 16, 2024
6a700b0
added back the derived quantities + removed unused stuff
RemDelaporteMathurin Aug 16, 2024
34f82e3
correspondance dicts are initialised in species
RemDelaporteMathurin Aug 20, 2024
e5c6793
add subdomains arg and attribute to Species + documentation
RemDelaporteMathurin Aug 20, 2024
ce31d38
gather connectivity dicts
RemDelaporteMathurin Aug 20, 2024
4f075be
NotImplementedError for exports for now
RemDelaporteMathurin Aug 20, 2024
ea3da5d
Refactor code to import HydrogenTransportProblem and HTransportProble…
RemDelaporteMathurin Aug 20, 2024
76d1ac2
remove problem file + comment
RemDelaporteMathurin Aug 20, 2024
1665bcf
need to define the correct ds
RemDelaporteMathurin Aug 20, 2024
ec5aeb5
Merge remote-tracking branch 'upstream/fenicsx' into discontinuity-ge…
RemDelaporteMathurin Aug 20, 2024
5b32d26
Merge branch 'discontinuity-generic' into add_fluxes
RemDelaporteMathurin Aug 20, 2024
dd0f65c
particle fluxes work correctly
RemDelaporteMathurin Aug 20, 2024
46b6c47
use festim k_B
RemDelaporteMathurin Aug 20, 2024
f7408fe
ICs not implemented
RemDelaporteMathurin Aug 20, 2024
0df9338
black formatted
RemDelaporteMathurin Aug 20, 2024
89fbef5
added new dict
RemDelaporteMathurin Aug 20, 2024
bbd3865
Merge remote-tracking branch 'upstream/fenicsx' into discontinuity-ge…
RemDelaporteMathurin Aug 20, 2024
d382ad4
added integration with Mesh1D
RemDelaporteMathurin Aug 20, 2024
21f5a3c
Merge branch 'discontinuity-generic' into post-processing
RemDelaporteMathurin Aug 20, 2024
28c1d44
added usage in implementation script
RemDelaporteMathurin Aug 20, 2024
eb7885c
small changes
RemDelaporteMathurin Aug 20, 2024
2144141
a few changes + comment about random SEGV crash
RemDelaporteMathurin Aug 20, 2024
20947cf
Merge branch 'discontinuity-generic' into post-processing
RemDelaporteMathurin Aug 20, 2024
283abd4
added a map to collapsed function space and parent map
RemDelaporteMathurin Aug 20, 2024
b906931
store collapsed functions and function space + update in post process
RemDelaporteMathurin Aug 20, 2024
256fe06
don't need to collapse here
RemDelaporteMathurin Aug 20, 2024
d83f0b7
integrated VTX Export
RemDelaporteMathurin Aug 20, 2024
9b75dd6
integrated export in example
RemDelaporteMathurin Aug 20, 2024
3f2c79c
integrated VTX export in examples
RemDelaporteMathurin Aug 20, 2024
ffe8212
added example for only one material (no interfaces)
RemDelaporteMathurin Aug 20, 2024
2231f89
started implementing transient
RemDelaporteMathurin Aug 20, 2024
2c47f52
updated times
RemDelaporteMathurin Aug 20, 2024
c91dd3d
added K_S to material + black
RemDelaporteMathurin Aug 22, 2024
2b58f00
Implemented refactoring done by Jorgen
RemDelaporteMathurin Aug 22, 2024
c209600
removed unused variable
RemDelaporteMathurin Aug 23, 2024
97067b6
removed unused variables
RemDelaporteMathurin Aug 23, 2024
ad3fd37
get_solubility_coefficient + black
RemDelaporteMathurin Aug 23, 2024
dfe204c
black formatted
RemDelaporteMathurin Aug 23, 2024
1f714fa
removed unused import
RemDelaporteMathurin Aug 23, 2024
eaf13a3
dirichlet BC more generic
RemDelaporteMathurin Aug 23, 2024
9c8d029
use sub functionspace instead of full functionspace for dirichletBC
RemDelaporteMathurin Aug 23, 2024
10aab18
removed entity maps as attribute
RemDelaporteMathurin Aug 23, 2024
26898db
Merge branch 'progress-bar-optional' into discontinuity-generic
RemDelaporteMathurin Aug 29, 2024
1c83c38
adapted progress bar
RemDelaporteMathurin Aug 29, 2024
959e4a9
penalty term is now exposed
RemDelaporteMathurin Aug 29, 2024
8adc073
tolerance of solver is exposed
RemDelaporteMathurin Aug 29, 2024
6b53b01
exposed petsc options
RemDelaporteMathurin Aug 29, 2024
4005db5
Improved NewtonSolver
RemDelaporteMathurin Oct 4, 2024
4f91d91
new solver
RemDelaporteMathurin Oct 4, 2024
aab8750
scale is now alpha + topology._cpp_object
RemDelaporteMathurin Oct 4, 2024
1ca73b3
support for sources
RemDelaporteMathurin Oct 4, 2024
d3b0c07
added MMS test in 2D
RemDelaporteMathurin Oct 4, 2024
b8006ba
black
RemDelaporteMathurin Oct 4, 2024
e2ee473
updated dolfinx version in CI + removed dev container
RemDelaporteMathurin Oct 10, 2024
45f4db7
fixed fenics script
RemDelaporteMathurin Oct 10, 2024
e649792
added failing test
RemDelaporteMathurin Oct 10, 2024
51a6961
check for dofs functionspace
RemDelaporteMathurin Oct 10, 2024
0be3749
added more tests
RemDelaporteMathurin Oct 10, 2024
38057f7
removed duplicate of subdomain_1 subdomain_2
RemDelaporteMathurin Oct 11, 2024
77b3f6e
docstrings + removed unused variables
RemDelaporteMathurin Oct 11, 2024
c92121a
more docstrings
RemDelaporteMathurin Oct 11, 2024
1282892
removed mt and parent mesh from constructor of interface
RemDelaporteMathurin Oct 11, 2024
01948a4
more type hinting
RemDelaporteMathurin Oct 11, 2024
e39946d
type check for species.subdomains
RemDelaporteMathurin Oct 11, 2024
60b9b2e
fixed script
RemDelaporteMathurin Oct 12, 2024
6a1456b
fixed the examples
RemDelaporteMathurin Oct 23, 2024
56940d0
UPdate python version
jorgensd Oct 23, 2024
2f16118
removed discontinuity-generic since we have lots of examples
RemDelaporteMathurin Oct 23, 2024
67d6e4a
moved the examples to examples folder
RemDelaporteMathurin Oct 23, 2024
4fbbab4
Fix docstrings
RemDelaporteMathurin Oct 23, 2024
ad6c4b0
Fixed docstrings again
RemDelaporteMathurin Oct 23, 2024
a6e1de6
domain 0 and 1 instead of 1 and 2
RemDelaporteMathurin Oct 23, 2024
97a0864
Merge branch 'discontinuity-generic' of https://github.com/RemDelapor…
RemDelaporteMathurin Oct 23, 2024
5df377b
- Add in/outfiles to git ignore
jorgensd Oct 23, 2024
f7e4916
Merge remote-tracking branch 'remi/discontinuity-generic' into dokken…
jorgensd Oct 23, 2024
124fb29
removed top and bottom subscripts
RemDelaporteMathurin Oct 23, 2024
eab5fa5
type hinting for as_fenics_constant
RemDelaporteMathurin Oct 23, 2024
d46fc1a
removed unused var
RemDelaporteMathurin Oct 23, 2024
8ed278c
Rewrite docs
jorgensd Oct 23, 2024
8b2db98
format
RemDelaporteMathurin Oct 23, 2024
4d6954e
added API
RemDelaporteMathurin Oct 23, 2024
e6565d8
Merge branch 'dokken/suggested-changes' of https://github.com/RemDela…
RemDelaporteMathurin Oct 23, 2024
ec2ceb4
fixed docstrings
RemDelaporteMathurin Oct 23, 2024
586d7c1
fixed dolfinx version in benchmark
RemDelaporteMathurin Oct 23, 2024
9fcd1e5
black
RemDelaporteMathurin Oct 23, 2024
9ece9f4
black 2
RemDelaporteMathurin Oct 23, 2024
fd34d03
fixed benchmark for dolfinx 0.9
RemDelaporteMathurin Oct 23, 2024
5dc7432
Refactor writers
jorgensd Oct 23, 2024
b278110
Black formatting / ruff
jorgensd Oct 23, 2024
28c66f1
Sort imports
jorgensd Oct 23, 2024
60dcb5b
Remove setup files
jorgensd Oct 24, 2024
3101c40
Change linting
jorgensd Oct 24, 2024
729272e
Add dependabot
jorgensd Oct 24, 2024
6b174cb
Apply suggestions from code review
jorgensd Oct 24, 2024
ca99a72
Formatting and importing within coer
jorgensd Oct 24, 2024
d3883ec
Import changes
jorgensd Oct 24, 2024
e36a70c
Move to source layout
jorgensd Oct 24, 2024
830d2ac
Merge remote-tracking branch 'remi/discontinuity-generic' into dokken…
jorgensd Oct 24, 2024
cef405a
Get ruff and black to agree
jorgensd Oct 24, 2024
692d167
Simplify input to boundary conditions and add some error handling in …
jorgensd Oct 24, 2024
b67aa0b
Ruff
jorgensd Oct 24, 2024
edc86cf
Add tests
jorgensd Oct 24, 2024
3e12a60
Make mypy non-blocking
jorgensd Oct 24, 2024
35928cf
Update mesh class
jorgensd Oct 24, 2024
584692b
Ruff
jorgensd Oct 24, 2024
761f2c3
Merge pull request #1 from RemDelaporteMathurin/dokken/suggested-changes
RemDelaporteMathurin Oct 25, 2024
682a4f3
added tolerances in the solver
RemDelaporteMathurin Oct 25, 2024
99f57af
Fix switch
jorgensd Oct 25, 2024
e713ef5
Use 3.10 syntax
jorgensd Oct 25, 2024
ce344e8
fixed a few more multilines
RemDelaporteMathurin Oct 25, 2024
085bd30
Last 3.10 backports of fstring
jorgensd Oct 25, 2024
f989dbe
One more fstring backoport
jorgensd Oct 25, 2024
25a9790
Lasts tests
jorgensd Oct 25, 2024
6fd66db
Simplify form compilation
jorgensd Oct 25, 2024
dbde7e3
Minor fixes to transfer meshtags
jorgensd Oct 25, 2024
f05d785
Unify formatting for integration measures with Rem(i)
jorgensd Oct 25, 2024
18e4cad
Various fixes to post-processing
jorgensd Oct 25, 2024
9e149e3
Fix variable name
jorgensd Oct 25, 2024
7271ec9
Fix variable name
jorgensd Oct 25, 2024
0ea4875
More fixes
jorgensd Oct 25, 2024
a4cdb82
Fix test
jorgensd Oct 25, 2024
f3df3b0
fixed test
RemDelaporteMathurin Oct 28, 2024
403192e
format
RemDelaporteMathurin Oct 28, 2024
ae17698
vtxfile write in HydrogenTransportProblem
RemDelaporteMathurin Oct 29, 2024
31ac03c
Merge remote-tracking branch 'upstream/fenicsx' into discontinuity-ge…
RemDelaporteMathurin Oct 29, 2024
d2f7787
moved convergence rates
RemDelaporteMathurin Oct 30, 2024
6371bb6
comment
RemDelaporteMathurin Oct 30, 2024
7d0a6d4
comment
RemDelaporteMathurin Oct 30, 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
2 changes: 1 addition & 1 deletion .github/workflows/ci_conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Create Conda environment
shell: bash -l {0}
run: |
conda install -c conda-forge fenics-dolfinx=0.8.0
conda install -c conda-forge fenics-dolfinx=0.9.0

- name: Install local package and dependencies
shell: bash -l {0}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
container_version: [v0.8.0, nightly]
container_version: [v0.9.0, nightly]
container: dolfinx/dolfinx:${{ matrix.container_version }}
steps:
- name: Checkout code
Expand Down
Loading
Loading