Class TfrmChemistryOptions

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TfrmChemistryOptions = class(TfrmCustomGoPhast)

Description

TfrmChemistryOptions is used to turn on or off the use of "FlowOnly" and other chemistry-related options in PHAST.

GetData gets the data from the model and SetData creates and TUndoChemistryOptions to set it.

Hierarchy

Overview

Fields

Implicit btnCancel: TBitBtn;
Implicit btnHelp: TBitBtn;
Implicit btnOK: TBitBtn;
Implicit cbChemistry: TCheckBox;
Implicit cbEquilibriumPhases: TCheckBox;
Implicit cbExchange: TCheckBox;
Implicit cbGasPhases: TCheckBox;
Implicit cbKinetics: TCheckBox;
Implicit cbSolidSolution: TCheckBox;
Implicit cbSurface: TCheckBox;
Implicit lblDiffusivity: TLabel;
Implicit rdeDiffusivity: TRbwDataEntry;

Methods

Implicit procedure btnOKClick(Sender: TObject);
Implicit procedure cbChemistryClick(Sender: TObject);
Implicit procedure FormCreate(Sender: TObject); override;
Private procedure GetData;
Private procedure SetData;

Description

Fields

Implicit btnCancel: TBitBtn;

btnCancel: TBitBtn; btnCancel closes the form without changing anything in the model.

Implicit btnHelp: TBitBtn;

btnHelp: TBitBtn; btnHelp shows help for the form.

Implicit btnOK: TBitBtn;

btnOK: TBitBtn; See btnOKClick.

Implicit cbChemistry: TCheckBox;

cbChemistry: TCheckBox; cbChemistry activates of deactivates chemistry in the model.

Implicit cbEquilibriumPhases: TCheckBox;

cbEquilibriumPhases: TCheckBox; cbEquilibriumPhases activates of deactivates equilibrium phases.

Implicit cbExchange: TCheckBox;

cbExchange: TCheckBox; cbExchange activates of deactivates exchange in the model.

Implicit cbGasPhases: TCheckBox;

cbGasPhases: TCheckBox; cbGasPhases activates of deactivates gas phases in the model.

Implicit cbKinetics: TCheckBox;

cbKinetics: TCheckBox; cbKinetics activates of deactivates kinetics in the model.

Implicit cbSolidSolution: TCheckBox;

cbSolidSolution: TCheckBox; cbSolidSolution activates of deactivates solid solution in the model.

Implicit cbSurface: TCheckBox;

cbSurface: TCheckBox; cbSurface activates of deactivates surface reactions in the model.

Implicit lblDiffusivity: TLabel;

lblDiffusivity: TLabel; lblDiffusivity labels the diffusivity edit box..

Implicit rdeDiffusivity: TRbwDataEntry;

rdeDiffusivity: TRbwDataEntry; rdeDiffusivity is used to specify the diffusivity.

Methods

Implicit procedure btnOKClick(Sender: TObject);

btnOKClick updates the model and closes the form.

Implicit procedure cbChemistryClick(Sender: TObject);

cbChemistryClick activates the other checkboxes and the edit box when cbChemistry is checked.

Implicit procedure FormCreate(Sender: TObject); override;

FormCreate creates an instance of TfrmChemistryOptions.

Private procedure GetData;

GetData displays the options related to chemistry to the user.

Private procedure SetData;

SetData copies the data in the controls to the TPhastModel via a TUndoChemistryOptions.


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