Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
INMOST
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Terekhov
INMOST
Commits
b033a1cb
Commit
b033a1cb
authored
Apr 18, 2018
by
Kirill Terekhov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
disable reorderempty in pmf file
parent
453db204
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
Examples/AdaptiveMesh/amesh.cpp
Examples/AdaptiveMesh/amesh.cpp
+4
-3
Source/IO/mesh_pmf_file.cpp
Source/IO/mesh_pmf_file.cpp
+1
-1
No files found.
Examples/AdaptiveMesh/amesh.cpp
View file @
b033a1cb
...
...
@@ -326,20 +326,21 @@ namespace INMOST
ReleaseMarker
(
mark_hanging_nodes
);
ReleaseMarker
(
mark_cell_edges
);
DeleteTag
(
internal_face_edges
);
//ExchangeData(hanging_nodes,CELL | FACE,0);
//10.jump to later schedule, and go to 7.
schedule_counter
--
;
}
//free created tag
DeleteTag
(
indicator
,
FACE
|
EDGE
);
//11. Restore parallel connectivity, global ids
//ResolveModification();
ResolveShared
(
true
);
ResolveModification
();
//12. Let the user update their data
//todo: call back function for New() cells
//13. Delete old elements of the mesh
ApplyModification
();
//14. Done
EndModification
();
//ExchangeData(hanging_nodes,CELL | FACE,0);
//reorder element's data to free up space
ReorderEmpty
(
CELL
|
FACE
|
EDGE
|
NODE
);
//return number of refined cells
...
...
@@ -636,7 +637,6 @@ namespace INMOST
}
}
//jump to later schedule
//ExchangeData(hanging_nodes,CELL | FACE,0);
schedule_counter
--
;
}
//free created tag
...
...
@@ -649,6 +649,7 @@ namespace INMOST
ApplyModification
();
//done
EndModification
();
//ExchangeData(hanging_nodes,CELL | FACE,0);
//cleanup null links to hanging nodes
for
(
ElementType
etype
=
FACE
;
etype
<=
CELL
;
etype
=
NextElementType
(
etype
))
{
...
...
Source/IO/mesh_pmf_file.cpp
View file @
b033a1cb
...
...
@@ -58,7 +58,7 @@ namespace INMOST
out
<<
INMOST
::
INMOSTFile
;
out
<<
INMOST
::
MeshHeader
;
ReorderEmpty
(
NODE
|
EDGE
|
FACE
|
CELL
|
ESET
);
//
ReorderEmpty(NODE | EDGE | FACE | CELL | ESET);
uconv
.
write_iByteOrder
(
out
);
uconv
.
write_iByteSize
(
out
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment