亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? intpoints.cpp

?? Finite element program for mechanical problem. It can solve various problem in solid problem
?? CPP
字號:
#include <string.h>#include "global.h"#include "intpoints.h"#include "microM4.h"#include "microSIM.h"#include "microfiber.h"intpoints::intpoints (){  tm = NULL;  idm = NULL;  nm = 0; hmt = 0;  ncompstr=0;  ncompother=0;  ssst = (strastrestate) 0;  strain = NULL;  stress = NULL;  other = NULL;  eqother = NULL;   nonloc = NULL;}intpoints::~intpoints (void){  delete [] tm;      delete [] idm;  delete [] strain;  delete [] stress;  delete [] other;   delete [] eqother;  delete [] nonloc;}void intpoints::read (FILE *in){  long i, idx, idxt;    fscanf (in, "%ld", &nm);  tm  = new mattype[nm];  idm = new long[nm];  memset (tm,  0, sizeof(*tm)*nm);  memset (idm, 0, sizeof(*idm)*nm);  idx = 0;  idxt = nm-1;  for (i = 0; i < nm; i++)  {    fscanf (in, "%d %ld", (int*)(tm+idx), idm+idx);    idm[idx]--;    if (tm[idx] == therisodilat || tm[idx] == therisodilattime){      Mp->temperature=1;      tm[idxt] = tm[idx];      idm[idxt] = idm[idx];      hmt ^= 1;      idxt--;      idx--;    }        idx++;  }}/**  This function returns index of elastic material in the tm and idm arrays     TK, 28.5.2003*/long intpoints::gemid(void){  long ret = nm - 1; // normally the elastic material is on the last position  if (hmt & 1) // the material has thermal dilatancy    ret--;  return ret;}/**  This function returns index of the nonlocal material in the tm and idm arrays  If no nonlocal material is present it returns -1.  TK, 28.5.2003*//*long intpoints::gnlmid(void){  long ret;  if (hmt & 2) // the material is nonlocal  {    ret = nm - 1; // normally it is on the last position    if (hmt & 1)  // the material has thermal dilatancy      ret--;  }  else    ret = -1;  return ret;}*//**   function allocates memory for stress, strain and other arrays   for material with the index 0      @param nlc - number of load cases   @param ipp - number of integration point*/void intpoints::alloc (long nlc,long ipp){  long ncompo = 0,ncompeqo = 0;    //fprintf (Out,"\n ncompstr %ld  nlc %ld",ncompstr,nlc);  //  number of components of array eqother  ncompeqo = Mm->givencompeqother(ipp, 0);  ncompeqother = ncompeqo;    //  number of components of array other  ncompo = Mm->givencompother(ipp, 0);  ncompother = ncompo;    strain = new double [nlc*ncompstr];  stress = new double [nlc*ncompstr];  memset(strain, 0, sizeof(*strain)*nlc*ncompstr);  memset(stress, 0, sizeof(*stress)*nlc*ncompstr);      if (ncompeqo > 0)    {      eqother = new double[ncompeqo];      memset(eqother, 0, sizeof(*eqother)*ncompeqo);    }  if (ncompo > 0)    {      other   = new double[ncompo];      memset(other, 0, sizeof(*other)*ncompo);    }}/**   function allocates array for strains      @param nlc - number of load cases      JK, 25.9.2004*/void intpoints::alloc_strains (long nlc){  strain = new double [nlc*ncompstr];}/**   function allocates array for stresses      @param nlc - number of load cases      JK, 25.9.2004*/void intpoints::alloc_stresses (long nlc){  stress = new double [nlc*ncompstr];}/**   function allocates array for stresses      JK, 25.9.2004*/void intpoints::alloc_other (long ipp){    //  number of components of array eqother  ncompeqother = Mm->givencompeqother(ipp, 0);    //  number of components of array other  ncompother = Mm->givencompother(ipp, 0);    if (ncompeqother > 0){    eqother = new double[ncompeqother];    memset(eqother, 0, sizeof(*eqother)*ncompeqother);  }  if (ncompother > 0){    other   = new double[ncompother];    memset(other, 0, sizeof(*other)*ncompother);  }  }/**   function cleans all arrays defined at integration point      @param nlc - number of load cases      JK, 25.9.2004*/void intpoints::clean (long nlc){  long i;  for (i=0;i<nlc*ncompstr;i++){    strain[i]=0.0;    stress[i]=0.0;  }  for (i=0;i<ncompeqother;i++){    eqother[i]=0.0;  }  for (i=0;i<ncompother;i++){    other[i]=0.0;  }}/**   function cleans strain array defined at integration point      @param nlc - number of load cases      JK, 25.9.2004*/void intpoints::clean_strains (long nlc){  long i;  for (i=0;i<nlc*ncompstr;i++){    strain[i]=0.0;  }}/**   function cleans stress array defined at integration point      @param nlc - number of load cases      JK, 25.9.2004*/void intpoints::clean_stresses (long nlc){  long i;  for (i=0;i<nlc*ncompstr;i++){    stress[i]=0.0;  }}/**   function cleans arrays other and eqother defined at integration point      JK, 25.9.2004*/void intpoints::clean_other (){  long i;  for (i=0;i<ncompeqother;i++){    eqother[i]=0.0;  }  for (i=0;i<ncompother;i++){    other[i]=0.0;  }}/**   function saves all arrays into the auxiliary file      @param aux - pointer to auxiliary file   @param nlc - number of load cases      JK, 19.9.2004*/void intpoints::save_data (FILE *aux,long nlc, long ido1, long ncompo){  long i;    for (i=0;i<nlc*ncompstr;i++){    fprintf (aux,"%e\n",strain[i]);  }  for (i=0;i<nlc*ncompstr;i++){    fprintf (aux,"%e\n",stress[i]);  }  for (i=ido1;i<ncompo;i++){    fprintf (aux,"%e\n",eqother[i]);  }  }/**   function restores all arrays from the auxiliary file      @param aux - pointer to auxiliary file   @param nlc - number of load cases      JK, 19.9.2004*/void intpoints::restore_data (FILE *aux,long nlc, long ido1, long ncompo, long tncompo){  long i, j;  double tmp;    for (i=0;i<nlc*ncompstr;i++){    fscanf (aux,"%le",&strain[i]);  }  for (i=0;i<nlc*ncompstr;i++){    fscanf (aux,"%le",&stress[i]);  }  j = 0;  for (i=0;i<tncompo;i++){    if ((i >= ido1) && (i < ido1+ncompo))    {      fscanf (aux,"%le",&eqother[j]);      j++;    }    else      fscanf (aux,"%le",&tmp);  }  }

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
色婷婷av一区二区三区大白胸| 91极品美女在线| 尤物在线观看一区| 日韩欧美精品三级| 日本韩国视频一区二区| 精品一区二区三区久久久| 一区二区三区日韩精品| 精品国产免费人成在线观看| 91蜜桃视频在线| 蜜臀av一区二区在线免费观看| 日韩一区有码在线| 精品美女一区二区三区| 欧美色手机在线观看| 国产a精品视频| 性做久久久久久久免费看| 久久精品视频网| 91精品国产欧美一区二区成人| 91丨porny丨蝌蚪视频| 国产主播一区二区三区| 日韩精品视频网| 亚洲人成网站在线| 国产三级一区二区三区| 日韩午夜激情视频| 在线观看免费一区| 99re成人精品视频| 丰满亚洲少妇av| 国产一区不卡在线| 麻豆精品一二三| 亚洲bdsm女犯bdsm网站| 亚洲精品老司机| 中文字幕中文字幕在线一区 | 韩国精品主播一区二区在线观看 | 中文字幕制服丝袜一区二区三区| 精品免费国产二区三区| 欧美一区二区女人| 91精品午夜视频| 欧美日韩国产精品成人| 99久久婷婷国产精品综合| 成人午夜电影久久影院| 国产很黄免费观看久久| 精品系列免费在线观看| 免费视频最近日韩| 天天综合日日夜夜精品| 香蕉av福利精品导航| 亚洲福利国产精品| 亚洲国产精品天堂| 一区二区免费在线播放| 亚洲美女电影在线| 亚洲人精品一区| 国产视频911| 国产精品久久久久aaaa| 国产精品久久久一本精品| 久久综合久色欧美综合狠狠| 久久综合色婷婷| 亚洲精品一区二区三区蜜桃下载| 精品国产一区二区三区四区四| 欧美mv和日韩mv的网站| 欧美极品aⅴ影院| 日本一区二区成人| 亚洲欧洲国产日韩| 中文字幕在线一区二区三区| 亚洲激情成人在线| 日本最新不卡在线| 精品一区二区三区在线观看| 国产成人综合自拍| 99久久免费国产| 成人亚洲精品久久久久软件| 日本成人超碰在线观看| 不卡视频在线观看| 成人激情午夜影院| 成人av动漫在线| 色婷婷久久综合| 欧美高清性hdvideosex| 欧美大片拔萝卜| 国产精品久线在线观看| 亚洲精品老司机| 蜜臀av一级做a爰片久久| 国产精品一二三区在线| 91在线高清观看| 欧美福利视频一区| 国产色91在线| 亚洲国产精品天堂| 国产成人欧美日韩在线电影| 日本乱人伦一区| 精品乱人伦小说| 亚洲欧美另类图片小说| 另类欧美日韩国产在线| gogogo免费视频观看亚洲一| 欧美日韩一级片网站| 国产亚洲一本大道中文在线| 一区二区视频在线| 黄一区二区三区| 在线免费观看日本一区| 日韩三级中文字幕| 国产精品成人一区二区艾草| 日av在线不卡| 成人一区二区三区视频| 91精品国产综合久久精品图片 | 日韩国产精品大片| 国产精品一区二区久激情瑜伽 | 久久新电视剧免费观看| 一级中文字幕一区二区| 国产精品69毛片高清亚洲| 欧美日韩小视频| 国产精品美女久久久久aⅴ国产馆| 午夜亚洲国产au精品一区二区| 成人黄页毛片网站| 日韩精品一区二区在线| 亚洲综合网站在线观看| 成人h版在线观看| 精品国产乱码久久久久久浪潮 | 亚洲自拍偷拍av| 懂色av中文一区二区三区| 欧美三级电影网| 亚洲欧洲日韩av| 国产毛片精品视频| 日韩欧美一区二区免费| 夜夜精品视频一区二区| 国产成人av一区二区三区在线观看| 欧美日本国产视频| 亚洲在线成人精品| 99re热视频精品| 国产精品久久毛片| 国产中文一区二区三区| 日韩三级伦理片妻子的秘密按摩| 亚洲伊人色欲综合网| 99久久综合国产精品| 国产欧美日韩卡一| 国产一区二区三区久久悠悠色av| 欧美一区二区三区视频免费 | 91精品国产福利| 亚洲黄色尤物视频| 91啪在线观看| 国产精品久久久一区麻豆最新章节| 国产精品主播直播| 国产日产亚洲精品系列| 国产成人免费视频一区| 久久一区二区三区四区| 久久91精品国产91久久小草| 日韩一区二区免费在线电影| 午夜不卡av在线| 69堂国产成人免费视频| 日本美女一区二区| 欧美妇女性影城| 免费观看一级欧美片| 日韩久久精品一区| 另类小说视频一区二区| 欧美精品一区二区三区在线| 韩国女主播成人在线| 久久久久久久久久美女| 东方欧美亚洲色图在线| 综合中文字幕亚洲| 91久久一区二区| 午夜日韩在线电影| 日韩一区二区中文字幕| 九九久久精品视频| 欧美高清在线一区| 在线精品视频免费播放| 亚洲曰韩产成在线| 欧美日韩精品一区二区三区蜜桃| 一级女性全黄久久生活片免费| 欧美日韩亚洲不卡| 久久国产精品免费| 中文字幕欧美日韩一区| 一本色道久久综合亚洲aⅴ蜜桃 | 亚洲精品日韩综合观看成人91| 91福利在线观看| 视频一区二区国产| 久久在线观看免费| av男人天堂一区| 午夜欧美视频在线观看| 欧美电影免费观看高清完整版在| 国产伦精一区二区三区| 亚洲免费av观看| 日韩午夜av一区| 国产成人小视频| 中文字幕一区二区在线播放| 欧美性生交片4| 国内久久精品视频| 尤物在线观看一区| 欧美电视剧免费全集观看| 99在线精品观看| 蜜臀久久久久久久| 中文字幕在线观看一区| 欧美日韩国产精选| 国产精品中文欧美| 亚洲成在线观看| 精品成人佐山爱一区二区| 91麻豆蜜桃一区二区三区| 日韩国产精品91| 中文字幕一区视频| 日韩欧美一区在线| 色婷婷久久99综合精品jk白丝| 免费成人你懂的| 中文字幕中文字幕中文字幕亚洲无线 | 久久精品国产一区二区| 综合久久给合久久狠狠狠97色| 欧美一级xxx| 91美女福利视频| 国产综合一区二区|