Class TModflowSteadyParameters

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TModflowSteadyParameters = class(TLayerOwnerCollection)

Description

TModflowSteadyParameters is a collection of TModflowSteadyParameters. It is used to store the parameters for the LPF package and other similar packages that use multiplier and zone arrays.

Hierarchy

Overview

Fields

Strict Private FArrayNames: TStringList;

Methods

Private function GetItems(Index: integer): TModflowSteadyParameter;
Private procedure SetItems(Index: integer; const Value: TModflowSteadyParameter);
Private function IsArrayNameUnique(const ArrayName: string): boolean;
Private procedure AddArrayName(const ArrayName: string);
Private function ArrayNameCount: integer;
Public procedure Clear;
Public procedure ClearArrayNames;
Public procedure RemoveOldDataSetVariables;
Public procedure Assign(Source: TPersistent); override;
Public Constructor Create(Model: TBaseModel);
Public destructor Destroy; override;
Public function CountParameters(ParamTypes: TParameterTypes): integer;
Public function IsDataSetUsed(AnObject: TObject): boolean;
Public function GetParamByName(Const AName: string): TModflowSteadyParameter;

Properties

Public property Items[Index:integer]: TModflowSteadyParameter read GetItems write SetItems;

Description

Fields

Strict Private FArrayNames: TStringList;

FArrayNames is used to ensure that all the multiplier and zone arrays are unique. See IsArrayNameUnique.

Methods

Private function GetItems(Index: integer): TModflowSteadyParameter;

See Items.

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

See Items.

Private function IsArrayNameUnique(const ArrayName: string): boolean;

IsArrayNameUnique returns True if MultiplierName (the name of a multiplier or zone array exported to MODFLOW) is unique.

Private procedure AddArrayName(const ArrayName: string);

AddArrayName adds a multiplier or zone array to FArrayNames.

Private function ArrayNameCount: integer;

ArrayNameCount is the number of multiplier and zone array names.

Public procedure Clear;
 
Public procedure ClearArrayNames;
 
Public procedure RemoveOldDataSetVariables;
 
Public procedure Assign(Source: TPersistent); override;

Assign copies the source TModflowSteadyParameters this this TModflowSteadyParameters.

Public Constructor Create(Model: TBaseModel);

Create creates an instance of TModflowSteadyParameters.

Public destructor Destroy; override;

Destroy destroys this instance of TModflowSteadyParameters.

Public function CountParameters(ParamTypes: TParameterTypes): integer;

CountParameters returns the number of parameters that match ParamTypes.

Public function IsDataSetUsed(AnObject: TObject): boolean;
 
Public function GetParamByName(Const AName: string): TModflowSteadyParameter;
 

Properties

Public property Items[Index:integer]: TModflowSteadyParameter read GetItems write SetItems;

Items is used to access the TModflowSteadyParameter owned by this TModflowSteadyParameters.


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