Class TSparseIntegerPhastDataSet

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TSparseIntegerPhastDataSet = class(TSparseArrayPhastInterpolationDataSet)

Description

TSparseIntegerPhastDataSet is a sparse data set that stores integers. It is used mainly for boundary conditions.

See TSparseArrayPhastInterpolationDataSet.

Hierarchy

Overview

Fields

Private FCellValue1: T3DSparseIntegerArray;
Private FCellValue2: T3DSparseIntegerArray;
Private FFraction: T3DSparseRealArray;
Private FIntegerValues: T3DSparseIntegerArray;
Private FValue1: integer;
Private FValue2: integer;

Methods

Private function GetCellValue1(const ALay, ARow, ACol: integer): integer;
Private function GetCellValue2(const ALay, ARow, ACol: integer): integer;
Private function GetFraction(const ALay, ARow, ACol: integer): double;
Private function GetRealValue(const ALay, ARow, ACol: integer): double;
Private procedure SetCellValue1(const ALay, ARow, ACol, Value: integer);
Private procedure SetCellValue2(const ALay, ARow, ACol, Value: integer);
Private procedure SetFraction(const ALay, ARow, ACol: integer; const Value: double);
Private procedure SetValue1(const Value: integer);
Private procedure SetValue2(const Value: integer);
Protected procedure ReadData(DecompressionStream: TDecompressionStream); override;
Protected procedure StoreData(Stream: TStream); override;
Protected function GetIntegerData(const Layer, Row, Col: integer): integer; override;
Protected function GetIsValue(const Index1, Index2, Index3: Integer): boolean; override;
Protected function GetRealData(const Layer, Row, Col: integer): double; override;
Protected procedure SetDataType(const Value: TRbwDataType); override;
Protected procedure SetDimensions(const SetToZero: boolean); override;
Protected procedure SetIntegerData(const Layer, Row, Col, Value: integer); override;
Public procedure Assign(Source: TPersistent); override;
Public constructor Create(AnOwner: TComponent); override;
Public destructor Destroy; override;
Public function DisplayRealValue: boolean; override;

Properties

Public property CellValue1[constALay,ARow,ACol:integer]: integer read GetCellValue1 write SetCellValue1;
Public property CellValue2[constALay,ARow,ACol:integer]: integer read GetCellValue2 write SetCellValue2;
Public property Fraction[constALay,ARow,ACol:integer]: double read GetFraction write SetFraction;
Public property RealValue[constALay,ARow,ACol:integer]: double read GetRealValue;
Published property Value1: integer read FValue1 write SetValue1;
Published property Value2: integer read FValue2 write SetValue2;

Description

Fields

Private FCellValue1: T3DSparseIntegerArray;

FCellValue1: T3DSparseIntegerArray; See CellValue1.

Private FCellValue2: T3DSparseIntegerArray;

FCellValue2: T3DSparseIntegerArray; See CellValue2.

Private FFraction: T3DSparseRealArray;

FFraction: T3DSparseRealArray; See Fraction.

Private FIntegerValues: T3DSparseIntegerArray;

FIntegerValues: T3DSparseIntegerArray; FIntegerValues stores the values assigned to cells or elements when PHAST-style interpolation is not used.

Private FValue1: integer;

FValue1: integer; See Value1.

Private FValue2: integer;

FValue2: integer; See Value2.

Methods

Private function GetCellValue1(const ALay, ARow, ACol: integer): integer;

See CellValue1.

Private function GetCellValue2(const ALay, ARow, ACol: integer): integer;

See CellValue2.

Private function GetFraction(const ALay, ARow, ACol: integer): double;

See Fraction.

Private function GetRealValue(const ALay, ARow, ACol: integer): double;

GetRealValue is a representation of the data as a real number.

Private procedure SetCellValue1(const ALay, ARow, ACol, Value: integer);

See CellValue1.

Private procedure SetCellValue2(const ALay, ARow, ACol, Value: integer);

See CellValue2.

Private procedure SetFraction(const ALay, ARow, ACol: integer; const Value: double);

See Fraction.

Private procedure SetValue1(const Value: integer);

See Value1.

Private procedure SetValue2(const Value: integer);

See Value2.

Protected procedure ReadData(DecompressionStream: TDecompressionStream); override;
 
Protected procedure StoreData(Stream: TStream); override;
 
Protected function GetIntegerData(const Layer, Row, Col: integer): integer; override;

See IntegerData.

Protected function GetIsValue(const Index1, Index2, Index3: Integer): boolean; override;

See TCustomPhastDataSet.IsValue.

Protected function GetRealData(const Layer, Row, Col: integer): double; override;

GetRealData represents the data as a real number.

Protected procedure SetDataType(const Value: TRbwDataType); override;

SetDataType checks that the TRbwDataType represents an integer.

Protected procedure SetDimensions(const SetToZero: boolean); override;

SetDimensions clears the sparse arrays used to store data.

Protected procedure SetIntegerData(const Layer, Row, Col, Value: integer); override;

See IntegerData.

Public procedure Assign(Source: TPersistent); override;

Assign copies Source to the TSparseIntegerPhastDataSet. If Source is a TSparseIntegerPhastDataSet or a TPhastInterpolationValues, PHAST-style interpolation data are copied.

Public constructor Create(AnOwner: TComponent); override;

Create creates an instance of TSparseIntegerPhastDataSet.

Public destructor Destroy; override;

Destroy destroys the current instance of TSparseIntegerPhastDataSet. Do not call Destroy directly. Call Free instead.

Public function DisplayRealValue: boolean; override;

DisplayRealValue returns true.

Properties

Public property CellValue1[constALay,ARow,ACol:integer]: integer read GetCellValue1 write SetCellValue1;

CellValue1 represents the first value used for PHAST-style interpolation at each location in the data set.

Public property CellValue2[constALay,ARow,ACol:integer]: integer read GetCellValue2 write SetCellValue2;

CellValue2 represents the second value used for PHAST-style interpolation at each location in the data set.

Public property Fraction[constALay,ARow,ACol:integer]: double read GetFraction write SetFraction;

Fraction represents the fraction of CellValue1 to be applied at ALay, ARow, ACol.

Public property RealValue[constALay,ARow,ACol:integer]: double read GetRealValue;

RealValue represents the data as a real number.

Published property Value1: integer read FValue1 write SetValue1;

Value1 represents the global value of the first value used for PHAST-style interpolation. Value1 is the default first value assigned to TScreenObjects when PHAST-style interpolation is first activated.

Published property Value2: integer read FValue2 write SetValue2;

Value2 represents the global value of the second value used for PHAST-style interpolation. Value2 is the default second value assigned to TScreenObjects when PHAST-style interpolation is first activated.


Generated by PasDoc 0.12.1 on 2013-05-13 15:41:55