Class TPhastTimeList

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TPhastTimeList = class(TCustomTimeList)

Description

TPhastTimeList is used to manage boundary condition data that varies with time.

The Items property provides access to a series of TSparseArrayPhastInterpolationDataSets // that define how the data vary with time. Each represents the boundary condition data at a different time. The number of such TSparseArrayPhastInterpolationDataSets is specified by the Count property. The Times property gives the time for each TSparseArrayPhastInterpolationDataSet.

New data sets are added to TPhastTimeList in TCustomPhastBoundaryCollection.GetDataSet

Hierarchy

Overview

Fields

Private FBoundaryType: TPhastBoundaryTypes;
Private FBoundaryTypeDataSets: TBoundaryTypeList;

Methods

Private function GetItems(const Index: integer): TSparseArrayPhastInterpolationDataSet;
Private procedure SetItems(const Index: integer; const Value: TSparseArrayPhastInterpolationDataSet);
Protected procedure SetUpToDate(const Value: boolean); override;
Public function Add(const ATime: double; const Data: TSparseArrayPhastInterpolationDataSet): integer;
Public procedure Clear; override;
Public constructor Create(Model: TBaseModel);
Public destructor Destroy; override;
Public procedure Initialize; override;
Public procedure Loaded;

Properties

Public property BoundaryType: TPhastBoundaryTypes read FBoundaryType write FBoundaryType;
Public property BoundaryTypeDataSets: TBoundaryTypeList read FBoundaryTypeDataSets;
Public property Items[constIndex:integer]: TSparseArrayPhastInterpolationDataSet read GetItems write SetItems;

Description

Fields

Private FBoundaryType: TPhastBoundaryTypes;

See BoundaryType.

Private FBoundaryTypeDataSets: TBoundaryTypeList;

See BoundaryTypeDataSets.

Methods

Private function GetItems(const Index: integer): TSparseArrayPhastInterpolationDataSet;

See Items.

Private procedure SetItems(const Index: integer; const Value: TSparseArrayPhastInterpolationDataSet);

See Items.

Protected procedure SetUpToDate(const Value: boolean); override;

See UpToDate.

Public function Add(const ATime: double; const Data: TSparseArrayPhastInterpolationDataSet): integer;

Add adds a TSparseArrayPhastInterpolationDataSet and its associated time to the TPhastTimeList.

Public procedure Clear; override;

Clear removes all the TSparseArrayPhastInterpolationDataSets from the TPhastTimeList.

Public constructor Create(Model: TBaseModel);

Create creates an instance of TPhastTimeList.

Public destructor Destroy; override;

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

Public procedure Initialize; override;

Initialize initializes all the TSparseArrayPhastInterpolationDataSets related to the TPhastTimeList.

Public procedure Loaded;

Loaded is called after the model is loaded. It updates subscriptions.

Properties

Public property BoundaryType: TPhastBoundaryTypes read FBoundaryType write FBoundaryType;

BoundaryType specifies the type of boundary condition being specified by this TPhastTimeList.

Public property BoundaryTypeDataSets: TBoundaryTypeList read FBoundaryTypeDataSets;

BoundaryTypeDataSets holds a series of TIntegerSparseDataSets that indicate the type of boundary condition that applies at each location.

Public property Items[constIndex:integer]: TSparseArrayPhastInterpolationDataSet read GetItems write SetItems;

Items provides access to the TSparseArrayPhastInterpolationDataSets stored in TPhastTimeList.


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