From c73ab6751860eaa0b2310f172d6228d9292cdae4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Klinkovsk=C3=BD?= <klinkovsky@mmg.fjfi.cvut.cz> Date: Wed, 24 Feb 2021 16:13:51 +0100 Subject: [PATCH] Updated docstring for mesh initialization [ci skip] --- .../Meshes/MeshDetails/initializer/Initializer.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/TNL/Meshes/MeshDetails/initializer/Initializer.h b/src/TNL/Meshes/MeshDetails/initializer/Initializer.h index 754e82a2c5..79c2cc5b9a 100644 --- a/src/TNL/Meshes/MeshDetails/initializer/Initializer.h +++ b/src/TNL/Meshes/MeshDetails/initializer/Initializer.h @@ -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 set their subvertex indices. Create an indexed - * set of entity seeds and reference orientations (if applicable). + * - Set 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 -- GitLab