static.hxx

来自「不错的国外的有限元程序代码,附带详细的manual,可以节省很多的底层工作.」· HXX 代码 · 共 37 行

HXX
37
字号
//   ********************
//   *** CLASS STATIC ***
//   ********************


#include "timinteg.hxx"
#include "timestep.hxx"


class Static : public TimeIntegrationScheme
/*
   This class implements a quasi-static time integration scheme. Multiple
   time steps in quasi-statics are useful for computing a structure subjected
   to various load cases.
   The static scheme assigns to the dofs a unique unknown :
      - the displacement 'd' .
   The static scheme assumes that the linear system's left-hand side remains
   unmodified all along the time history.
*/
{
   public :
      Static (int i,Domain* d) : TimeIntegrationScheme(i,d)  { }

      TimeStep*  GiveInitialStep ()  { return new TimeStep(1,this);}
      int        isStatic ()         { return TRUE ;}
      int        requiresNewLhsAt (TimeStep* stepN)
				     { return (stepN->giveNumber() == 1) ;}
} ;








⌨️ 快捷键说明

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