Class TSparseRealPhastDataSet

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TSparseRealPhastDataSet = class(TSparseArrayPhastInterpolationDataSet)

Description

TSparseRealPhastDataSet is a sparse data set that stores real numbers. It is used mainly for boundary conditions.

See TSparseArrayPhastInterpolationDataSet.

Hierarchy

Overview

Fields

Private FCellValue1: T3DSparseRealArray;
Private FCellValue2: T3DSparseRealArray;
Private FRealValues: T3DSparseRealArray;
Private FValue1: double;
Private FValue2: double;

Methods

Private function GetCellValue1(const ALay, ARow, ACol: integer): double;
Private function GetCellValue2(const ALay, ARow, ACol: integer): double;
Private procedure SetCellValue1(const ALay, ARow, ACol: integer; const Value: double);
Private procedure SetCellValue2(const ALay, ARow, ACol: integer; const Value: double);
Private procedure SetValue1(const Value: double);
Private procedure SetValue2(const Value: double);
Protected procedure ReadData(DecompressionStream: TDecompressionStream); override;
Protected procedure StoreData(Stream: TStream); 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 SetRealData(const Layer, Row, Col: integer; const Value: double); override;
Public procedure Assign(Source: TPersistent); override;
Public constructor Create(AnOwner: TComponent); override;
Public destructor Destroy; override;

Properties

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

Description

Fields

Private FCellValue1: T3DSparseRealArray;

FCellValue1: T3DSparseRealArray; See CellValue1.

Private FCellValue2: T3DSparseRealArray;

FCellValue2: T3DSparseRealArray; See CellValue2.

Private FRealValues: T3DSparseRealArray;

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

Private FValue1: double;

FValue1: double; See Value1.

Private FValue2: double;

FValue2: double; See Value2.

Methods

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

See CellValue1.

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

See CellValue2.

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

See CellValue1.

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

See CellValue2.

Private procedure SetValue1(const Value: double);

See Value1.

Private procedure SetValue2(const Value: double);

See Value2.

Protected procedure ReadData(DecompressionStream: TDecompressionStream); override;
 
Protected procedure StoreData(Stream: TStream); override;
 
Protected function GetIsValue(const Index1, Index2, Index3: Integer): boolean; override;

See TCustomPhastDataSet.IsValue.

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

GetRealData returns the values assigned to cells when PHAST-style interpolation is not used.

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

SetDataType Checks that the TRbwDataType represents a real number.

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

SetDimensions clears the sparse arrays used to store data.

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

SetRealData sets the values assigned to cells when PHAST-style interpolation is not used.

Public procedure Assign(Source: TPersistent); override;

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

Public constructor Create(AnOwner: TComponent); override;

Create creates an instance of TSparseRealPhastDataSet.

Public destructor Destroy; override;

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

Properties

Public property CellValue1[constALay,ARow,ACol:integer]: double 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]: double read GetCellValue2 write SetCellValue2;

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

Published property Value1: double 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: double 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