Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
ogstools
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Max Bittens
ogstools
Commits
ce732477
Commit
ce732477
authored
1 year ago
by
Julian Heinze
Browse files
Options
Downloads
Patches
Plain Diff
bug fix - remove bulk_node/element_ids after assignment
parent
ff962ca8
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ogstools/feflowlib/tools.py
+6
-0
6 additions, 0 deletions
ogstools/feflowlib/tools.py
with
6 additions
and
0 deletions
ogstools/feflowlib/tools.py
+
6
−
0
View file @
ce732477
...
...
@@ -110,6 +110,9 @@ def extract_point_boundary_conditions(
dict_of_point_boundary_conditions
[
str
(
out_mesh_path
/
point_data
)
+
"
.vtu
"
]
=
filtered_points
# Remove bulk node/element ids from bulk mesh, as they are not needed anymore.
mesh
.
point_data
.
remove
(
"
bulk_node_ids
"
)
mesh
.
cell_data
.
remove
(
"
bulk_element_ids
"
)
return
dict_of_point_boundary_conditions
...
...
@@ -168,6 +171,9 @@ def extract_cell_boundary_conditions(
topsurf
.
point_data
.
remove
(
pt_data
)
# correct unit for P_IOFLOW, in FEFLOW m/d in ogs m/s
topsurf
.
cell_data
[
"
P_IOFLOW
"
]
=
topsurf
.
cell_data
[
"
P_IOFLOW
"
]
# Remove bulk node/element ids from bulk mesh, as they are not needed anymore.
mesh
.
point_data
.
remove
(
"
bulk_node_ids
"
)
mesh
.
cell_data
.
remove
(
"
bulk_element_ids
"
)
return
(
bulk_mesh_path
.
with_stem
(
"
topsurface_
"
+
bulk_mesh_path
.
stem
),
topsurf
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment