From c2ff234806f682ef77323d270ce12c0cc64c9bf1 Mon Sep 17 00:00:00 2001 From: Knut Morten Okstad Date: Thu, 15 Dec 2016 17:49:07 +0100 Subject: [PATCH] Changed: Use forward-declarations instead if including SIMbase.h Added: Dummy implementation of createFEMmodel. --- src/SIM/SIMdummy.h | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/src/SIM/SIMdummy.h b/src/SIM/SIMdummy.h index 0a31e6b1..33d3bb02 100644 --- a/src/SIM/SIMdummy.h +++ b/src/SIM/SIMdummy.h @@ -14,7 +14,13 @@ #ifndef _SIM_DUMMY_H_ #define _SIM_DUMMY_H_ -#include "SIMbase.h" +#include +#include + +class ASMbase; +class IntegrandBase; +class ModelGenerator; +class TiXmlElement; /*! @@ -34,11 +40,16 @@ public: //! \brief Returns the number of parameter dimensions in the model. virtual unsigned short int getNoParamDim() const { return 0; } //! \brief Reads a patch from given input stream. - virtual ASMbase* readPatch(std::istream&,int, const SIMbase::CharVec&) const + virtual ASMbase* readPatch(std::istream&,int, + const std::vector&) const { return nullptr; } //! \brief Reads patches from given input stream. - virtual bool readPatches(std::istream&,SIMdependency::PatchVec&,const char*) const + virtual bool readPatches(std::istream&, + std::vector&,const char*) const { return false; } + //! \brief Creates the computational FEM model from the spline patches. + virtual bool createFEMmodel(char) { return false; } + protected: //! \brief Preprocesses a user-defined Dirichlet boundary property. virtual bool addConstraint(int,int,int,int,int,int&,char)