© 2024 Jasper van Baten, AmsterCHEM

capeOpenKillPackage

Destroys a created property package and frees its resources. The package handle can no longer be used after calling this function.

Syntax

capeOpenKillPackage(handle)

Arguments

handle: handle to an existing property package as created by capeOpenGetPackage

Returns

None.

Example


 
-->handle1=capeOpenGetPackage("TEA (CAPE-OPEN 1.1)","C1_C2")

 handle1  =
 
    29750.  
 
-->handle2=capeOpenGetPackage("Water","")

 handle2  =
 
    26714.  
 
-->capeOpenGetPackages

 ans  =
 
    26714.  
    29750.  
 
-->capeOpenKillPackage(handle1)
 
-->capeOpenGetPackages

 ans  =
 
    26714.  
 
-->capeOpenKillPackage(handle1)
                             !--error 9999 
Invalid package id  
INDEX
Basis conversions
Calculations
capeOpen1PhaseProp
capeOpen1PhasePropList
capeOpen2PhaseProp
capeOpen2PhasePropList
capeOpenAbout
capeOpenAggregationState
capeOpenCompoundConstant
capeOpenCompounds
capeOpenConstantList
capeOpenEquilibrium
capeOpenEquilibriumProp
capeOpenFlashPropList
capeOpenGetPackage
capeOpenGetPackageName
capeOpenGetPackages
capeOpenHelp
capeOpenKillAllPackages
capeOpenKillPackage
capeOpenPackageManagers
capeOpenPackages
capeOpenPDepPropList
capeOpenPhases
capeOpenPropUnit
capeOpenQuickRef
capeOpenSetBasis
capeOpenShowMessages
capeOpenTDepProp
capeOpenTDepPropList
capeOpenThermoVersion
Disclaimer
Equilibrium calculations
Information
License
Matrix dimension conventions
Obtaining package information
Package information
Package maintenance
Property calculations
Registration with SciLab
scilab.start
System requirements
Welcome
CONTENT
 Welcome
 Introduction
 Package Maintenance
 capeOpenPackageManagers
 capeOpenPackages
 capeOpenGetPackage
 capeOpenKillPackage
 capeOpenKillAllPackages
 capeOpenGetPackages
 Package information
 Property and equilibrium calculations
 General functions
 License and disclaimer