We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ee6fed commit 747b2b7Copy full SHA for 747b2b7
1 file changed
SU2_CFD/include/drivers/CDriver.hpp
@@ -525,7 +525,11 @@ class CDriver {
525
* \param[in] iVertex - Vertex identifier.
526
* \return Unit normal (vector) at the vertex.
527
*/
528
- vector<passivedouble> GetVertexNormal(unsigned short iMarker, unsigned long iVertex, bool unitNormal) const;
+ 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
+ }
533
534
/*!
535
* \brief Get all the boundary markers tags.
0 commit comments