changed: make ASMsxD::getSize public

This commit is contained in:
Arne Morten Kvarving
2015-11-25 19:18:22 +01:00
committed by Knut Morten Okstad
parent 61e13a1ea9
commit 77e43fd18d
3 changed files with 6 additions and 14 deletions

View File

@@ -71,6 +71,10 @@ public:
//! This is used to reinitialize the patch after it has been refined.
virtual void clear(bool retainGeometry = false);
//! \brief Returns the number of nodal points in the patch.
//! \param[in] basis Which basis to return size parameters for (mixed methods)
virtual int getSize(int basis = 0) const;
//! \brief Returns the global coordinates for the given node.
//! \param[in] inod 1-based node index local to current patch
virtual Vec3 getCoord(size_t inod) const;
@@ -301,10 +305,6 @@ protected:
//! \param[in] iel Element index
double getParametricLength(int iel) const;
//! \brief Returns the number of nodal points in the patch.
//! \param[in] basis Which basis to return size parameters for (mixed methods)
virtual int getSize(int basis = 0) const;
//! \brief Returns the parametric length on the \a i'th knot-span.
double getKnotSpan(int i) const;

View File

@@ -198,17 +198,14 @@ public:
//! \param[in] silence If \e true, suppress threading group outprint
virtual void generateThreadGroups(const Integrand& integrand, bool silence);
protected:
// Internal utility methods
// ========================
//! \brief Returns the number of nodal points in each parameter direction.
//! \param[out] n1 Number of nodes in first (u) direction
//! \param[out] n2 Number of nodes in second (v) direction
//! \param[in] basis Which basis to return size parameters for
virtual bool getSize(int& n1, int& n2, int basis = 0) const;
protected:
std::vector<std::shared_ptr<Go::SplineSurface>> m_basis; //!< Vector of bases
};

View File

@@ -193,11 +193,6 @@ public:
//! \param[in] silence If \e true, suppress threading group outprint
virtual void generateThreadGroups(char lIndex, bool silence);
protected:
// Internal utility methods
// ========================
//! \brief Returns the number of nodal points in each parameter direction.
//! \param[out] n1 Number of nodes in first (u) direction
//! \param[out] n2 Number of nodes in second (v) direction