Skip to content

Commit

Permalink
Merge pull request #608 from su2code/feature_fix_initial_guess_quad
Browse files Browse the repository at this point in the history
Merging in this one.
  • Loading branch information
vdweide authored Nov 10, 2018
2 parents 4ad13b3 + 505e38e commit cf91b7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Common/src/adt_structure.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1206,8 +1206,8 @@ bool CADTElemClass::CoorInQuadrilateral(const unsigned long elemID,

/* Convert the parametric coordinates to the ones used by the
quadrilatral i0-i1-i2-i3. They serve as initial guess below. */
parCoor[0] = 1.0 - parCoor[0];
parCoor[1] = 1.0 - parCoor[1];
parCoor[0] = -parCoor[0];
parCoor[1] = -parCoor[1];
}

/* If the coordinate is in neither triangle, return false. */
Expand Down

0 comments on commit cf91b7c

Please sign in to comment.