/* created by combine 2.0 */
/* file ADFI_AAA_var.c */
/***
File: ADF_internals.c
----------------------------------------------------------------------
BOEING
----------------------------------------------------------------------
Project: CGNS
Author: Tom Dickens 234-1024 tpd6908@yak.ca.boeing.com
Date: 3/2/1995
Purpose: Provide the underlying support for the ADF-Core.
----------------------------------------------------------------------
----------------------------------------------------------------------
Notes: Integer numbers are stored on disk as ASCII-hex numbers.
2 bytes gives a number from 0 to 255,
4 bytes 0 to 65,535,
8 bytes 0 to 4,294,967,295,
and 12 bytes from 0 to 281,474,976,710,655.
Pointers are 12 bytes.
8 bytes pointing to a 4096-byte chunk on disk,
and 4 bytes is an offset into that chunk.
This gives a maximum file size of 17,592,186,048,512 bytes (17.5 Tera bytes).
----------------------------------------------------------------------
The tables below detail the format of the information which
makes up the ADF file.
There are 7 different, unique types of data "chunks" used.
Three of these are of fixed length, and the other four are
variable in length.
With the exception of numeric data (user's data), all information
in an ADF file is written in ASCII.
Uniquely-defined boundary-tags are used to surround all "chunks"
of information. These tags are checked to confirm "chunk" type
and also to ensure data integrity.
----------------------------------------------------------------------
186 Physical disk-First block
bytes start end description range / format
32 0 31 "what" description "@(#)ADF Database Version AXXxxx>"
4 32 35 "AdF0" boundary tag Tag
28 36 63 Creation date/time "Wed Apr 19 09:33:25 1995 "
4 64 67 "AdF1" boundary tag Tag
28 68 95 Modification date/time "Wed Apr 19 09:33:29 1995 "
4 96 99 "AdF2" boundary tag Tag
1 100 100 Numeric format ['B', 'L', 'C', 'N']
1 101 101 Duplicate of numeric format ['B', 'L', 'C', 'N']
4 102 105 "AdF3" boundary tag Tag
2 106 107 sizeof( char ) 0 to 255
2 108 109 sizeof( short ) 0 to 255
2 110 111 sizeof( int ) 0 to 255
2 112 113 sizeof( long ) 0 to 255
2 114 115 sizeof( float ) 0 to 255
2 116 117 sizeof( double ) 0 to 255
2 118 119 sizeof( char * ) 0 to 255
2 120 121 sizeof( short * ) 0 to 255
2 122 123 sizeof( int *) 0 to 255
2 124 125 sizeof( long * ) 0 to 255
2 126 127 sizeof( float *) 0 to 255
2 128 129 sizeof( double *) 0 to 255
4 130 133 "AdF4" boundary tag Tag
12 134 145 Root-node header pointer Disk chunk, chunk offset.
12 146 157 End-of-File pointer Disk chunk, chunk offset.
12 158 169 Free-Chunk table pointer Disk chunk, chunk offset.
12 170 181 Extra pointer Disk chunk, chunk offset.
4 182 185 "AdF5" boundary tag Tag
80 Free-Chunk table
bytes start end description range / format
4 0 3 "fCbt" boundary tag Tag
12 4 15 First small block pointer Disk chunk, chunk offset.
12 16 27 Last small block pointer Disk chunk, chunk offset.
12 28 39 First medium block pointer Disk chunk, chunk offset.
12 40 51 Last medium block pointer Disk chunk, chunk offset.
12 52 63 First large block pointer Disk chunk, chunk offset.
12 64 75 Last large block pointer Disk chunk, chunk offset.
4 76 79 "fcte" boundarg tag Tag
Variable: min 32 Free Chunk
bytes start end description range / format
4 0 3 "FreE" boundary tag Tag
12 4 15 Pointer to End-of-Chunk-Tag
12 16 27 Pointer to Next-Chunk in list
0 28 - more free space
4 28 31 "EndC" boundarg tag Tag
Note: There can occur other free space "gas" in the file which are smaller
than the 32-bytes needed to have tags and pointers. The convention
in these cases is to just fill the entire free space with the letter
z, lower-case.
246 Node header
bytes start end description range / format
4 0 3 "NoDe" boundary tag Tag
32 4 35 Name Text: Blank filled
32 36 67 Label Text: Blank filled
8 68 75 Number of sub-nodes 0 to 4,294,967,295
8 76 83 Entries for sub-nodes 0 to 4,294,967,295
12 84 95 Pointer to sub-node table Disk chunk, chunk offset.
32 96 127 Data-type Text: Blank filled
2 128 129 Number of dimensions 0 to 12
8 130 137 Dimension value 0 0 to 4,294,967,295
8 138 145 Dimension value 1 0 to 4,294,967,295
8 146 153 Dimension value 2 0 to 4,294,967,295
8 154 161 Dimension value 3 0 to 4,294,967,295
8 162 169 Dimension value 4 0 to 4,294,967,295
8 170 177 Dimension value 5 0 to 4,294,967,295
8 178 185 Dimension value 6 0 to 4,294,967,295
8 186 193 Dimension value 7 0 to 4,294,967,295
8 194 201 Dimension value 8 0 to 4,294,967,295
8 202 209 Dimension value 9 0 to 4,294,967,295
8 210 217 Dimension value 10 0 to 4,294,967,295
8 218 225 Dimension value 11 0 to 4,294,967,295
4 226 229 Number of data chunks 0 to 65,535
12 230 241 Pointer to data chunk (or table) Disk chunk, chunk offset.
4 242 245 "TaiL" boundary tag Tag
Variable: min 64 Sub-node table
bytes start end description range / format
4 0 3 "SNTb" boundary tag Tag
12 4 15 Pointer to End-of-Table-Tag
32 16 47 Child's name Text: Blank filled
12 48 59 Pointer to child Disk chunk, chunk offset.
32 - - Child's name Text: Blank filled
12 - - Pointer to child Disk chunk, chunk offset.
32 - - Child's name Text: Blank filled
12 - - Pointer to child Disk chunk, chunk offset.
32 - - Child's name Text: Blank filled
12 - - Pointer to child Disk chunk, chunk offset.
32 - - Child's name Text: Blank filled
12 - - Pointer to child Disk chunk, chunk offset.
32 - - Child's name Text: Blank filled
12 - - Pointer to child Disk chunk, chunk offset.
4 60 63 "snTE" boundary tag Tag
Variable: min 44 Data-chunk table
bytes start end description range / format
4 0 3 "DCtb" boundary tag Tag
12 4 15 Pointer to End-of-Table-Tag
12 16 27 Pointer to data start Disk chunk, chunk offset.
12 28 39 Pointer to data end Disk chunk, chunk offset.
12 - - Pointer to data start Disk chunk, chunk offset.
12 - - Pointer to data end Disk chunk, chunk offset.
12 - - Pointer to data start Disk chunk, chunk offset.
12 - - Pointer to data end Disk chunk, chunk offset.
12 - - Pointer to data start Disk chunk, chunk offset.
12 - - Pointer to data end Disk chunk, chunk offset.
4 40 43 "dcTE" boundarg tag Tag
Variable: min 32 Data-chunks
(Minimum is 32 bytes, which cooresponds to the size required for a free-chunk)
bytes start end description range / format
4 0 3 "DaTa" boundary tag Tag
12 4 15 Pointer to End-of-Data-Tag
16 16 27 The data
4 28 31 "dEnD" boundarg tag Tag
**/
/*****************************************************************
没有合适的资源?快使用搜索试试~ 我知道了~
资源详情
资源评论
资源推荐
收起资源包目录
CGNS CFD计算共享库工具 (424个子文件)
Makefile.AIX 4KB
configure.bat 12KB
build.bat 2KB
cgnsnodes.bat 583B
unitconv.bat 578B
cgnscalc.bat 479B
cgnsplot.bat 465B
adfviewer.bat 465B
build 2KB
ADF_internals.c 279KB
cgnstcl.c 235KB
cgnscheck.c 159KB
cgnstcl.c 127KB
cgnsutil.c 96KB
adftcl.c 69KB
vec.c 66KB
binaryio.c 65KB
tkoglparse.c 64KB
cgnsImport.c 53KB
tkogl.c 42KB
calc.c 39KB
interpolate_cgns.c 39KB
cgnsversion.c 36KB
cgnames.c 32KB
gencyl.c 32KB
cgns_to_vtk.c 31KB
cgns_to_plot3d.c 28KB
calctcl.c 27KB
load3ds.c 27KB
extract_subset.c 25KB
plot3d_to_cgns.c 17KB
vecsym.c 16KB
convert_variables.c 15KB
tecplot_to_cgns.c 14KB
convert_dataclass.c 14KB
cgns_to_tecplot.c 13KB
cgnsdiff.c 13KB
calctest.c 11KB
printstr.c 9KB
nurbs.c 9KB
patran_to_cgns.c 8KB
convert_location.c 8KB
hash.c 8KB
cgnslist.c 7KB
winmain.c 7KB
winmain.c 7KB
winmain.c 7KB
cgnssh.c 6KB
feedback.c 6KB
strokefont.c 5KB
cgns_info.c 5KB
quadric.c 5KB
adfwish.c 4KB
calcwish.c 4KB
tess.c 3KB
p3dfout.c 3KB
plotwish.c 3KB
outline.c 3KB
getargs.c 3KB
cgnspack.c 2KB
get.c 2KB
glphoto.c 2KB
tkAppInit.c 973B
cgsystem 5KB
primitive.cnv 547B
conserved.cnv 541B
dimensional.cnv 301B
configure 82KB
Entries 3KB
Entries 2KB
Entries 1KB
Entries 1KB
Entries 851B
Entries 745B
Entries 739B
Entries 651B
Entries 631B
Entries 488B
Entries 474B
Entries 428B
Entries 414B
Entries 391B
Entries 391B
Entries 378B
Entries 378B
Entries 356B
Entries 342B
Entries 307B
Entries 230B
Entries 212B
Entries 89B
Entries 2B
p3dfint.f 2KB
Makefile.generic 4KB
cgnsplot.gif 72KB
adfviewer.gif 62KB
noderef.gif 38KB
setup.gif 26KB
cutplane.gif 24KB
helpsetup_dialog.gif 22KB
共 424 条
- 1
- 2
- 3
- 4
- 5
stoneszone
- 粉丝: 4
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论1