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

📄 node.h

📁 Finite element program for mechanical problem. It can solve various problem in solid problem
💻 H
字号:
#ifndef NODE_H#define NODE_H#include <stdio.h>#include "alias.h"#include "iotools.h"struct vector;/**   class node      contains all necessary informations which are not collected in the class gnode from GEFEL      JK*/class node{ public:  node (void);  ~node (void);  void read (XFILE *in,long ndofn);  void alloc (long ncomp,long ncompo,long nlc);  void realloc (long ncompo,long nlc);  void storestrain (long lcid,long fi,vector &eps);  void storestrain (long lcid,long fi,long ncomp,vector &eps);  void storestress (long lcid,long fi,vector &sig);  void storestress (long lcid,long fi,long ncomp,vector &sig);  void storeother  (long lcid,long fi,long ncomp,vector &otherv);  void strain_averageval (long lcid);  void stress_averageval (long lcid);  void other_averageval  (long lcid);  void nullstrain (long lcid);  void nullstress (long lcid);  void nullother  (long lcid);  void clean (long nlc);  void alloc_meaning (long nid);  void alloc_growstr (long nid);    ///  type of cross section  crsectype crst;  ///  number of appropriate cross section type  long idcs;  ///  indicator of special coordinate system in node  long transf;  ///  base vectors of local coordinate system  double *e1,*e2,*e3;  /// principal values of strains  double *pstra;  /// principal values of stresses  double *pstre;  ///  presence of reactions  long react;  ///  reactions  double *r;  ///  number of components of strain/stress array  long ncompstr;  ///  number of components of other array  long ncompother;  ///  number of contribution to the node  long *ncontr_strain,*ncontr_stress,*ncontr_other;  ///  array containing strains  double *strain;  ///  array containing stresses  double *stress;  ///  array containing other values  ///  it serves only for temporary purposes,  ///  it is often rewritten  double *other;    ///  array of nodal values  double *nodval;  ///  array of nodal values for graphical output  ///  this array is used in analysis with variable number of elements and nodes  double *nvgraph;  ///  array of nodal forces  ///  this array is used in analysis with variable number of elements and nodes  double *nvforce;  ///  meaning of DOFs  ///  meaning=1 - displacement in x direction  ///  meaning=2 - displacement in y direction  ///  meaning=3 - displacement in z direction  ///  meaning=4 - rotation about x direction  ///  meaning=5 - rotation about y direction  ///  meaning=6 - rotation about z direction  long *meaning;};/*  v kazdem uzlu je treba vzhledem k obecnosti softwaru  uchovavat ndofn, protoze existuji prvky s rozdilnymi  pocty DOF v ruznych uzlech, napr. trojuhelnikova deska  s polynomem 5. stupne ma ve vrcholech 6 neznamych, ale  v uzlech uprostred stran ma pouze jeden stupen volnosti  podpory jsou tim padem dany ve vstupnim souboru, protoze  kazdy uzel obsahuje pole cn, kde 0 znamena braneno,  1 znamena volno a zaporna cisla jsou po porovedeni absolutni  hodnoty pointry na predepsana posunuti  */#endif

⌨️ 快捷键说明

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