From bd14b9c0eed8769f1065942bece118fdca167a41 Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Wed, 15 Mar 2017 16:10:45 +0100 Subject: [PATCH] add getNoBasis to SIMSemi3D --- Apps/Common/SIMSemi3D.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Apps/Common/SIMSemi3D.h b/Apps/Common/SIMSemi3D.h index 607b6f0f..26d0ab06 100644 --- a/Apps/Common/SIMSemi3D.h +++ b/Apps/Common/SIMSemi3D.h @@ -371,6 +371,9 @@ public: //! \brief Dummy method. int getGlobalNode(int node) const { return -1; } + //! \brief Returns the number of bases in the model. + int getNoBasis() const { return m_planes[0]->getNoBasis(); } + protected: std::vector m_planes; //!< Planar solvers