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

📄 nmax.cpp

📁 有限元计算程序用于计算平面板结构单元的应力和位移。
💻 CPP
字号:
#include <iostream>
using namespace std;
#include "Plate.h"

//---------------------------------------------------------------------------

int TPlate::count_nmax(){

        for (int i = 0; i < (NEQ + 1); i++){
            for (int j = 0; j < (MBAND + 1); j++){
                if (S[i][j] != 0){
                nmax = nmax + 1;
                }
            }
        }
       nmax = (nmax * 2) - NEQ + 1;

       return nmax;
}

//---------------------------------------------------------------------------
 

⌨️ 快捷键说明

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