diff --git a/src/ASM/LR/ASMu2D.C b/src/ASM/LR/ASMu2D.C index 1c66a8dd..846c45f1 100644 --- a/src/ASM/LR/ASMu2D.C +++ b/src/ASM/LR/ASMu2D.C @@ -692,7 +692,7 @@ int ASMu2D::getCorner(int I, int J, int basis) const { std::vector edgeFunctions; - const LR::LRSplineSurface* srf = getBasis(basis); + const LR::LRSplineSurface* srf = this->getBasis(basis); // Note: Corners are identified by "coordinates" {-1,-1} {-1,1} {1,-1} {1,1}. if (I < 0) { diff --git a/src/ASM/LR/ASMu2D.h b/src/ASM/LR/ASMu2D.h index dd98b263..97dc608d 100644 --- a/src/ASM/LR/ASMu2D.h +++ b/src/ASM/LR/ASMu2D.h @@ -171,11 +171,13 @@ public: //! \param[in] J Parameter index in v-direction //! \param[in] dof Which DOFs to constrain at the node //! \param[in] code Inhomogeneous dirichlet condition code + //! \param[in] basis Basis to constrain node for //! //! \details The sign of the two indices is used to define whether we want //! the node at the beginning or the end of that parameter direction. //! The magnitude of the indices are not used. - virtual void constrainCorner(int I, int J, int dof, int code = 0, char = 1); + virtual void constrainCorner(int I, int J, int dof, + int code = 0, char basis = 1); //! \brief Constrains a node identified by two relative parameter values. //! \param[in] xi Parameter in u-direction //! \param[in] eta Parameter in v-direction