Class TCustomTransientWriter

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TCustomTransientWriter = class(TCustomPackageWriter)

Description

TCustomTransientWriter is used to export input files for MODFLOW for packages with time-varying data.

Hierarchy

Overview

Fields

Private FValues: TList;

Methods

Protected procedure Evaluate; virtual; abstract;
Protected procedure UpdateTransient2DArray( DisplayArray: TModflowBoundaryDisplayDataArray; List: TList);
Protected procedure InitializeDisplayArray( DisplayArray: TModflowBoundaryDisplayDataArray; DefaultValue: Double);
Protected procedure AssignTransient2DArray( DisplayArray: TModflowBoundaryDisplayDataArray; DataTypeIndex: Integer; List: TList; DefaultValue: double; DataType: TRbwDataType; UpdateMethod: TUpdateMethod);
Public Constructor Create(Model: TCustomModel; EvaluationType: TEvaluationType); override;
Public Destructor Destroy; override;

Properties

Protected property Values: TList read FValues;

Description

Fields

Private FValues: TList;

After Evaluate is called, FValues contains a series of TValueCellLists; one for each stress period. Each such list contains series of TValueCells. Each TValueCell defines one boundary cell for one stress period.

Methods

Protected procedure Evaluate; virtual; abstract;

Evaluate reads the data from the model and processes it into a form where it can be readily exported to the MODFLOW input file.

Protected procedure UpdateTransient2DArray( DisplayArray: TModflowBoundaryDisplayDataArray; List: TList);

UpdateTransient2DArray updates DisplayArray with the contents of List. List can either contain TDataArrays, lists of TDataArrays, or lists of lists of TDataArrays.

See also
UpdateCellDisplay
UpdateCellDisplay updates the TDataArrays in DataArrayList using the cells CellList.
Protected procedure InitializeDisplayArray( DisplayArray: TModflowBoundaryDisplayDataArray; DefaultValue: Double);

InitializeDisplayArray

Protected procedure AssignTransient2DArray( DisplayArray: TModflowBoundaryDisplayDataArray; DataTypeIndex: Integer; List: TList; DefaultValue: double; DataType: TRbwDataType; UpdateMethod: TUpdateMethod);

AssignTransient2DArray uses the contents of List to assign values to DisplayArray. DefaultValue is the value to be assigned if no member of List has a value.

Parameters
List
can either contain TValueCellLists or lists of TValueCellLists.
DataType
indicates whether IntegerValue or RealValue should be accessed.
DataTypeIndex
indicates which IntegerValue or RealValue should be accessed.
UpdateMethod
indicates whether successive values from TValueCell should replace or be added to existing values.
Public Constructor Create(Model: TCustomModel; EvaluationType: TEvaluationType); override;

Create creates and instance of TCustomTransientWriter.

Public Destructor Destroy; override;

Destroy destroys the current instance of TCustomTransientWriter.

Properties

Protected property Values: TList read FValues;

Values stores the values at a list of cells.


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