Skip to content

Commit 45c6914

Browse files
refactor: refactor plugins to extract and merge block from GEOS pvd mesh (#169)
* Refactor plugin to always extract and merge all the possible blocks * Rename the plugin file * Update GEOS output attribute name
1 parent 5a68690 commit 45c6914

14 files changed

+438
-1409
lines changed

docs/geos_pv_docs/processing.rst

Lines changed: 3 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -47,28 +47,10 @@ PVClipToMainFrame
4747
Geos output pre-processing
4848
+++++++++++++++++++++++++++++
4949

50-
PVExtractMergeBlocksVolume plugin
51-
-------------------------------------------
52-
53-
.. automodule:: geos.pv.plugins.PVExtractMergeBlocksVolume
54-
55-
56-
PVExtractMergeBlocksVolumeSurface plugin
57-
--------------------------------------------------
58-
59-
.. automodule:: geos.pv.plugins.PVExtractMergeBlocksVolumeSurface
60-
61-
62-
PVExtractMergeBlocksVolumeSurfaceWell plugin
63-
------------------------------------------------------
64-
65-
.. automodule:: geos.pv.plugins.PVExtractMergeBlocksVolumeSurfaceWell
66-
67-
68-
PVExtractMergeBlocksVolumeWell plugin
69-
-----------------------------------------------
50+
PVGeosBlockExtractAndMerge plugin
51+
----------------------------------
7052

71-
.. automodule:: geos.pv.plugins.PVExtractMergeBlocksVolumeWell
53+
.. automodule:: geos.pv.plugins.PVGeosBlockExtractAndMerge
7254

7355

7456

docs/geos_pv_docs/utils.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,14 @@ geos.pv.utils.paraviewTreatments module
2424
---------------------------------------------
2525

2626
.. automodule:: geos.pv.utils.paraviewTreatments
27+
:members:
28+
:undoc-members:
29+
:show-inheritance:
30+
31+
geos.pv.utils.workflowFunctions module
32+
---------------------------------------
33+
34+
.. automodule:: geos.pv.utils.workflowFunctions
2735
:members:
2836
:undoc-members:
2937
:show-inheritance:

geos-processing/src/geos/processing/post_processing/GeosBlockMerge.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ def computePhaseNames( self: Self ) -> None:
201201
"""Get the names of the phases in the mesh from Cell attributes."""
202202
# All the phase attributes are on cells
203203
for name in getAttributeSet( self.inputMesh, False ):
204-
if PHASE_SEP in name:
204+
if PHASE_SEP in name and "dofIndex" not in name:
205205
phaseName: str
206206
suffixName: str
207207
phaseName, suffixName = name.split( PHASE_SEP )

geos-pv/src/geos/pv/plugins/PVExtractMergeBlocksVolume.py

Lines changed: 0 additions & 315 deletions
This file was deleted.

0 commit comments

Comments
 (0)