3535 * \author F. van Steen
3636 */
3737
38- class CRadialBasisFunctionNode {
38+ class CRadialBasisFunctionNode {
3939 protected:
40- unsigned long idx; /* !< \brief Global index. */
41- unsigned short marker_idx; /* !< \brief Marker index. */
42- unsigned long vertex_idx; /* !< \brief Vertex index. */
43-
44- su2double error[3 ]; /* !< \brief Nodal data reduction error; */
45-
46- public:
40+ unsigned long idx; /* !< \brief Global index. */
41+ unsigned short marker_idx; /* !< \brief Marker index. */
42+ unsigned long vertex_idx; /* !< \brief Vertex index. */
4743
44+ su2double error[3 ]; /* !< \brief Nodal data reduction error. */
45+
46+ public:
4847 /* !
49- * \brief Constructor of the class.
50- * \param[in] idx_val - Local node index.
51- * \param[in] marker_val - Local marker index.
52- * \param[in] vertex_val - Local vertex index.
53- */
48+ * \brief Constructor of the class.
49+ * \param[in] idx_val - Local node index.
50+ * \param[in] marker_val - Local marker index.
51+ * \param[in] vertex_val - Local vertex index.
52+ */
5453 CRadialBasisFunctionNode (unsigned long idx_val, unsigned short marker_val, unsigned long vertex_val);
5554
5655 /* !
57- * \brief Returns local global index.
58- * \return Local node index.
59- */
60- inline unsigned long GetIndex (){ return idx;}
56+ * \brief Returns local global index.
57+ * \return Local node index.
58+ */
59+ inline unsigned long GetIndex () { return idx; }
6160
6261 /* !
63- * \brief Returns local vertex index.
64- * \return Local vertex index.
65- */
66- inline unsigned long GetVertex (){ return vertex_idx;}
62+ * \brief Returns local vertex index.
63+ * \return Local vertex index.
64+ */
65+ inline unsigned long GetVertex () { return vertex_idx; }
6766
6867 /* !
69- * \brief Returns local marker index.
70- * \return Local marker index.
71- */
72- inline unsigned short GetMarker (){ return marker_idx;}
68+ * \brief Returns local marker index.
69+ * \return Local marker index.
70+ */
71+ inline unsigned short GetMarker () { return marker_idx; }
7372
7473 /* !
75- * \brief Set error of the RBF node.
76- * \param val_error - Nodal error.
77- * \param nDim - Number of dimensions.
78- */
74+ * \brief Set error of the RBF node.
75+ * \param val_error - Nodal error.
76+ * \param nDim - Number of dimensions.
77+ */
7978
8079 inline void SetError (const su2double* val_error, unsigned short nDim) {
8180 for (auto iDim = 0u ; iDim < nDim; iDim++) error[iDim] = val_error[iDim];
8281 }
8382
8483 /* !
85- * \brief Get nodal error.
86- * \return Nodal error.
87- */
88- inline su2double* GetError (){ return error;}
89- };
84+ * \brief Get nodal error.
85+ * \return Nodal error.
86+ */
87+ inline su2double* GetError () { return error; }
88+ };
0 commit comments