Class TModflowStressPeriods

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TModflowStressPeriods = class(TCollection)

Description

TModflowStressPeriods is a collection of the data defining all the stress periods in the model.

Hierarchy

Overview

Fields

Private FModel: TBaseModel;

Methods

Private function GetItems(Index: Integer): TModflowStressPeriod;
Private procedure InvalidateModel;
Private procedure SetItems(Index: Integer; const Value: TModflowStressPeriod);
Private function GetNumberOfSteps: integer;
Public procedure Assign(Source: TPersistent); override;
Public constructor Create(Model: TBaseModel);
Public procedure WriteStressPeriods(const DiscretizationWriter: TObject);
Public procedure WriteMt3dmsStressPeriods(const Mt3dmsBasicWriter: TObject);
Public function TransientModel: boolean;
Public Function CompletelyTransient: boolean;
Public procedure FillPickListWithEndTimes(Grid: TRbwDataGrid4; Col: integer);
Public procedure FillPickListWithStartTimes(Grid: TRbwDataGrid4; Col: integer);
Public procedure TimeToPeriodAndStep(ATime: double; out Period, Step: integer);
Public procedure FillStringsWithStartTimes(Strings: TStrings);
Public procedure FillStringsWithEndTimes(Strings: TStrings);
Public function MaxStepsInAnyStressPeriod: integer;
Public function FindStressPeriod(ATime: double): integer;

Properties

Public property Items[Index:Integer]: TModflowStressPeriod read GetItems write SetItems;
Public property NumberOfSteps: integer read GetNumberOfSteps;

Description

Fields

Private FModel: TBaseModel;

FModel is either nil or a TPhastModel.

Methods

Private function GetItems(Index: Integer): TModflowStressPeriod;

See Items.

Private procedure InvalidateModel;

InvalidateModel calls Invalidate indirectly.

Private procedure SetItems(Index: Integer; const Value: TModflowStressPeriod);

See Items.

Private function GetNumberOfSteps: integer;
 
Public procedure Assign(Source: TPersistent); override;

Assign copies Source to the current TModflowStressPeriods.

Public constructor Create(Model: TBaseModel);

Create creates an instance of TModflowStressPeriods. Model must be either nil or a TPhastModel.

Public procedure WriteStressPeriods(const DiscretizationWriter: TObject);

WriteStressPeriods writes the stress periods to the MODFLOW discretization file.

Public procedure WriteMt3dmsStressPeriods(const Mt3dmsBasicWriter: TObject);
 
Public function TransientModel: boolean;

TransientModel returns true if any stress period in the model is transient.

Public Function CompletelyTransient: boolean;

CompletelyTransient returns True if every stress period is transient.

Public procedure FillPickListWithEndTimes(Grid: TRbwDataGrid4; Col: integer);
 
Public procedure FillPickListWithStartTimes(Grid: TRbwDataGrid4; Col: integer);
 
Public procedure TimeToPeriodAndStep(ATime: double; out Period, Step: integer);

TimeToPeriodAndStep determines the stress period and time step corresponding to a particular time. Period and Step are zero based.

Public procedure FillStringsWithStartTimes(Strings: TStrings);
 
Public procedure FillStringsWithEndTimes(Strings: TStrings);
 
Public function MaxStepsInAnyStressPeriod: integer;
 
Public function FindStressPeriod(ATime: double): integer;
 

Properties

Public property Items[Index:Integer]: TModflowStressPeriod read GetItems write SetItems;

Items is used to access a TModflowStressPeriod stored in TModflowStressPeriods.

Public property NumberOfSteps: integer read GetNumberOfSteps;
 

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