⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 boundary.hxx

📁 不错的国外的有限元程序代码,附带详细的manual,可以节省很多的底层工作.
💻 HXX
字号:
//   ********************************
//   *** CLASS BOUNDARY CONDITION ***
//   ********************************
 

#include "load.hxx"
#include "dictionr.hxx"
class TimeStep ; class Dictionary ;


class BoundaryCondition : public Load
/*
   This class implements a kinematic boundary condition. A b.c. is usually
   attribute of one or more degrees of freedom.
 DESCRIPTION
   The inherited attribute 'componentArray is not used. It is replaced with
   the more adequate dictionary 'prescribedValueDictionary', which entries are
   referenced by names rather than by indices.
 TASKS
   returning a component, i.e., the prescribed value of a kinematic unknown
   (displacement, velocity, temperature, etc).
   REMARK
   Like the other Loads, a b.c. possesses a load-time function, which is ty-
   pically a ConstantFunction.
*/
{
   private :
      Dictionary*  prescribedValueDictionary ;

   public :
      BoundaryCondition (int i,Domain* d) : Load(i,d)
				       { prescribedValueDictionary = NULL ;}
      ~BoundaryCondition ()            { delete prescribedValueDictionary ;}

      double  give (char,TimeStep*) ;
      void    instanciateYourself ()   { this->readConditions() ;}
      void    readConditions () ;
} ;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -