Class TUndoChemistryOptions

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TUndoChemistryOptions = class(TCustomUndo)

Description

TUndoChemistryOptions sets or restores chemistry related options in PHAST.

Hierarchy

Overview

Fields

Protected FNewChemistryOptions: TChemistryOptions;
Protected FNewDiffusivity: double;
Protected FNewSoluteTransport: boolean;
Protected FOldChemistryOptions: TChemistryOptions;
Protected FOldDiffusivity: double;
Protected FOldSoluteTransport: boolean;

Methods

Protected function Description: string; override;
Public constructor Create;
Public destructor Destroy; override;
Public procedure DoCommand; override;
Public procedure Undo; override;

Description

Fields

Protected FNewChemistryOptions: TChemistryOptions;

FNewChemistryOptions: TChemistryOptions; See DoCommand.

Protected FNewDiffusivity: double;

FNewDiffusivity: double; See DoCommand.

Protected FNewSoluteTransport: boolean;

FNewSoluteTransport: boolean; See DoCommand.

Protected FOldChemistryOptions: TChemistryOptions;

FOldChemistryOptions: TChemistryOptions; See Undo.

Protected FOldDiffusivity: double;

FOldDiffusivity: double; See Undo.

Protected FOldSoluteTransport: boolean;

FOldSoluteTransport: boolean; See Undo.

Methods

Protected function Description: string; override;

Description describes what this TUndoChemistryOptions does.

Public constructor Create;

Create creates an instance of TUndoChemistryOptions.

Public destructor Destroy; override;

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

Public procedure DoCommand; override;

DoCommand sets the properties of the TPhastModel to FNewChemistryOptions, FNewDiffusivity and FNewSoluteTransport.

Public procedure Undo; override;

Undo restores the properties of the TPhastModel to FOldChemistryOptions, FOldDiffusivity and FOldSoluteTransport.


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