- 0
- 0
- 约1.61万字
- 约 19页
- 2017-08-04 发布于北京
- 举报
F90 a feature a week
! pointer
Pointer is an attribute of a variable, and can be used to point
to variables of the same data type;
A pointed target must have target or pointer attribute
a pointer is a nickname or a title
real,target :: a,b,EDisp(6) !can be pointed
real,pointer :: p1,p2 ! title: 班长、课代表
!p1,p2 are pointers, can point real data
real,pointer :: G(:) ! 先进集体
!G is a pointer, can point to 1D real array
5(I) - 1
• Pointer is a “title”, the above declaration established
several “titles”, but not yet given to any variables, and
hence are all pointing to null (no memory used).
a = 3.0
p1 = a ! p1 pointing to a
! title p1 is given to a,the data of a has two names:
fixed name a and a floating name p1; either one can
be used (p1 — 班长, a — John)
a = 4.0 ! ais 4.0, p1 is also 4.0
p1 = b ! 班长 is changed to s.b. else
G = EDisp ! 先进集体 is issued
!EDisp(:) and G(:) have same length, same effect
using G or using EDisp
5(I) - 2
More examples:
real,target :: a,b
real,pointer:: p,q
a = 3.14
b = 2.0
p = a ! p = a = 3.14
q = b ! q = b = 2.0
q = p
! ( q pointing to b ) = ( p pointing to a )
!i.e. all = 3.14
5(I) - 3
5. Statically Indeterminate
5. Statically Indeterminate
Structure
Structure
§1 Introduction
§2 Element analysis
§3 Global analysis
§4 Storage of variable band matrix
§5 Decomposition of stiffness matrix
§6 Illustrative examples
5(I) - 4
§1 Introduction
Features of S.I. structures:
• needs stiffness, materia
您可能关注的文档
最近下载
- 信息资源管理题库及分析.doc VIP
- 2025年度组织生活会党员个人对照检查材料.pdf VIP
- DLT1561-2016 避雷器监测装置校准规范.docx VIP
- 深圳达实智能股份有限公司_企业(业主版).pptx VIP
- 实施指南(2025)《DLT 1561-2016 避雷器监测装置校准规范》.pptx VIP
- 水利工程白蚁普查合同7篇.docx VIP
- 葫芦岛市2024-2025学年高二(下学期)期末考试英语试题(含答案).pdf
- 西奥电梯 XO-CON6742 电气原理图.pdf
- 辅警考试真题大全及答案2025.doc VIP
- 广东省水库大坝和河道堤防白蚁防治情况的普查.doc VIP
原创力文档

文档评论(0)