Skip to content

Commit 747b2b7

Browse files
Addressing comment from reviewer
Co-authored-by: Pedro Gomes <38071223+pcarruscag@users.noreply.github.com>
1 parent 2ee6fed commit 747b2b7

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

SU2_CFD/include/drivers/CDriver.hpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,11 @@ class CDriver {
525525
* \param[in] iVertex - Vertex identifier.
526526
* \return Unit normal (vector) at the vertex.
527527
*/
528-
vector<passivedouble> GetVertexNormal(unsigned short iMarker, unsigned long iVertex, bool unitNormal) const;
528+
vector<passivedouble> GetVertexNormal(unsigned short iMarker, unsigned long iVertex, bool unitNormal = false) const;
529+
530+
inline vector<passivedouble> GetVertexUnitNormal(unsigned short iMarker, unsigned long iVertex) const {
531+
return GetVertexNormal(iMarker, iVertex, true);
532+
}
529533

530534
/*!
531535
* \brief Get all the boundary markers tags.

0 commit comments

Comments
 (0)