Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tnl-dev
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
TNL
tnl-dev
Commits
c73ab675
There was an error fetching the commit references. Please try again later.
Commit
c73ab675
authored
4 years ago
by
Jakub Klinkovský
Browse files
Options
Downloads
Patches
Plain Diff
Updated docstring for mesh initialization
[ci skip]
parent
9841b9a0
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/TNL/Meshes/MeshDetails/initializer/Initializer.h
+7
-7
7 additions, 7 deletions
src/TNL/Meshes/MeshDetails/initializer/Initializer.h
with
7 additions
and
7 deletions
src/TNL/Meshes/MeshDetails/initializer/Initializer.h
+
7
−
7
View file @
c73ab675
...
...
@@ -29,15 +29,16 @@
* not allocated at once, but by parts (by dimensions). The flow is roughly the
* following:
*
* - Allocate vertices and set their physical coordinates, deallocate input
* array of points.
* - Allocate cells and set their subvertex indices (but not other subentity
* indices), deallocate cell seeds (the cells will be used later).
* - Initialize vertices by copying their physical coordinates from the input
* array, deallocate the input array of points.
* - Initialize cells by copying their subvertex indices from cell seeds (but
* other subentity indices are left uninitialized), deallocate cell seeds
* (the cells will be used later).
* - For all dimensions D from (cell dimension - 1) to 1:
* - Create intermediate entity seeds, count the number of entities with
* current dimension.
* -
Allocate entities and s
et their subvertex indices. Create an indexed
*
set of entity seeds and
reference orientations (if applicable).
* -
S
et their subvertex indices. Create an indexed
set of entity seeds and
* reference orientations (if applicable).
* - For all superdimensions S > D:
* - Iterate over entities with dimension S and initialize their
* subentity indices with dimension D. Inverse mapping (D->S) is
...
...
@@ -45,7 +46,6 @@
* - For entities with dimension D, initialize their superentity indices
* with dimension S.
* - Deallocate all intermediate data structures.
* - For all superdimensions S > 0, repeat the same steps as above.
*
* Optimization notes:
* - Recomputing the seed key involves sorting all subvertex indices, but the
...
...
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