File tree Expand file tree Collapse file tree
Common/include/geometry/primal_grid Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -250,7 +250,7 @@ class CPrimalGrid {
250250 * \brief Get the element global index in a parallel computation.
251251 * \return Global index of the element in a parallel computation.
252252 */
253- inline unsigned long GetGlobalIndex () const { if (gi) SU2_MPI::Error (" gi" ,CURRENT_FUNCTION); return GlobalIndex_DomainElement; }
253+ inline unsigned long GetGlobalIndex () const { if (! gi) SU2_MPI::Error (" gi" ,CURRENT_FUNCTION); return GlobalIndex_DomainElement; }
254254
255255 /* !
256256 * \brief Set the global index for an element in a parallel computation.
@@ -267,7 +267,7 @@ class CPrimalGrid {
267267 /* !
268268 * \brief Get the index of the domain element of which this boundary element is a face.
269269 */
270- inline unsigned long GetDomainElement () const { if (! gi) SU2_MPI::Error (" gi" ,CURRENT_FUNCTION); return GlobalIndex_DomainElement; }
270+ inline unsigned long GetDomainElement () const { if (gi) SU2_MPI::Error (" gi" ,CURRENT_FUNCTION); return GlobalIndex_DomainElement; }
271271
272272 /* !
273273 * \brief A pure virtual member.
You can’t perform that action at this time.
0 commit comments