📄 global.h
字号:
#ifndef GLOBAL_H#define GLOBAL_Hextern "C" { int PARDISO (void *, int *, int *, int *, int *, int *, double *, int *, int *, int *, int *, int *, int *, double *, double *, int *);}#include "probdesc.h"#include "mechtop.h"#include "mechmat.h"#include "mechcrsec.h"#include "mechbclc.h"#include "lhsrhs.h"#include "adaptivity.h"#include "stochdriver.h"#include "outdriverm.h"#include "flsubdom.h"#ifdef EXTENDED_GLOBINC #include "gtopology.h" #include "gmatrix.h" #include "elemhead.h"#else class gtopology; class gmatrix; class barel2d; class barel3d; class barelq2d; class barelq3d; class beamel2d; class beamel3d; class beamgen3d; class soilbeam; class beam2dspec; class springel; class planeelemlt; class planeelemqt; class planeelemrotlt; class planeelemlq; class planeelemqq; class planeelemrotlq; class planeelemsubqt; class cctelem; class dktelem; class dstelem; class q4plate; class soilplatetr; class soilplateq; class axisymlq; class axisymlt; class axisymqq; class shelltr; class shellq; class lintet; class linhex; class quadhex; class linwedge; class quadwedge; class elemparticle; class plquadcontact;#endif#ifndef EXTERN#define EXTERN extern#endif//**************************************//**************************************// GLOBAL CONSTANTS AND VARIABLES//**************************************//**************************************// number of DOF in the problemEXTERN long Ndofm;// print detail messagesEXTERN long Mespr;EXTERN FILE *Out;//*****************************//*****************************// CLASSES CONTAINING DATA//*****************************//*****************************// problem descriptionEXTERN probdesc *Mp;// general topology (problem independent)EXTERN gtopology *Gtm;// especially topological dataEXTERN mechtop *Mt;// especially material dataEXTERN mechmat *Mm;// especially cross section dataEXTERN mechcrsec *Mc;// especially boundary condition and load case dataEXTERN mechbclc *Mb;// right and left side of the systemEXTERN lhsrhs *Lsrs;// adaptivityEXTERN adaptivity *Ada;// stochastic driverEXTERN stochdriver *St;// output driverEXTERN outdriverm *Outdm;// floating subdomainsEXTERN flsubdom *Fsd;//*************************//*************************// MATRIX STORAGES//*************************//*************************// stiffness matrixEXTERN gmatrix *Smat;// mass matrixEXTERN gmatrix *Mmat;// damping matrixEXTERN gmatrix *Dmat;// initial stiffness matrixEXTERN gmatrix *Ismat;// array of auxiliary matricesEXTERN gmatrix **Amat;//*************************//*************************// FINITE ELEMENTS//*************************//*************************// bar element with linear functions in 2DEXTERN barel2d *Bar2d;// bar element with linear functions in 2DEXTERN barel3d *Bar3d;// bar element with quadratic functions in 2DEXTERN barelq2d *Barq2d;// bar element with quadratic functions in 3DEXTERN barelq3d *Barq3d;// beam element in 2DEXTERN beamel2d *Beam2d;// beam element in 3DEXTERN beamel3d *Beam3d;// generalized beam element in 3DEXTERN beamgen3d *Beam3dg;// subsoil beam elementEXTERN soilbeam *Sbeam;// special beam in 2DEXTERN beam2dspec *Spbeam2d;// spring elementEXTERN springel *Spring;// linear triangular plane finite elementEXTERN planeelemlt *Pelt;// quadratic triangular plane finite elementEXTERN planeelemqt *Peqt;// linear triangular plane finite element with rotational degree of freedomEXTERN planeelemrotlt *Perlt;// linear quadrilateral plane finite elementEXTERN planeelemlq *Pelq;// quadratic quadrilateral plane finite elementEXTERN planeelemqq *Peqq;// linear quadrilateral plane finite element with rotational degree of freedomEXTERN planeelemrotlq *Perlq;// quadratic triangular plane finite element with subparametric geometry descriptionEXTERN planeelemsubqt *Pesqt;// constant curve triangular plate finite elementEXTERN cctelem *Cct;// Kirchhoff discrete plate finite elementEXTERN dktelem *Dkt;// thick triangular plate elementEXTERN dstelem *Dst;// quadrilateral discrete plate finite elementEXTERN q4plate *Q4pl;// subsoil plate triangular elementEXTERN soilplatetr *Spltr;// subsoil plate triangular elementEXTERN soilplateq *Splq;// axisymmetric quadrilateral finite element with bilinear shape functionsEXTERN axisymlq *Asymlq;// axisymmetric triangular finite element with linear shape functionsEXTERN axisymlt *Asymlt;// axisymmetric quadrilateral finite element with quadratic shape functionsEXTERN axisymqq *Asymqq;// shell triangular elementEXTERN shelltr *Shtr;// shell quadrilateral elementEXTERN shellq *Shq;// threedimensional linear tetrahedral finite elementEXTERN lintet *Ltet;// threedimensional linear hexagonal finite elementEXTERN linhex *Lhex;// threedimensional quadratic hexagonal finite elementEXTERN quadhex *Qhex;// threedimensional linear wedge finite elementEXTERN linwedge *Lwed;// threedimensional quadratic wedge finite elementEXTERN quadwedge *Qwed;// element for particle computationEXTERN elemparticle *Pelem;// plane quadrilateral element for contact problemsEXTERN plquadcontact *Pqcon;#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -