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

📄 load.hxx

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

#ifndef load_hxx

#include "femcmpnn.hxx"
#include "domain.hxx"
#include "flotarry.hxx"
#include "dictionr.hxx"


class Load : public FEMComponent
/*
   This abstract class is the superclass of the classes that implement loads
   (body load, nodal load, boundary conditions, etc). A load is an attribute
   of the domain. It is usually also attribute of several elements, nodes or
   dofs.
 DESCRIPTION
   The load stores its values in 'componentArray'. The components of a load
   at a given time step is the product of 'componentArray' by the value of
   the function 'loadTimeFunction' at that time step.
 TASK
   Returning its components and its load-time function ;
*/
{
   protected :
      FloatArray*    componentArray ;
      int            loadTimeFunction ;

   public :
      Load (int,Domain*) ;                              // constructor
      virtual ~Load ()  { delete componentArray ;}      // destructor

      // computations
      LoadTimeFunction*  giveLoadTimeFunction () ;
      FloatArray*        giveComponentArray () ;

      // definition of a load
      Load*              typed () ;
      Load*              ofType (char*) ;
      char*              giveClassName (char* s)   {return strcpy(s,"Load");}
      virtual void       instanciateYourself () ;
} ;

#define load_hxx
#endif

⌨️ 快捷键说明

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