Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
325 commits
Select commit Hold shift + click to select a range
76ddcdd
Merge branch 'develop' into issue_1478
keileg Oct 13, 2025
e5f653f
Merge branch 'issue_1469' into issue_1478
keileg Oct 13, 2025
299f57f
Merge pull request #1505 from pmgbergen/issue_1478
keileg Oct 13, 2025
d6c6d98
MAINT: Retire FractureNetwork3d find/split intersection methods
keileg Oct 13, 2025
a3b9b0d
MAINT: FractureNetwork3d intersection processing in separate method
keileg Oct 13, 2025
8036355
MAINT: Structured 3d fracture meshing makes use of gmsh
keileg Oct 13, 2025
213a093
MAINT: Rename fracs/structured.py -> _structured
keileg Oct 13, 2025
1ee5a8d
ENH: Add tests for ellipse_fracture functionality with parameterized …
zhangyh0713 Oct 14, 2025
b8a93eb
DOC: Update test module docstring to accurately reflect ellipse_fract…
zhangyh0713 Oct 14, 2025
742405e
ENH: FractureNetwork2d exports general polygon domains in new format
keileg Oct 16, 2025
a9c44c3
TST: Update test of fracture network 2d meshing of general polygons
keileg Oct 16, 2025
2ee6af6
TST: Update test of 3d fracture network meshing with non-box domains
keileg Oct 16, 2025
c384eba
WIP: FractureNetwork3d meshing of polytope domains
keileg Oct 16, 2025
591b2aa
ENH: Add test for ellipse_fracture tags to verify unique GMSH identif…
zhangyh0713 Oct 21, 2025
6ca89dd
ENH: Add the test for checking elliptical boundary nodes in the given…
RonghaoCui Oct 27, 2025
7657192
DOC: Update docstring for test_gmsh_ellipse_nodes
RonghaoCui Oct 28, 2025
e19f211
DOC: Change the name of the method for the plane test
RonghaoCui Oct 28, 2025
6355bce
ENH: Refactor tests for ellipse_fracture module and add new test for …
zhangyh0713 Oct 28, 2025
297a25c
Merge branch '1477-methods-for-exporting-fracs-domains-gmsh' of https…
zhangyh0713 Oct 28, 2025
c4e4d4a
ENH: Rename and update test for Gmsh ellipse nodes to improve clarity…
zhangyh0713 Oct 28, 2025
f89a04d
Merge branch '1477-methods-for-exporting-fracs-domains-gmsh' into iss…
RonghaoCui Oct 28, 2025
505d6f6
ENH: Add a test for pp.create_mdg with elliptical fractures
RonghaoCui Nov 4, 2025
5c7ef95
ENH: Update tests for ellipse fractures, improve bounding box, and ad…
zhangyh0713 Nov 4, 2025
fe63779
MAINT: Update test domain bounds for ellipical fracture meshing
RonghaoCui Nov 4, 2025
b9fd877
MAINT: create_mdg function parses elliptic fractures
keileg Nov 17, 2025
1407e49
TST: Move EllipticFracture mesh generation tests to fracture network …
keileg Nov 17, 2025
c4831c2
FEAT: ABC class PointBasedFracture is superclass for LineFracture and…
keileg Nov 17, 2025
4fcbea8
FEAT: EllipseFracture inherits from ABC Fracture.
keileg Nov 17, 2025
92167f0
TST: Reworked tests for 2d fracture meshing
keileg Nov 18, 2025
0993686
TST: New test for 3d fracture mesh generation
keileg Nov 19, 2025
d1ae285
TST: Removed old test of fracture network 3d meshing
keileg Nov 20, 2025
37438f5
TST: Reconfigure testing of 3d dfn meshing
keileg Nov 20, 2025
c490f54
BUG: Fracture network 3d meshing constraint treatment
keileg Nov 20, 2025
c33e5b1
BUG: Fracture network 3d meshing remove fractures outside the domain
keileg Nov 20, 2025
cc75b11
TST: Minor fixes to tests of 3d fracture meshing
keileg Nov 20, 2025
f095518
BUG: Fracture network 3d meshing, domain-fracture fragmentation
keileg Nov 21, 2025
e9bcbd6
TST: Updated legacy tests for 3d fracture network meshing
keileg Nov 21, 2025
ce5d0a0
ENH: Mesh size control in gmsh example
pschultzendorff Oct 14, 2025
c98c9a8
WIP: Work on mesh size determination for new meshing
keileg Oct 17, 2025
6cf0f4e
TMP: Notebook for mesh size experiments
keileg Oct 21, 2025
05837a2
FEAT: Mesh size algorithm for 2d fracture networks
keileg Oct 21, 2025
55047bf
WIP: Started revising 2d mesh size criteria
keileg Oct 30, 2025
998c410
ENH: Full prototype of mesh refinement method for 2d domains
keileg Oct 31, 2025
99b7430
ENH: Full prototype of mesh refinement method for 2d domains
keileg Oct 31, 2025
30f7eb6
SPEED: Enable OpenMP in gmsh when meshing in 2d
keileg Oct 31, 2025
302b3df
TMP: Development scripts for fracture meshing
keileg Oct 31, 2025
fd6994a
ENH: Add mesh quality metrics reporting
pschultzendorff Nov 4, 2025
aa4267e
ENH: First version of mesh size control for 3d domains
keileg Nov 4, 2025
772733a
TMP: Updates to meshing development scripts
keileg Nov 5, 2025
44a5cdb
WIP: Started new approach to mesh size control in 2d
keileg Nov 5, 2025
e86d2b3
MAINT: Temporarily surpress reporting of mesh quality metrics
keileg Nov 5, 2025
8e906fa
ENH: Work on mesh size control in 2d networks
keileg Nov 7, 2025
7125596
MAINT: New version of 2d mesh size control
keileg Nov 11, 2025
717b1ea
WIP: Mesh size control points in 3d fracture network meshing
keileg Nov 13, 2025
ea82949
DOC: Fracture network 2d mesh size control point insertion
keileg Nov 13, 2025
b378d3a
WIP: 3d fracture mesh size control
keileg Nov 14, 2025
cc2ba23
TMP: Dev runscripts for fracture mesh size
keileg Nov 14, 2025
e9b11f9
TST: Bad fixture in fracture network 3d meshing - mesh size parameter
keileg Nov 21, 2025
b4c7195
BUG: mest control points wrongly split fractures
keileg Nov 21, 2025
b52f7fb
BUG: Correct intersection point identification in 2d fracture meshing
keileg Nov 21, 2025
94eba2c
TST: Use fixture for mesh size in 2d fracture network meshing
keileg Nov 21, 2025
56813cb
TST: Remove test of node tip coordinates for 2d fracture meshing
keileg Nov 21, 2025
dc49c69
TST: Remove unused imports from test of elliptic fractures
keileg Nov 24, 2025
14be20f
TST: Finalize gmsh after tests of 2d fracture network
keileg Nov 24, 2025
479acf5
TST: Fracture network meshing domains cut by fractures
keileg Nov 24, 2025
3a690f9
BLD: Add .xao to gitignore
keileg Nov 24, 2025
81f2b3f
ENH: Fracture3d meshing fix of mesh control points
keileg Nov 24, 2025
69b733d
ENH: Fracture3d meshing, transfer control point info after finding fr…
keileg Nov 24, 2025
3b13095
ENH: Fracture 3d set mesh size for 2d meshing part
keileg Nov 24, 2025
0a53b4e
ENH: Fracture 3d mesh size control for 3d meshing problem
keileg Nov 24, 2025
52e2950
MAINT: Simplification of mesh size control points in 3d fracture meshing
keileg Nov 24, 2025
52ff59f
ENH: Fixes to 3d fracture meshing
keileg Nov 24, 2025
ff1235f
MAINT: Fracture 3d meshing does not tag boundary surfaces as fractures
keileg Nov 24, 2025
b500584
ENH: Fracture 3d meshing uses full mesh size control workflow
keileg Nov 24, 2025
95396d2
ENH: 3d fracture meshing uses HTX algorithm
keileg Nov 24, 2025
5ba4078
TMP: Updates to 3d meshing dev script
keileg Nov 24, 2025
9902330
BUG: Fix line-point computation in 3d mesh size control
keileg Nov 24, 2025
0fc4424
BUG: Missing OpenCascade synchronization in 3d fracture meshing
keileg Nov 24, 2025
73529f6
BUG: Fracture meshing 3d, point should be np array, not tuple
keileg Nov 25, 2025
d2ba72a
BUG: Fracture 3d meshing of almost parallel surfaces
keileg Nov 25, 2025
739ff83
ENH: Fracture 3d meshing simplify mesh control points on surface boun…
keileg Nov 26, 2025
c1f1273
BUG: 3d fracture meshing avoid putting duplicate points on surfaces
keileg Nov 26, 2025
ca04b3c
TST: Finalize gmsh after failing test of fracture meshing 3d
keileg Nov 26, 2025
5ff5748
BUG: Fracture meshing 3d ensure array of indices is int, not float
keileg Nov 26, 2025
7d21fae
BUG: Fracture3d meshing use updated fracture tags in identification o…
keileg Nov 26, 2025
ab5d563
BUG: Fracture3d meshing use updated fracture tags for physical surfac…
keileg Nov 26, 2025
0a8e0f1
BUG: Fracture 3d meshing fix in surface-line identification
keileg Nov 26, 2025
8353380
TST: Fracture3d meshing test accounts for line grids split into sever…
keileg Nov 26, 2025
aee1c26
TST: Fracture3d meshing number of 0d 1d subdomains are only lower bounds
keileg Nov 26, 2025
7d65d0a
BUG: Fracture3d meshing mapping of fractures that have been split
keileg Nov 26, 2025
edd1b50
TST: Fracture3d meshing allow for 0d grids from mesh control points
keileg Nov 27, 2025
cbaf557
BUG: Correct update of contraint indices in Fracture 3d meshing
keileg Nov 27, 2025
0d966db
ENH: Fracture 3d meshing assign uniform mesh size on fractures and bo…
keileg Nov 28, 2025
0fb49eb
ENH: Fracture-surface relation is available for mesh control points i…
keileg Nov 28, 2025
ecb101b
BUG: Fixes to the setting of mesh size control points in 3d fracture …
keileg Nov 28, 2025
04ba3d0
BUG: Preserve 3d fracture mesh size info on the domain boundary under…
keileg Nov 28, 2025
432d296
BUG: Fracture3d meshing wrong size for near-intersecting fractures
keileg Nov 28, 2025
6375f93
TST: Fracture meshing with intersections at the domain boundary
keileg Nov 28, 2025
08dbc5a
ENH: Better mesh size control for fracture surfaces in 3d
keileg Nov 28, 2025
b4fa2c7
ENH: Better mesh size control for fracture surfaces in 3d
keileg Nov 28, 2025
a55e1f8
MAINT: 3d fracture map to original fractures is preserved in intersec…
keileg Dec 5, 2025
df6afce
ENH: Fracture 3d meshing uses Gmsh in parallel
keileg Dec 5, 2025
d7a5691
TST: Import Gmsh in 3d fracture meshing test
keileg Dec 8, 2025
987f988
MAINT: Minor updates to 3d fracture meshing
keileg Dec 8, 2025
b84ae50
TMP: Updates to Fracture 3d meshing exploration script
keileg Dec 8, 2025
48798ef
BUG: Wrong identification of boundary surfaces in 3d fracture meshing
keileg Dec 8, 2025
e01f7ec
BUG: Fracture 3d meshing count of fractures after imposing domain bou…
keileg Dec 8, 2025
11f9fa0
ENH: Fracture 3d meshing fix setting of mesh size points on domain bo…
keileg Dec 8, 2025
0c2a445
FEAT: Fracture 3d meshing improved mesh size control points
keileg Dec 9, 2025
97d4b97
MAINT: Fracture3d meshing delete outdated code
keileg Dec 9, 2025
2a42860
MAINT: Fracture 3d meshing centralized mesh size control
keileg Dec 10, 2025
977fc70
MAINT: Fracture meshing 3d helper class for mapping point coordinates…
keileg Dec 11, 2025
3b86651
TST: Fracture 3d meshing avoid tweak refinement threshold to avoid re…
keileg Dec 11, 2025
3a2d108
BUG: Fracture 3d meshing tracing of constraints outside fracture boun…
keileg Dec 11, 2025
8f81b18
BUG: Fracture 3d meshing do not create 1d and 0d grids on domain boun…
keileg Dec 11, 2025
a2e9bba
BUG: Fracture 3d meshing fix of fracture coinciding with the domain b…
keileg Dec 11, 2025
b82200c
TST: Fix of fracture meshing 3d intersections at the domain boundary
keileg Dec 11, 2025
ae8e759
MAINT: Updates to fracture 3d meshing mesh size computation
keileg Dec 12, 2025
40de68e
BUG: Fracture 3d meshing mesh control point for intersecting fractures
keileg Dec 12, 2025
c1d03ca
MAINT: Fracture 3d mesh control points, better spacing of points
keileg Dec 12, 2025
9f5aea6
MAINT: Fracture 3d meshing mesh size control points also for intersec…
keileg Dec 12, 2025
c86348f
TST: Fracture 3d meshing with non-trivial mesh size control points
keileg Dec 12, 2025
f7b62a6
TST: Fixes to 3d fracture meshing
keileg Dec 12, 2025
114efa6
MAINT: Move 'create_fracture_network ' to separate file
keileg Dec 15, 2025
99af014
MAINT: Avoid circular imports caused by typing
keileg Dec 15, 2025
51c128c
ENH: Parent class for FractureNetwork classes
keileg Dec 15, 2025
624dc44
MAINT: Move fracture meshing helper classes to fracture network module
keileg Dec 15, 2025
fe31ef1
MAINT: Fracture 2d meshing uses helper classes for mesh size treatment
keileg Dec 15, 2025
28bc44c
MAINT: Fracture 2d meshing uses helper class to insert control points
keileg Dec 15, 2025
42e1f76
MAINT: Fracture 2d meshing uses mesh size control point inserter
keileg Dec 16, 2025
475a472
MAINT: Fracture 2d mesh control point insertion fixes
keileg Dec 16, 2025
520675d
MAINT: Fracture 2d meshing ensure reasonable mesh size on fractures a…
keileg Dec 16, 2025
05e55ca
MAINT: Fracture 2d meshing delete outdated code for mesh size control
keileg Dec 16, 2025
1892f3f
MAINT: Cleanup in fracture meshing 3d mesh size control point insertion
keileg Dec 16, 2025
84f1e20
MAINT: Cleanup in fracture 2d mesh size control point insertion
keileg Dec 16, 2025
5c6f348
MAINT: FractureNetwork entity on boundary check moved to parent Fract…
keileg Dec 16, 2025
013bbf0
BUG: Fracture 2d meshing handles fractures embedded in boundary segment
keileg Dec 16, 2025
619aee0
TST: Bad fracture coordinate in 2d fracture meshing testing
keileg Dec 16, 2025
3b4bf03
TST: Avoid mesh refinement in fracture network 2d meshing
keileg Dec 16, 2025
730185e
BUG: 2d fracture meshing correct treatmnet of constraints
keileg Dec 17, 2025
fa03084
BUG: 2d fracture meshing avoid intersection points on domain boundary
keileg Dec 17, 2025
e39325b
TMP: Updates to fracture meshing dev scripts
keileg Dec 17, 2025
ae374de
DEL: Removed old functionality for 2d fracture meshing
keileg Dec 17, 2025
2bc4fe6
TST: Deleted outdated tests of 2d fracture network
keileg Dec 17, 2025
8852109
DEL: Removed old functionality related to 3d fracture meshing
keileg Dec 17, 2025
05bd9a9
TST: Removed outdated tests of 3d fracture networks
keileg Dec 17, 2025
6b5f889
DEPR: Remove support for .FAB fracture network 3d files
keileg Dec 17, 2025
3256c38
DERP: Remove run_check option from create_fracture_network function
keileg Dec 17, 2025
8184b52
BUG: Wrong dimension in fracture meshing mesh size control point inse…
keileg Dec 17, 2025
8e2eb49
MAINT: Fracture meshing common 2d/3d method for assigning uniform mes…
keileg Dec 18, 2025
aecfad1
MAINT: Fracture meshing common method for distance-based mesh size co…
keileg Dec 18, 2025
7bf632b
MAINT: Unify 2d/3d mesh size control point insertion
keileg Dec 18, 2025
99166b8
MAINT: Delete unused code in fracture meshing 2d 3d
keileg Dec 18, 2025
1602ef0
MAINT: Common 2d 3d method for unification of mesh size control points
keileg Dec 18, 2025
585892a
MAINT: Deleted unused code in 3d fracture meshing
keileg Dec 18, 2025
8b3b5a2
MAINT: Simplification of 2d fracture meshing
keileg Dec 18, 2025
7c7c5c1
MAINT: Helper function for geometry processing in 2d fracture meshing
keileg Dec 18, 2025
a563d7a
MAINT: Fracture 3d meshing helper method for update of variable
keileg Dec 18, 2025
7ea91ee
MAINT: Helper method to set physical names in 2d fracture meshing
keileg Dec 18, 2025
a3c1116
MAINT: Minor maintenance in 3d fracture meshing
keileg Dec 18, 2025
39afd7c
DOC: Improved documentation of fracture network 3d geometry processing
keileg Dec 19, 2025
e268512
DEPR: Remove FractureNetwork3d mesh option to transfer tags
keileg Dec 19, 2025
180efa1
ENH: Simplified signature of mesh method for FractureNetwork classes
keileg Dec 19, 2025
527eaca
MAINT: Uniform FractureNetwork mesh parameter processing
keileg Dec 19, 2025
e3368ef
DOC: Cleanup of mesh methods for FractureNetwork classes
keileg Dec 19, 2025
66bc678
DEPR: Removed old Gmsh interface
keileg Dec 19, 2025
d630201
DERP: Test conversion of line fractures to point-edge representation
keileg Dec 19, 2025
5b35686
DEPR: Deleted meshing function to uniquify point cloud
keileg Dec 19, 2025
7551389
DEPR: Deleted utility method for computing fracture lengths
keileg Dec 19, 2025
4769ce9
DEPR: Deleted old mesh-size determination for 2d fracture networks
keileg Dec 19, 2025
cfc5a0c
TST: Move tests for function create_fracture_network
keileg Dec 19, 2025
66f46b7
MAINT: Update structured fracture meshing
keileg Dec 19, 2025
735b5b8
BUG: Wrong classification of fracture points being on the domain boun…
keileg Dec 19, 2025
ff6e9c3
BUG: Fracture 3d meshing disc fractures wrongfully excluded
keileg Dec 19, 2025
b4f9a14
ENH: __repr__ method for EllipticFracture class
keileg Dec 19, 2025
11b1431
MAINT: Rename methods for exporting individual fractures to gmsh
keileg Dec 19, 2025
7dd5cd5
TST: Simplified test of elliptic fractures
keileg Dec 19, 2025
b14873b
BUG: Fracture meshing 2d DFN grids
keileg Dec 22, 2025
81dc4f2
TST: Updates to test of fracture importer
keileg Dec 22, 2025
d8fb395
MAINT: DFN-style meshing of 3d fractures better handled
keileg Dec 22, 2025
a3faded
TST: Extra 2d fracture meshing tests
keileg Dec 22, 2025
7b02717
TST: Deleted outdated test for fracture network creation
keileg Dec 22, 2025
7856c58
TST: Re-initialize gmsh in test of msh_2_grid
keileg Dec 22, 2025
919ed93
FEAT: FractureNetwork classes have method num_fracs
keileg Dec 22, 2025
5d5cce9
BUG: Ensure all fractures have an index
keileg Dec 22, 2025
7f1045e
BUG: Give default value for boundary mesh size parameters
keileg Dec 22, 2025
1d67e59
MAINT: Move mdg parameter check to after meshing
keileg Dec 22, 2025
e229691
STY: Partial roll back of use of TYPE_CHECKING
keileg Dec 22, 2025
a0ad761
BUG: FractureNetwork 3d meshing differ between fractures and boundaries
keileg Dec 22, 2025
e9d3bf9
MAINT: FractureNetwork constant mesh size restricted to objects
keileg Dec 22, 2025
fa028fe
MAINT: Adjustments to mesh size control point definitions
keileg Dec 22, 2025
ff4d79a
MAINT: Adjust mesh size parameters in geometry with a single well
keileg Dec 22, 2025
d3e351f
MAINT: Fight typing
keileg Dec 22, 2025
be64835
MAINT: Bad import in FractureNetwork2d file
keileg Dec 22, 2025
ff7319a
TST: Test of evaluation of constitutive laws run on Cartesian grids
keileg Dec 22, 2025
a378cc2
MAINT: Insert assertion on geometry assumption in well module
keileg Dec 22, 2025
cb0db77
TST: Run tpsa model tests only on Cartesian grids
keileg Dec 22, 2025
dd3c5bd
MAINT: Fracture meshing default minimal mesh size set relative to oth…
keileg Jan 5, 2026
6cb8789
Merge branch 'develop' into issue_1516
keileg Jan 5, 2026
eac25d3
DOC: Documentation and maintenance of MeshSize control classes
keileg Jan 5, 2026
ef9d6f7
TST: Poromechanics model test is invariant to the number of fracture …
keileg Jan 5, 2026
5ad4f70
STY: Ruff check
keileg Jan 5, 2026
f628530
STY: Mypy fixes on FractureNetwork classes
keileg Jan 5, 2026
f82b8eb
MAINT: Update grid refinement factory to work with the new meshing fo…
keileg Jan 6, 2026
d53fd5e
STY: Mypy-triggered fixes related to new fracture meshing
keileg Jan 6, 2026
fc31603
TST: Update known cell numbers for 2d meshing benchmarks
keileg Jan 7, 2026
8bba5ca
TST: Improved calculation of errors for convergence rate analysis
keileg Jan 7, 2026
00aa273
TST: Delete outdated test of fracture-boundary intersection
keileg Jan 7, 2026
6687221
TST: Updated reference solution for test of md upwinding
keileg Jan 8, 2026
8f37fc8
TST: Test of diff-tpfa potential reconstruction considers both tpfa a…
keileg Jan 8, 2026
5d85518
TST: Diff-tpfa fracture tip potential reconstruction only for tpfa ba…
keileg Jan 8, 2026
1c8fd77
TST: Update reference convergence rates for the Mandel problem
keileg Jan 8, 2026
c83b71b
SPEED: Run Gmsh mesh generation on a single process by default
keileg Jan 8, 2026
050ee6f
MAINT: mdg generation module removes fractures outside domain for str…
keileg Jan 8, 2026
3c11d2c
TST: Remove unnecessary call in test of mdg generation
keileg Jan 8, 2026
4533f78
MAINT: Treat special cases related to DFN 3d fracture meshing
keileg Jan 8, 2026
0feab36
TST: Bad reference value for Rubik's cube-type fracture network test
keileg Jan 8, 2026
057aef0
TST: Fixup in THM model test of the impact of fracture soruces
keileg Jan 8, 2026
241b774
MAINT: Use gmsh's opencascade backport to compute fracture-well inter…
keileg Jan 9, 2026
8b80193
TST: Well meshing test also considers elliptic fracture
keileg Jan 9, 2026
3a5fcfd
TST: More robust checks for adding multiple wells to domain
keileg Jan 9, 2026
f9ddc15
BUG: Logical error in tagging of well grids
keileg Jan 9, 2026
1ef2d48
MAINT: Minor cleanup in fracture network classes
keileg Jan 12, 2026
efbef67
ENH: Change default meshing algorithm for 2d problems
keileg Jan 16, 2026
3c1b459
ENH: Separate default mesh size control for 2d and 3d
keileg Jan 16, 2026
a0adf04
MAINT: Adjust mesh size algorithm in far-field conditions
keileg Jan 16, 2026
9900d47
TUT: Rewrote meshing tutorial
keileg Jan 19, 2026
240b026
MAINT: Common keyword for number of processors in 2d and 3d meshing
keileg Jan 19, 2026
c17a874
STY: Ruff, mypy
keileg Jan 19, 2026
d04a76e
TST: Tune mesh size parameters to reduce test times
keileg Jan 19, 2026
7a9b7b6
BUG: Require one mesh size parameter for fracture meshing
keileg Jan 19, 2026
986b0c0
DEL: Remove meshing dev scripts
keileg Jan 19, 2026
8735625
Merge branch 'develop' into backup_meshing
keileg Jan 19, 2026
6c68498
TST: Further update of mdg generation test
keileg Jan 19, 2026
b80dc24
STY: isort
keileg Jan 19, 2026
b3deb42
TUT: Grammar
IvarStefansson Jan 22, 2026
80953a5
BUG: Wrong Gmsh mesh size guidance for Nd entities
keileg Jan 23, 2026
12b0e9a
MAINT: Impose lower threshold on minimum mesh size
keileg Jan 23, 2026
e903ed6
MAINT: Tuning of mesh size specification algorithm
keileg Jan 26, 2026
0a9ac84
FEAT: Make meshing refinement parameters meshing_args, not kwargs
keileg Jan 26, 2026
377059a
MAINT: Advanced meshing arguments are given defaults in mdg_generation
keileg Jan 28, 2026
acf4191
DOC: Minor comment in fracture network meshing
keileg Jan 28, 2026
ec4306e
WIP: Remove fracture tips as mesh size points in 2d domains
keileg Jan 28, 2026
07444d6
TUT: Revised tutorial for meshing
keileg Jan 28, 2026
9890235
MAINT: Allow the user to set theGmsh verbosity level
keileg Feb 5, 2026
6fbe6da
MAINT: Change keywords for advanced mesh size control
keileg Feb 5, 2026
7bf6c04
TUT: Update of meshing tutorial
keileg Feb 5, 2026
f4b0fd1
TST: Update tests after changes to mesh size parameters
keileg Feb 5, 2026
3551d61
DOC: Minor clarification and line lengths
IvarStefansson Feb 5, 2026
b044eda
DOC and STY
IvarStefansson Feb 12, 2026
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ $RECYCLE.BIN/
*.msh
*.geo
*.geo_unrolled
*.xao

# Restart-related time step monitoring files
times.json
Expand Down
8 changes: 5 additions & 3 deletions src/porepy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
# decided as needed

from porepy.utils.common_constants import *
from porepy.utils.porepy_types import *

from porepy.utils.porepy_types import *

from porepy.utils import permutations
from porepy.utils.interpolation_tables import (
Expand Down Expand Up @@ -83,7 +83,7 @@
from porepy.grids.grid import Grid
from porepy.grids.mortar_grid import MortarGrid
from porepy.grids.md_grid import MixedDimensionalGrid
from porepy.grids.mdg_generation import create_mdg

from porepy.grids.structured import CartGrid, TensorGrid
from porepy.grids.simplex import TriangleGrid, TetrahedralGrid
from porepy.grids.simplex import StructuredTriangleGrid, StructuredTetrahedralGrid
Expand All @@ -102,8 +102,10 @@
# Fractures
from porepy.fracs.plane_fracture import PlaneFracture, create_elliptic_fracture
from porepy.fracs.line_fracture import LineFracture
from porepy.fracs.fracture_network import create_fracture_network
from porepy.fracs.ellipse_fracture import EllipticFracture
from porepy.fracs.fracture_network_creation import create_fracture_network

from porepy.grids.mdg_generation import create_mdg

# Wells
from porepy.fracs.wells_3d import (
Expand Down
6 changes: 5 additions & 1 deletion src/porepy/applications/md_grids/mdg_library.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,11 @@ def cube_with_orthogonal_fractures(

"""
all_fractures = fracture_sets.orthogonal_fractures_3d(size)
fractures = [all_fractures[i] for i in fracture_indices]
# To please Mypy, we formally set the type to PlaneFracture or EllipticFracture,
# even though we know they are all PlaneFractures.
fractures: list[pp.PlaneFracture | pp.EllipticFracture] = [
all_fractures[i] for i in fracture_indices
]
domain = domains.nd_cube_domain(3, size)

# Cast to FractureNetwork3d to avoid ambiguity leading to mypy errors
Expand Down
74 changes: 37 additions & 37 deletions src/porepy/applications/test_utils/reference_dense_arrays.py
Original file line number Diff line number Diff line change
Expand Up @@ -2704,14 +2704,14 @@
-1.00000000e00,
-1.00000000e00,
-1.00000000e00,
0.00000000e00,
0.00000000e00,
0.00000000e00,
0.00000000e00,
0.00000000e00,
0.00000000e00,
0.00000000e00,
0.00000000e00,
-0.00000000e00,
-0.00000000e00,
-0.00000000e00,
-0.00000000e00,
-0.00000000e00,
-0.00000000e00,
-0.00000000e00,
-0.00000000e00,
2.50000000e-01,
2.50000000e-01,
2.50000000e-01,
Expand All @@ -2720,44 +2720,44 @@
-2.50000000e-01,
-2.50000000e-01,
-2.50000000e-01,
0.00000000e00,
0.00000000e00,
0.00000000e00,
0.00000000e00,
0.00000000e00,
0.00000000e00,
0.00000000e00,
0.00000000e00,
0.00000000e00,
0.00000000e00,
-0.00000000e00,
-0.00000000e00,
-0.00000000e00,
-0.00000000e00,
-0.00000000e00,
-0.00000000e00,
-0.00000000e00,
-0.00000000e00,
-0.00000000e00,
-0.00000000e00,
5.00000000e-03,
-5.00000000e-03,
0.00000000e00,
0.00000000e00,
5.00000000e-03,
-5.00000000e-03,
5.55111512e-19,
-5.55111512e-19,
5.55111512e-19,
-5.55111512e-19,
5.55111512e-19,
-5.55111512e-19,
5.55111512e-19,
-5.55111512e-19,
0.00000000e00,
0.00000000e00,
-0.00000000e00,
-0.00000000e00,
2.77555756e-19,
-2.77555756e-19,
-0.00000000e00,
-0.00000000e00,
-0.00000000e00,
-0.00000000e00,
2.77555756e-19,
-2.77555756e-19,
-0.00000000e00,
-0.00000000e00,
5.00000000e-03,
-5.00000000e-03,
0.00000000e00,
0.00000000e00,
5.00000000e-03,
-5.00000000e-03,
-0.00000000e00,
-0.00000000e00,
-1.00000000e-04,
0.00000000e00,
0.00000000e00,
-0.00000000e00,
-0.00000000e00,
-0.00000000e00,
-0.00000000e00,
1.00000000e-04,
0.00000000e00,
0.00000000e00,
]
)

Expand Down Expand Up @@ -7947,7 +7947,7 @@
"partition": _partition,
}
# test_constitutive_laws.py
_diagonal_entries = np.zeros((9, 39))
_diagonal_entries = np.zeros((9, 27))
_diagonal_entries[0, :] = 1.0
_diagonal_entries[4, :] = 1.0
_diagonal_entries[8, :] = 1.0
Expand Down
Loading