Class TArrayPhastDataSet

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TArrayPhastDataSet = class(TCustomPhastDataSet)

Description

TArrayPhastDataSet is the abstract ancestor of TDataArrays that use use PHAST-style interpolation and store data in arrays.

TArrayPhastDataSet is used mainly for aquifer properties because it stores data at every grid locations. It stores most of the data required for PHAST style interpolation. Its descendants store the rest of the data depending on whether integer or real numbers are to be stored.

TArrayPhastDataSet is never used directly, it is used as a common ancestor of other classes.

Hierarchy

Overview

Fields

Private FCellDistance1: array of array of array of double;
Private FCellDistance2: array of array of array of double;
Private FCellInterpolationDirection: array of array of array of TInterpolationDirection;
Private FIsInterpolatedCell: array of array of array of boolean;

Methods

Protected function GetCellDistance1(const ALay, ARow, ACol: integer): double; override;
Protected function GetCellDistance2(const ALay, ARow, ACol: integer): double; override;
Protected function GetCellInterpolationDirection(const ALay, ARow, ACol: integer): TInterpolationDirection; override;
Protected function GetIsInterpolatedCell(const ALay, ARow, ACol: integer): boolean; override;
Protected procedure SetCellDistance1(const ALay, ARow, ACol: integer; const Value: double); override;
Protected procedure SetCellDistance2(const ALay, ARow, ACol: integer; const Value: double); override;
Protected procedure SetCellInterpolationDirection(const ALay, ARow, ACol: integer; const Value: TInterpolationDirection); override;
Protected procedure SetIsInterpolatedCell(const ALay, ARow, ACol: integer; const Value: boolean); override;
Protected procedure InitializePhastArrays; override;
Protected procedure SetDimensions(const SetToZero: boolean); override;
Protected procedure ResetCellsPhastInterpolation; override;

Description

Fields

Private FCellDistance1: array of array of array of double;

FCellDistance1 : array of array of array of double; See TCustomPhastDataSet.CellDistance1.

Private FCellDistance2: array of array of array of double;

FCellDistance2 : array of array of array of double; See TCustomPhastDataSet.CellDistance2.

Private FCellInterpolationDirection: array of array of array of TInterpolationDirection;

FCellInterpolationDirection : array of array of array of TInterpolationDirection; See TCustomPhastDataSet. CellInterpolationDirection.

Private FIsInterpolatedCell: array of array of array of boolean;

FIsInterpolatedCell : array of array of array of boolean; See TCustomPhastDataSet.IsInterpolatedCell.

Methods

Protected function GetCellDistance1(const ALay, ARow, ACol: integer): double; override;

See TCustomPhastDataSet.CellDistance1.

Protected function GetCellDistance2(const ALay, ARow, ACol: integer): double; override;

See TCustomPhastDataSet.CellDistance2.

Protected function GetCellInterpolationDirection(const ALay, ARow, ACol: integer): TInterpolationDirection; override;

See TCustomPhastDataSet. CellInterpolationDirection.

Protected function GetIsInterpolatedCell(const ALay, ARow, ACol: integer): boolean; override;

See TCustomPhastDataSet.IsInterpolatedCell.

Protected procedure SetCellDistance1(const ALay, ARow, ACol: integer; const Value: double); override;

See TCustomPhastDataSet.CellDistance1.

Protected procedure SetCellDistance2(const ALay, ARow, ACol: integer; const Value: double); override;

See TCustomPhastDataSet.CellDistance2.

Protected procedure SetCellInterpolationDirection(const ALay, ARow, ACol: integer; const Value: TInterpolationDirection); override;

See TCustomPhastDataSet. CellInterpolationDirection.

Protected procedure SetIsInterpolatedCell(const ALay, ARow, ACol: integer; const Value: boolean); override;

See TCustomPhastDataSet.IsInterpolatedCell.

Protected procedure InitializePhastArrays; override;

InitializePhastArrays sets CellDistance1, CellDistance2, CellInterpolationDirection, and IsInterpolatedCell, for every cell to the corresponding values of InitializePhastArrays sets Distance1, Distance2, InterpolationDirection, and UsePHAST_InterpolationForAllCells. It also sets Annotation for every cell.

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

SetDimensions sets the dimensions of the arrays used to store data.

Protected procedure ResetCellsPhastInterpolation; override;

ResetCellsPhastInterpolation sets IsInterpolatedCell to false for every cell.


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