Skip to content

Comments

AMR sketch#2169

Draft
adampep wants to merge 116 commits intoExtremeFLOW:developfrom
adampep:feature/p4est
Draft

AMR sketch#2169
adampep wants to merge 116 commits intoExtremeFLOW:developfrom
adampep:feature/p4est

Conversation

@adampep
Copy link
Collaborator

@adampep adampep commented Nov 18, 2025

A sketch for adaptive mesh refinement

For now pixi file is not changed
- extracted amr.h
- added interface for p4est data initialisation
- number of smaller changes
- added connectivity and tree generation functions
- added VTK I/O funstion
Multiple improvments:
- mesh manager added to case type
- added non-conforming connectivity
- finalised geometry and connectivity types
- improved import from p4est
Split of mesh_manager.f90 to mesh_geom.f90, mesh_conn.f90 and mesh_mesh.f90
Added type extension for p4est
Missing steps:
- global numbering of hanging nodes
- global edge orientation
- added edge alignment
- multiple small corrections
- not complete as bc update is missing; works for tgv only
This flag is needed to simplify AMR restarting. In this case the
initial flag value is stored and finalisation can be performed without
specifying it.
There was a problem with introduced zone_indices in bc_t. Temporary solution
Not tested, as field arrays is not used yet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

don't merge Don't merge yet! enhancement New feature or request help wanted Extra attention is needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant