Releases: HugoMVale/polykin
Releases · HugoMVale/polykin
polykin 0.8.0
The main changes include:
-
Extend module
polykin.math:- add machine constants module
polykin.math.machineand expose it at the top-levelmathnamespace. - add optimization subpackage
polykin.math.optimizationwith:- one-dimensional methods:
fmin_brent,fmin_secant. - multidimensional methods:
fmin_qnewton,fmin_nelder_mead. - shared global strategies/utilities:
line_search,dogleg. - dedicated optimization result types:
OptimumResult,VectorOptimumResult.
- one-dimensional methods:
- add machine constants module
-
Extend/refactor module
polykin.math.fixpoint:- add new fixed-point solvers:
fixpoint_damped,fixpoint_dem,fixpoint_steffensen. - update existing solvers (including Anderson and Wegstein implementations) for improved consistency with the new math infrastructure.
- add new fixed-point solvers:
-
Refactor module
polykin.math.roots:- move q-Newton vector root solver implementation to
polykin.math.roots.qnewton. - keep scalar/root result APIs while aligning internals with shared machine constants and optimization helpers.
- move q-Newton vector root solver implementation to
-
Improve numerical infrastructure in
polykin.math.derivativesandpolykin.math.special:- substantial updates to numerical differentiation routines.
- internal cleanup of special-function implementations.
-
Internal consistency updates across the codebase:
- migrate numerical precision constants usage from
polykin.utils.mathtopolykin.math.machine. - update dependent modules in kinetics, transport, thermo, properties, and copolymerization to use the new math utilities.
- migrate numerical precision constants usage from
-
Compatibility notes:
- imports from
polykin.math.roots.vectorshould be migrated to the current roots API. - code importing
eps,huge, ortinyfrompolykin.utils.mathshould migrate topolykin.math.machine.
- imports from
polykin 0.7.0
The main changes include:
-
Extend
polykin.thermo.acmmodule:- rename base classes.
- expose/doc base class
MolecularACM. - add default
gammaimplementation. - add
ScatchardHildebrandandScatchardHildebrand_gamma.
-
Extend
polykin.thermo.eosmodule:- expose/doc base classes
GasEoSandCubicEoS. GasEoSgained default implementation forP,phi.GasEoSgained methodsbeta,gR,aR,hR,sR,vR.GasLiquidEoSgained methodsbeta,kappa.
- expose/doc base classes
-
Extend/refactor
polykin.thermo.flashmodule:- add method
K_Wilson. FlashResultwas renamed toFlash2Result.
- add method
-
Extend module
polykin.kinetics.emulsion:- add SE methods:
nbar_Ugelstad,n2bar,compartmentalization_factor. - add radical entry methods:
kentry_collision,kentry_diffusion,kentry_diffusion_reversible. - add radical desorption methods:
kdesorption_Asua,K0_Nomura.
- add SE methods:
-
Refactor
polykin.properties.pvt.Tait:Tait.beta(...)was renamed toTait.kappa(...)and now represents the isothermal compressibility factor.
polykin 0.6.0
The main changes include:
- Refactor
pvtandpvt_polymer.- remove
Flory,SanchezLacombeandHartmannHaque. - move
Taittopvt.
- remove
- Split
transportmodule intoflowandhmt. - Extend
flowmodule:- add pressure relief valve calculation methods.
- add rheological models.
- Refactor and extend the
mathmodule:- add
root_brent,rootvec_qnewton. - add
fixpoint_anderson,fixpoint_wegstein. - add
jacobian_forward,hessian_forward.
- add
- Extend
thermomodule:- add
flash2_PT,flash2_PV,flash2_TV.
- add
polykin 0.5.7
Full Changelog: v0.5.6...v0.5.7