File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
src/Infrastructure/Mesh/src Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -882,10 +882,6 @@ void ESMCI_meshaddelements(Mesh **meshpp,
882882 }
883883
884884
885- // Record original element count
886- mesh .setOrigElemConnCount (* _elemConn_size );
887-
888-
889885 // Variable indicating if any of the elements on this PET are split
890886 bool is_split_local = false;
891887
@@ -1093,8 +1089,11 @@ void ESMCI_meshaddelements(Mesh **meshpp,
10931089 }
10941090
10951091
1096- // If split, record original element connections for split elements
1097- if (mesh .is_split ) {
1092+ // Record original element count
1093+ mesh .setOrigElemConnCount (num_elemConn );
1094+
1095+ // If split, record original element connections for split elements
1096+ if (mesh .is_split ) {
10981097
10991098 // Record that we're adding information
11001099 mesh .has_orig_info = true;
You can’t perform that action at this time.
0 commit comments