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

📄 skylineu.hxx

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

#ifndef skylineu_hxx

#include "skyline.hxx"
#include "rowcol.hxx"


class SkylineUnsym : public Skyline
/*
   This class implements a nonsymmetric matrix stored in a compacted
   (skyline) form. Its shape is symmetric, but not its coefficients.
 DESCRIPTION :
   The Skyline contains 'size' row-column segments, each of them of any size;
   these are stored in the attribute 'rowColumns'.
 TASKS :
   - those declared in superclass Skyline ;
   - enlarging its profile in order to assemble an elemental contribution ;
     (method 'growTo')
   - storing or returning a coefficient (method 'at'), return a row-column
     (method 'giveRowColumn').
*/
{
   enum { FALSE , TRUE } ;

   protected :
      int          size ;
      RowColumn**  rowColumns ;

   public :
      SkylineUnsym () ;                            // constructor
      ~SkylineUnsym () ;                           // destructor

      FloatMatrix*  AsFloatMatrix () ;
      double&       at (int i,int j) ;
      void          assemble (FloatMatrix*,IntArray*) ;
      FloatArray*   backSubstitutionWith (FloatArray*) ;
      void          carveYourselfFor (Domain*) ;
      void          checkSizeTowards (IntArray*) ;
      Skyline*      diagonalScalingWith (FloatArray*) ;
      Skyline*      factorized () ;
      Skyline*      forwardReductionWith (FloatArray*) ;
      RowColumn*    giveRowColumn (int j) ;
      void          growTo (int) ;
      void          printYourself () ;
      Skyline*      reinitialized () ;
} ;


#define skylineu_hxx
#endif

⌨️ 快捷键说明

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