C# Class SimLab.SimGrid.DynamicUnstructuredGridderSource

无结构的四面体网格,包含二维无结构和三维四面体网格的格式, 文件内容分为三个段,依次为nodes,elements,fractures. nodes为(x,y,z,0)的数组 elements元素为nodes数组的索引,element[ELEMENT_FORMAT3+1](三角形) 或element[ELEMENT_FORMAT4+1](4面体) fratures元素为node数组的索引, fracture[FRACTURE_FORMAT2+1] (线段) 或fracture[FRACTURE_FORMAT3+1](三角形)] elements.Length+fractures.Length = NX*NY*NZ ,通常NY,NZ =1, 所以NX = (elements.length+fratures.length)
Inheritance: SimLab.GridSource.GridderSource
Mostra file Open project: bitzhuwei/CSharpGL

Public Methods

Method Description
BindResultsAndActiveFractures ( int gridIndexes ) : int[]
BindResultsAndActiveMatrix ( int gridIndexes ) : int[]
ExpandFractureVisibles ( int gridIndexes ) : int[]
ExpandMatrixVisibles ( int gridIndexes ) : int[]

将结果整理成转化为可见

Init ( ) : void

Protected Methods

Method Description
InitSourceActiveBounds ( ) : BoundingBox

Private Methods

Method Description
InitActiveFractures ( ) : int[]
InitActiveMatrix ( ) : int[]
InitMatrixFracturesInvisibles ( ) : void

Method Details

BindResultsAndActiveFractures() public method

public BindResultsAndActiveFractures ( int gridIndexes ) : int[]
gridIndexes int
return int[]

BindResultsAndActiveMatrix() public method

public BindResultsAndActiveMatrix ( int gridIndexes ) : int[]
gridIndexes int
return int[]

ExpandFractureVisibles() public method

public ExpandFractureVisibles ( int gridIndexes ) : int[]
gridIndexes int
return int[]

ExpandMatrixVisibles() public method

将结果整理成转化为可见
public ExpandMatrixVisibles ( int gridIndexes ) : int[]
gridIndexes int 结果集合
return int[]

Init() public method

public Init ( ) : void
return void

InitSourceActiveBounds() protected method

protected InitSourceActiveBounds ( ) : BoundingBox
return CSharpGL.BoundingBox