File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -180,7 +180,7 @@ class CFVMFlowSolverBase : public CSolver {
180180 static constexpr bool ReducerStrategy = false ;
181181#endif
182182
183- /* --- Edge fluxes, for OpenMP parallelization off difficult-to-color grids.
183+ /* --- Edge fluxes, for OpenMP parallelization of difficult-to-color grids.
184184 * We first store the fluxes and then compute the sum for each cell.
185185 * This strategy is thread-safe but lower performance than writting to both
186186 * end points of each edge, so we only use it when necessary, i.e. when the
Original file line number Diff line number Diff line change @@ -55,14 +55,13 @@ void CTecplotBinaryFileWriter::Write_Data(){
5555
5656 /* --- Reduce the total number of each element. ---*/
5757
58- unsigned long nParallel_Line = dataSorter->GetnElem (LINE),
59- nParallel_Tria = dataSorter->GetnElem (TRIANGLE),
58+ unsigned long nParallel_Tria = dataSorter->GetnElem (TRIANGLE),
6059 nParallel_Quad = dataSorter->GetnElem (QUADRILATERAL),
6160 nParallel_Tetr = dataSorter->GetnElem (TETRAHEDRON),
6261 nParallel_Hexa = dataSorter->GetnElem (HEXAHEDRON),
6362 nParallel_Pris = dataSorter->GetnElem (PRISM),
6463 nParallel_Pyra = dataSorter->GetnElem (PYRAMID);
65-
64+
6665 unsigned long nTot_Line = dataSorter->GetnElemGlobal (LINE),
6766 nTot_Tria = dataSorter->GetnElemGlobal (TRIANGLE),
6867 nTot_Quad = dataSorter->GetnElemGlobal (QUADRILATERAL),
@@ -135,6 +134,8 @@ void CTecplotBinaryFileWriter::Write_Data(){
135134
136135#ifdef HAVE_MPI
137136
137+ unsigned long nParallel_Line = dataSorter->GetnElem (LINE);
138+
138139 unsigned short iVar;
139140 NodePartitioner node_partitioner (num_nodes, size);
140141 std::set<unsigned long > halo_nodes;
You can’t perform that action at this time.
0 commit comments