From c9974cbcb852672f016a5c6de64bbb0168894195 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=85smund=20V=C3=A5ge=20Fannemel?= <34712686+asmfstatoil@users.noreply.github.com> Date: Mon, 19 Jun 2023 07:24:40 +0200 Subject: [PATCH] refact: remove default constructors not to be used (#746) --- .../chemicalEquilibrium/ChemicalEquilibrium.java | 5 ----- .../thermodynamicOperations/flashOps/Flash.java | 7 ------- .../thermodynamicOperations/flashOps/PHflash.java | 7 ------- .../flashOps/PHflashGERG2008.java | 7 ------- .../flashOps/PHflashSingleComp.java | 7 ------- .../flashOps/PHsolidFlash.java | 7 ------- .../thermodynamicOperations/flashOps/PSFlash.java | 7 ------- .../flashOps/PSFlashGERG2008.java | 7 ------- .../flashOps/PSflashSingleComp.java | 7 ------- .../flashOps/PVrefluxflash.java | 7 ------- .../flashOps/QfuncFlash.java | 12 +++++++----- .../flashOps/SaturateWithWater.java | 7 ------- .../flashOps/SolidFlash.java | 7 ------- .../flashOps/SolidFlash1.java | 7 ------- .../flashOps/SolidFlash12.java | 7 ------- .../thermodynamicOperations/flashOps/TPflash.java | 4 +++- .../flashOps/TPmultiflash.java | 7 ------- .../flashOps/TPmultiflashWAX.java | 7 ------- .../flashOps/TPmultiflash_1.java | 7 ------- .../thermodynamicOperations/flashOps/TSFlash.java | 7 ------- .../thermodynamicOperations/flashOps/TVflash.java | 7 ------- .../thermodynamicOperations/flashOps/VHflash.java | 7 ------- .../flashOps/VHflashQfunc.java | 7 ------- .../thermodynamicOperations/flashOps/VSflash.java | 7 ------- .../thermodynamicOperations/flashOps/VUflash.java | 7 ------- .../flashOps/VUflashQfunc.java | 7 ------- .../flashOps/calcIonicComposition.java | 10 +++------- .../thermodynamicOperations/flashOps/dTPflash.java | 7 ------- .../flashOps/saturationOps/FreezeOut.java | 7 ------- .../flashOps/saturationOps/FugTestConstP.java | 7 ------- .../saturationOps/HCdewPointPressureFlash.java | 7 ------- .../HydrateFormationPressureFlash.java | 7 ------- .../HydrateFormationTemperatureFlash.java | 7 ------- .../HydrateInhibitorConcentrationFlash.java | 7 ------- .../saturationOps/HydrateInhibitorwtFlash.java | 7 ------- .../saturationOps/SolidComplexTemperatureCalc.java | 7 ------- .../flashOps/saturationOps/WATcalc.java | 7 ------- .../saturationOps/addIonToScaleSaturation.java | 7 ------- .../saturationOps/bubblePointPressureFlash.java | 7 ------- .../saturationOps/bubblePointPressureFlashDer.java | 7 ------- .../saturationOps/bubblePointTemperatureFlash.java | 7 ------- .../saturationOps/bubblePointTemperatureNoDer.java | 7 ------- .../saturationOps/calcSaltSatauration.java | 7 ------- .../saturationOps/checkScalePotential.java | 7 ------- .../flashOps/saturationOps/constantDutyFlash.java | 14 ++++++-------- .../saturationOps/constantDutyPressureFlash.java | 7 ------- .../constantDutyTemperatureFlash.java | 3 ++- .../flashOps/saturationOps/cricondebarFlash.java | 7 ------- .../flashOps/saturationOps/cricondenBarTemp.java | 7 ------- .../flashOps/saturationOps/cricondenBarTemp1.java | 7 ------- .../saturationOps/dewPointPressureFlash.java | 7 ------- .../saturationOps/dewPointTemperatureFlash.java | 7 ------- .../saturationOps/dewPointTemperatureFlashDer.java | 7 ------- .../freezingPointTemperatureFlash.java | 7 ------- .../freezingPointTemperatureFlashOld.java | 7 ------- .../freezingPointTemperatureFlashTR.java | 7 ------- .../waterDewPointTemperatureFlash.java | 7 ------- .../waterDewPointTemperatureMultiphaseFlash.java | 7 ------- .../flashOps/sysNewtonRhapsonPHflash.java | 7 ------- .../flashOps/sysNewtonRhapsonTPflash.java | 7 ------- .../flashOps/sysNewtonRhapsonTPflashNew.java | 7 ------- .../CricondenBarFlash.java | 7 ------- .../CricondenThermFlash.java | 7 ------- .../HPTphaseEnvelope.java | 7 ------- .../multicomponentEnvelopeOps/pTphaseEnvelope.java | 6 +++++- .../pTphaseEnvelope1.java | 7 ------- .../pTphaseEnvelopeMay.java | 7 ------- .../pTphaseEnvelopeNew.java | 7 ------- .../reactiveCurves/pLoadingCurve2.java | 7 ------- 69 files changed, 26 insertions(+), 462 deletions(-) diff --git a/src/main/java/neqsim/thermodynamicOperations/chemicalEquilibrium/ChemicalEquilibrium.java b/src/main/java/neqsim/thermodynamicOperations/chemicalEquilibrium/ChemicalEquilibrium.java index ef983a2c3..8bdf05f15 100644 --- a/src/main/java/neqsim/thermodynamicOperations/chemicalEquilibrium/ChemicalEquilibrium.java +++ b/src/main/java/neqsim/thermodynamicOperations/chemicalEquilibrium/ChemicalEquilibrium.java @@ -25,11 +25,6 @@ public class ChemicalEquilibrium extends BaseOperation { SystemInterface system; - /** - *

Constructor for ChemicalEquilibrium.

- */ - public ChemicalEquilibrium() {} - /** *

* Constructor for ChemicalEquilibrium. diff --git a/src/main/java/neqsim/thermodynamicOperations/flashOps/Flash.java b/src/main/java/neqsim/thermodynamicOperations/flashOps/Flash.java index 6337184e5..59dc3555e 100644 --- a/src/main/java/neqsim/thermodynamicOperations/flashOps/Flash.java +++ b/src/main/java/neqsim/thermodynamicOperations/flashOps/Flash.java @@ -51,13 +51,6 @@ abstract class Flash extends BaseOperation { protected boolean stabilityCheck = false; protected boolean findLowestGibbsPhaseIsChecked = false; - /** - *

- * Constructor for Flash. - *

- */ - public Flash() {} - /** *

* findLowestGibbsEnergyPhase. diff --git a/src/main/java/neqsim/thermodynamicOperations/flashOps/PHflash.java b/src/main/java/neqsim/thermodynamicOperations/flashOps/PHflash.java index 2ed455a08..e2a5c5dd9 100644 --- a/src/main/java/neqsim/thermodynamicOperations/flashOps/PHflash.java +++ b/src/main/java/neqsim/thermodynamicOperations/flashOps/PHflash.java @@ -23,13 +23,6 @@ public class PHflash extends Flash { Flash tpFlash; int type = 0; - /** - *

- * Constructor for PHflash. - *

- */ - public PHflash() {} - /** *

* Constructor for PHflash. diff --git a/src/main/java/neqsim/thermodynamicOperations/flashOps/PHflashGERG2008.java b/src/main/java/neqsim/thermodynamicOperations/flashOps/PHflashGERG2008.java index 9357990b7..eba52489d 100644 --- a/src/main/java/neqsim/thermodynamicOperations/flashOps/PHflashGERG2008.java +++ b/src/main/java/neqsim/thermodynamicOperations/flashOps/PHflashGERG2008.java @@ -24,13 +24,6 @@ public class PHflashGERG2008 extends Flash { double enthalpy_GERG2008 = 0.0; double cP_GERG2008 = 0.0; - /** - *

- * Constructor for PHflashGERG2008. - *

- */ - public PHflashGERG2008() {} - /** *

* Constructor for PHflash. diff --git a/src/main/java/neqsim/thermodynamicOperations/flashOps/PHflashSingleComp.java b/src/main/java/neqsim/thermodynamicOperations/flashOps/PHflashSingleComp.java index 6f5ccd91d..b30115a77 100644 --- a/src/main/java/neqsim/thermodynamicOperations/flashOps/PHflashSingleComp.java +++ b/src/main/java/neqsim/thermodynamicOperations/flashOps/PHflashSingleComp.java @@ -16,13 +16,6 @@ public class PHflashSingleComp extends Flash { double Hspec = 0; - /** - *

- * Constructor for PHflashSingleComp. - *

- */ - public PHflashSingleComp() {} - /** *

* Constructor for PHflashSingleComp. diff --git a/src/main/java/neqsim/thermodynamicOperations/flashOps/PHsolidFlash.java b/src/main/java/neqsim/thermodynamicOperations/flashOps/PHsolidFlash.java index 1953dc709..e3235dd1c 100644 --- a/src/main/java/neqsim/thermodynamicOperations/flashOps/PHsolidFlash.java +++ b/src/main/java/neqsim/thermodynamicOperations/flashOps/PHsolidFlash.java @@ -26,13 +26,6 @@ public class PHsolidFlash extends Flash { int refluxPhase = 0; double enthalpyspec = 0.5; - /** - *

- * Constructor for PHsolidFlash. - *

- */ - public PHsolidFlash() {} - /** *

* Constructor for PHsolidFlash. diff --git a/src/main/java/neqsim/thermodynamicOperations/flashOps/PSFlash.java b/src/main/java/neqsim/thermodynamicOperations/flashOps/PSFlash.java index 7ceab1bda..c26549e88 100644 --- a/src/main/java/neqsim/thermodynamicOperations/flashOps/PSFlash.java +++ b/src/main/java/neqsim/thermodynamicOperations/flashOps/PSFlash.java @@ -17,13 +17,6 @@ public class PSFlash extends QfuncFlash { Flash tpFlash; int type = 0; - /** - *

- * Constructor for PSFlash. - *

- */ - public PSFlash() {} - /** *

* Constructor for PSFlash. diff --git a/src/main/java/neqsim/thermodynamicOperations/flashOps/PSFlashGERG2008.java b/src/main/java/neqsim/thermodynamicOperations/flashOps/PSFlashGERG2008.java index a7321f7c0..648184a5a 100644 --- a/src/main/java/neqsim/thermodynamicOperations/flashOps/PSFlashGERG2008.java +++ b/src/main/java/neqsim/thermodynamicOperations/flashOps/PSFlashGERG2008.java @@ -22,13 +22,6 @@ public class PSFlashGERG2008 extends QfuncFlash { double entropy_GERG2008 = 0.0; double cP_GERG2008 = 0.0; - /** - *

- * Constructor for PSFlashGERG2008. - *

- */ - public PSFlashGERG2008() {} - /** *

* Constructor for PSFlashGERG2008. diff --git a/src/main/java/neqsim/thermodynamicOperations/flashOps/PSflashSingleComp.java b/src/main/java/neqsim/thermodynamicOperations/flashOps/PSflashSingleComp.java index e766f2dbd..9d59d1948 100644 --- a/src/main/java/neqsim/thermodynamicOperations/flashOps/PSflashSingleComp.java +++ b/src/main/java/neqsim/thermodynamicOperations/flashOps/PSflashSingleComp.java @@ -16,13 +16,6 @@ public class PSflashSingleComp extends Flash { double Sspec = 0; - /** - *

- * Constructor for PSflashSingleComp. - *

- */ - public PSflashSingleComp() {} - /** *

* Constructor for PSflashSingleComp. diff --git a/src/main/java/neqsim/thermodynamicOperations/flashOps/PVrefluxflash.java b/src/main/java/neqsim/thermodynamicOperations/flashOps/PVrefluxflash.java index 5318cb05c..c7e0153dc 100644 --- a/src/main/java/neqsim/thermodynamicOperations/flashOps/PVrefluxflash.java +++ b/src/main/java/neqsim/thermodynamicOperations/flashOps/PVrefluxflash.java @@ -17,13 +17,6 @@ public class PVrefluxflash extends Flash { int refluxPhase = 0; double refluxSpec = 0.5; - /** - *

- * Constructor for PVrefluxflash. - *

- */ - public PVrefluxflash() {} - /** *

* Constructor for PVrefluxflash. diff --git a/src/main/java/neqsim/thermodynamicOperations/flashOps/QfuncFlash.java b/src/main/java/neqsim/thermodynamicOperations/flashOps/QfuncFlash.java index 8e94a55d2..48fc79426 100644 --- a/src/main/java/neqsim/thermodynamicOperations/flashOps/QfuncFlash.java +++ b/src/main/java/neqsim/thermodynamicOperations/flashOps/QfuncFlash.java @@ -2,6 +2,7 @@ import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; + import neqsim.thermo.system.SystemInterface; /** @@ -25,7 +26,8 @@ public class QfuncFlash extends Flash { * Constructor for QfuncFlash. *

*/ - public QfuncFlash() {} + public QfuncFlash() { + } /** *

@@ -33,8 +35,8 @@ public QfuncFlash() {} *

* * @param system a {@link neqsim.thermo.system.SystemInterface} object - * @param Hspec a double - * @param type a int + * @param Hspec a double + * @param type a int */ public QfuncFlash(SystemInterface system, double Hspec, int type) { this.system = system; @@ -93,8 +95,8 @@ public double solveQ() { public void run() { tpFlash.run(); logger.info("entropy: " + system.getEntropy()); - sysNewtonRhapsonPHflash secondOrderSolver = - new sysNewtonRhapsonPHflash(system, 2, system.getPhases()[0].getNumberOfComponents(), type); + sysNewtonRhapsonPHflash secondOrderSolver = new sysNewtonRhapsonPHflash(system, 2, + system.getPhases()[0].getNumberOfComponents(), type); secondOrderSolver.setSpec(Hspec); secondOrderSolver.solve(1); } diff --git a/src/main/java/neqsim/thermodynamicOperations/flashOps/SaturateWithWater.java b/src/main/java/neqsim/thermodynamicOperations/flashOps/SaturateWithWater.java index 848db2390..d90e84886 100644 --- a/src/main/java/neqsim/thermodynamicOperations/flashOps/SaturateWithWater.java +++ b/src/main/java/neqsim/thermodynamicOperations/flashOps/SaturateWithWater.java @@ -21,13 +21,6 @@ public class SaturateWithWater extends QfuncFlash { Flash tpFlash; - /** - *

- * Constructor for SaturateWithWater. - *

- */ - public SaturateWithWater() {} - /** *

* Constructor for SaturateWithWater. diff --git a/src/main/java/neqsim/thermodynamicOperations/flashOps/SolidFlash.java b/src/main/java/neqsim/thermodynamicOperations/flashOps/SolidFlash.java index c212fed53..99683110e 100644 --- a/src/main/java/neqsim/thermodynamicOperations/flashOps/SolidFlash.java +++ b/src/main/java/neqsim/thermodynamicOperations/flashOps/SolidFlash.java @@ -27,13 +27,6 @@ public class SolidFlash extends TPflash { boolean hasRemovedPhase = false; boolean secondTime = false; - /** - *

- * Constructor for SolidFlash. - *

- */ - public SolidFlash() {} - /** *

* Constructor for SolidFlash. diff --git a/src/main/java/neqsim/thermodynamicOperations/flashOps/SolidFlash1.java b/src/main/java/neqsim/thermodynamicOperations/flashOps/SolidFlash1.java index 60dd2b528..f39e08a2b 100644 --- a/src/main/java/neqsim/thermodynamicOperations/flashOps/SolidFlash1.java +++ b/src/main/java/neqsim/thermodynamicOperations/flashOps/SolidFlash1.java @@ -29,13 +29,6 @@ public class SolidFlash1 extends TPflash { double totalSolidFrac = 0.0; int[] FluidPhaseActiveDescriptors; // 1 = active; 0 = inactive - /** - *

- * Constructor for SolidFlash1. - *

- */ - public SolidFlash1() {} - /** *

* Constructor for SolidFlash1. diff --git a/src/main/java/neqsim/thermodynamicOperations/flashOps/SolidFlash12.java b/src/main/java/neqsim/thermodynamicOperations/flashOps/SolidFlash12.java index 5eb0ef2c0..691c64e87 100644 --- a/src/main/java/neqsim/thermodynamicOperations/flashOps/SolidFlash12.java +++ b/src/main/java/neqsim/thermodynamicOperations/flashOps/SolidFlash12.java @@ -33,13 +33,6 @@ public class SolidFlash12 extends TPflash { int solidsNumber = 0; int solidIndex = 0; - /** - *

- * Constructor for SolidFlash12. - *

- */ - public SolidFlash12() {} - /** *

* Constructor for SolidFlash12. diff --git a/src/main/java/neqsim/thermodynamicOperations/flashOps/TPflash.java b/src/main/java/neqsim/thermodynamicOperations/flashOps/TPflash.java index eddcbaf02..123454349 100644 --- a/src/main/java/neqsim/thermodynamicOperations/flashOps/TPflash.java +++ b/src/main/java/neqsim/thermodynamicOperations/flashOps/TPflash.java @@ -2,6 +2,7 @@ import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; + import neqsim.thermo.phase.PhaseType; import neqsim.thermo.system.SystemInterface; import neqsim.thermodynamicOperations.ThermodynamicOperations; @@ -27,7 +28,8 @@ public class TPflash extends Flash { * Constructor for TPflash. *

*/ - public TPflash() {} + public TPflash() { + } /** *

diff --git a/src/main/java/neqsim/thermodynamicOperations/flashOps/TPmultiflash.java b/src/main/java/neqsim/thermodynamicOperations/flashOps/TPmultiflash.java index 44d9a4d76..d76693997 100644 --- a/src/main/java/neqsim/thermodynamicOperations/flashOps/TPmultiflash.java +++ b/src/main/java/neqsim/thermodynamicOperations/flashOps/TPmultiflash.java @@ -41,13 +41,6 @@ public class TPmultiflash extends TPflash { double[] multTerm; double[] multTerm2; - /** - *

- * Constructor for TPmultiflash. - *

- */ - public TPmultiflash() {} - /** *

* Constructor for TPmultiflash. diff --git a/src/main/java/neqsim/thermodynamicOperations/flashOps/TPmultiflashWAX.java b/src/main/java/neqsim/thermodynamicOperations/flashOps/TPmultiflashWAX.java index 41fb94528..8b6716c3d 100644 --- a/src/main/java/neqsim/thermodynamicOperations/flashOps/TPmultiflashWAX.java +++ b/src/main/java/neqsim/thermodynamicOperations/flashOps/TPmultiflashWAX.java @@ -27,13 +27,6 @@ public class TPmultiflashWAX extends TPflash { double Q = 0; boolean doStabilityAnalysis = true; - /** - *

- * Constructor for TPmultiflashWAX. - *

- */ - public TPmultiflashWAX() {} - /** *

* Constructor for TPmultiflashWAX. diff --git a/src/main/java/neqsim/thermodynamicOperations/flashOps/TPmultiflash_1.java b/src/main/java/neqsim/thermodynamicOperations/flashOps/TPmultiflash_1.java index a4f541445..70a895bb9 100644 --- a/src/main/java/neqsim/thermodynamicOperations/flashOps/TPmultiflash_1.java +++ b/src/main/java/neqsim/thermodynamicOperations/flashOps/TPmultiflash_1.java @@ -31,13 +31,6 @@ public class TPmultiflash_1 extends TPflash { double[] E; double Q = 0; - /** - *

- * Constructor for TPmultiflash_1. - *

- */ - public TPmultiflash_1() {} - /** *

* Constructor for TPmultiflash_1. diff --git a/src/main/java/neqsim/thermodynamicOperations/flashOps/TSFlash.java b/src/main/java/neqsim/thermodynamicOperations/flashOps/TSFlash.java index 23d579ff4..97a566edd 100644 --- a/src/main/java/neqsim/thermodynamicOperations/flashOps/TSFlash.java +++ b/src/main/java/neqsim/thermodynamicOperations/flashOps/TSFlash.java @@ -24,13 +24,6 @@ public class TSFlash extends QfuncFlash { double Sspec = 0; Flash tpFlash; - /** - *

- * Constructor for TSFlash. - *

- */ - public TSFlash() {} - /** *

* Constructor for TSFlash. diff --git a/src/main/java/neqsim/thermodynamicOperations/flashOps/TVflash.java b/src/main/java/neqsim/thermodynamicOperations/flashOps/TVflash.java index f0e085f40..5da46e7f5 100644 --- a/src/main/java/neqsim/thermodynamicOperations/flashOps/TVflash.java +++ b/src/main/java/neqsim/thermodynamicOperations/flashOps/TVflash.java @@ -22,13 +22,6 @@ public class TVflash extends Flash { double Vspec = 0; Flash tpFlash; - /** - *

- * Constructor for TVflash. - *

- */ - public TVflash() {} - /** *

* Constructor for TVflash. diff --git a/src/main/java/neqsim/thermodynamicOperations/flashOps/VHflash.java b/src/main/java/neqsim/thermodynamicOperations/flashOps/VHflash.java index 3bf8d2788..73e239425 100644 --- a/src/main/java/neqsim/thermodynamicOperations/flashOps/VHflash.java +++ b/src/main/java/neqsim/thermodynamicOperations/flashOps/VHflash.java @@ -17,13 +17,6 @@ public class VHflash extends Flash { double Vspec = 0; Flash pHFlash; - /** - *

- * Constructor for VHflash. - *

- */ - public VHflash() {} - /** *

* Constructor for VHflash. diff --git a/src/main/java/neqsim/thermodynamicOperations/flashOps/VHflashQfunc.java b/src/main/java/neqsim/thermodynamicOperations/flashOps/VHflashQfunc.java index 65fd7c586..a20eceeb6 100644 --- a/src/main/java/neqsim/thermodynamicOperations/flashOps/VHflashQfunc.java +++ b/src/main/java/neqsim/thermodynamicOperations/flashOps/VHflashQfunc.java @@ -22,13 +22,6 @@ public class VHflashQfunc extends Flash { double Hspec = 0.0; Flash tpFlash; - /** - *

- * Constructor for VHflashQfunc. - *

- */ - public VHflashQfunc() {} - /** *

* Constructor for VHflashQfunc. diff --git a/src/main/java/neqsim/thermodynamicOperations/flashOps/VSflash.java b/src/main/java/neqsim/thermodynamicOperations/flashOps/VSflash.java index 08ea40cfd..0ad968e16 100644 --- a/src/main/java/neqsim/thermodynamicOperations/flashOps/VSflash.java +++ b/src/main/java/neqsim/thermodynamicOperations/flashOps/VSflash.java @@ -19,13 +19,6 @@ public class VSflash extends Flash { double Vspec = 0; Flash tpFlash; - /** - *

- * Constructor for VSflash. - *

- */ - public VSflash() {} - /** *

* Constructor for VSflash. diff --git a/src/main/java/neqsim/thermodynamicOperations/flashOps/VUflash.java b/src/main/java/neqsim/thermodynamicOperations/flashOps/VUflash.java index 33a99f9df..bc6bc4e2f 100644 --- a/src/main/java/neqsim/thermodynamicOperations/flashOps/VUflash.java +++ b/src/main/java/neqsim/thermodynamicOperations/flashOps/VUflash.java @@ -23,13 +23,6 @@ public class VUflash extends Flash { double Vspec = 0; Flash pHFlash; - /** - *

- * Constructor for VUflash. - *

- */ - public VUflash() {} - /** *

* Constructor for VUflash. diff --git a/src/main/java/neqsim/thermodynamicOperations/flashOps/VUflashQfunc.java b/src/main/java/neqsim/thermodynamicOperations/flashOps/VUflashQfunc.java index 14816a28b..97b995fde 100644 --- a/src/main/java/neqsim/thermodynamicOperations/flashOps/VUflashQfunc.java +++ b/src/main/java/neqsim/thermodynamicOperations/flashOps/VUflashQfunc.java @@ -28,13 +28,6 @@ public class VUflashQfunc extends Flash { double Uspec = 0.0; Flash tpFlash; - /** - *

- * Constructor for VUflashQfunc. - *

- */ - public VUflashQfunc() {} - /** *

* Constructor for VUflashQfunc. diff --git a/src/main/java/neqsim/thermodynamicOperations/flashOps/calcIonicComposition.java b/src/main/java/neqsim/thermodynamicOperations/flashOps/calcIonicComposition.java index cf1ac0ad0..5dea3c020 100644 --- a/src/main/java/neqsim/thermodynamicOperations/flashOps/calcIonicComposition.java +++ b/src/main/java/neqsim/thermodynamicOperations/flashOps/calcIonicComposition.java @@ -8,6 +8,8 @@ import java.text.DecimalFormat; import java.text.DecimalFormatSymbols; +import org.apache.logging.log4j.LogManager; +import org.apache.logging.log4j.Logger; import neqsim.thermo.system.SystemInterface; /** @@ -20,17 +22,11 @@ */ public class calcIonicComposition extends Flash { private static final long serialVersionUID = 1000; + Logger logger = LogManager.getLogger(calcIonicComposition.class); int phaseNumber; String[][] resultTable = null; - /** - *

- * Constructor for calcIonicComposition. - *

- */ - public calcIonicComposition() {} - /** *

* Constructor for calcIonicComposition. diff --git a/src/main/java/neqsim/thermodynamicOperations/flashOps/dTPflash.java b/src/main/java/neqsim/thermodynamicOperations/flashOps/dTPflash.java index 60c711485..bdfdb6b76 100644 --- a/src/main/java/neqsim/thermodynamicOperations/flashOps/dTPflash.java +++ b/src/main/java/neqsim/thermodynamicOperations/flashOps/dTPflash.java @@ -24,13 +24,6 @@ public class dTPflash extends TPflash { String[] flashComp = null; - /** - *

- * Constructor for dTPflash. - *

- */ - public dTPflash() {} - /** *

* Constructor for dTPflash. diff --git a/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/FreezeOut.java b/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/FreezeOut.java index f2e7c86c4..32827b182 100644 --- a/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/FreezeOut.java +++ b/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/FreezeOut.java @@ -27,13 +27,6 @@ public class FreezeOut extends constantDutyTemperatureFlash public String[] FCompNames = new String[10]; public boolean noFreezeFlash = true; - /** - *

- * Constructor for FreezeOut. - *

- */ - public FreezeOut() {} - /** *

* Constructor for FreezeOut. diff --git a/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/FugTestConstP.java b/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/FugTestConstP.java index cf81c13bb..9bca12776 100644 --- a/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/FugTestConstP.java +++ b/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/FugTestConstP.java @@ -31,13 +31,6 @@ public class FugTestConstP extends constantDutyTemperatureFlash public String compName; public boolean compNameGiven = false; - /** - *

- * Constructor for FugTestConstP. - *

- */ - public FugTestConstP() {} - /** *

* Constructor for FugTestConstP. diff --git a/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/HCdewPointPressureFlash.java b/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/HCdewPointPressureFlash.java index 6e235d126..80a2de9d0 100644 --- a/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/HCdewPointPressureFlash.java +++ b/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/HCdewPointPressureFlash.java @@ -16,13 +16,6 @@ public class HCdewPointPressureFlash extends constantDutyTemperatureFlash { private static final long serialVersionUID = 1000; static Logger logger = LogManager.getLogger(HCdewPointPressureFlash.class); - /** - *

- * Constructor for HCdewPointPressureFlash. - *

- */ - public HCdewPointPressureFlash() {} - /** *

* Constructor for HCdewPointPressureFlash. diff --git a/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/HydrateFormationPressureFlash.java b/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/HydrateFormationPressureFlash.java index 626aa7940..3189cc62e 100644 --- a/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/HydrateFormationPressureFlash.java +++ b/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/HydrateFormationPressureFlash.java @@ -18,13 +18,6 @@ public class HydrateFormationPressureFlash extends constantDutyTemperatureFlash private static final long serialVersionUID = 1000; static Logger logger = LogManager.getLogger(HydrateFormationPressureFlash.class); - /** - *

- * Constructor for HydrateFormationPressureFlash. - *

- */ - public HydrateFormationPressureFlash() {} - /** *

* Constructor for HydrateFormationPressureFlash. diff --git a/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/HydrateFormationTemperatureFlash.java b/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/HydrateFormationTemperatureFlash.java index 5a7d1052a..8cbb5db89 100644 --- a/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/HydrateFormationTemperatureFlash.java +++ b/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/HydrateFormationTemperatureFlash.java @@ -18,13 +18,6 @@ public class HydrateFormationTemperatureFlash extends constantDutyTemperatureFla private static final long serialVersionUID = 1000; static Logger logger = LogManager.getLogger(HydrateFormationTemperatureFlash.class); - /** - *

- * Constructor for HydrateFormationTemperatureFlash. - *

- */ - public HydrateFormationTemperatureFlash() {} - /** *

* Constructor for HydrateFormationTemperatureFlash. diff --git a/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/HydrateInhibitorConcentrationFlash.java b/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/HydrateInhibitorConcentrationFlash.java index d5f51c717..6bcba6306 100644 --- a/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/HydrateInhibitorConcentrationFlash.java +++ b/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/HydrateInhibitorConcentrationFlash.java @@ -21,13 +21,6 @@ public class HydrateInhibitorConcentrationFlash extends constantDutyTemperatureF double hydT = 273.15; String inhibitor = "MEG"; - /** - *

- * Constructor for HydrateInhibitorConcentrationFlash. - *

- */ - public HydrateInhibitorConcentrationFlash() {} - /** *

* Constructor for HydrateInhibitorConcentrationFlash. diff --git a/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/HydrateInhibitorwtFlash.java b/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/HydrateInhibitorwtFlash.java index 4421450ec..9c1d517a0 100644 --- a/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/HydrateInhibitorwtFlash.java +++ b/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/HydrateInhibitorwtFlash.java @@ -21,13 +21,6 @@ public class HydrateInhibitorwtFlash extends constantDutyTemperatureFlash { double wtfrac = 0.5; String inhibitor = "MEG"; - /** - *

- * Constructor for HydrateInhibitorwtFlash. - *

- */ - public HydrateInhibitorwtFlash() {} - /** *

* Constructor for HydrateInhibitorwtFlash. diff --git a/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/SolidComplexTemperatureCalc.java b/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/SolidComplexTemperatureCalc.java index 54543cc36..dc805bf96 100644 --- a/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/SolidComplexTemperatureCalc.java +++ b/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/SolidComplexTemperatureCalc.java @@ -26,13 +26,6 @@ public class SolidComplexTemperatureCalc extends constantDutyTemperatureFlash { /** Constant TrefComplex=244.19. */ public static double TrefComplex = 244.19; - /** - *

- * Constructor for SolidComplexTemperatureCalc. - *

- */ - public SolidComplexTemperatureCalc() {} - /** *

* Constructor for SolidComplexTemperatureCalc. diff --git a/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/WATcalc.java b/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/WATcalc.java index 25c9bd3fc..8aa9f6091 100644 --- a/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/WATcalc.java +++ b/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/WATcalc.java @@ -17,13 +17,6 @@ public class WATcalc extends constantDutyTemperatureFlash { private static final long serialVersionUID = 1000; static Logger logger = LogManager.getLogger(WATcalc.class); - /** - *

- * Constructor for WATcalc. - *

- */ - public WATcalc() {} - /** *

* Constructor for WATcalc. diff --git a/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/addIonToScaleSaturation.java b/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/addIonToScaleSaturation.java index 9460cc581..8a468485d 100644 --- a/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/addIonToScaleSaturation.java +++ b/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/addIonToScaleSaturation.java @@ -23,13 +23,6 @@ public class addIonToScaleSaturation extends constantDutyTemperatureFlash { int phaseNumber = 1; String[][] resultTable = null; - /** - *

- * Constructor for addIonToScaleSaturation. - *

- */ - public addIonToScaleSaturation() {} - /** *

* Constructor for addIonToScaleSaturation. diff --git a/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/bubblePointPressureFlash.java b/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/bubblePointPressureFlash.java index 88246b2d9..b09fcf1d7 100644 --- a/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/bubblePointPressureFlash.java +++ b/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/bubblePointPressureFlash.java @@ -16,13 +16,6 @@ public class bubblePointPressureFlash extends constantDutyPressureFlash { private static final long serialVersionUID = 1000; static Logger logger = LogManager.getLogger(bubblePointPressureFlash.class); - /** - *

- * Constructor for bubblePointPressureFlash. - *

- */ - public bubblePointPressureFlash() {} - /** *

* Constructor for bubblePointPressureFlash. diff --git a/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/bubblePointPressureFlashDer.java b/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/bubblePointPressureFlashDer.java index 0c26754f4..b3a195225 100644 --- a/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/bubblePointPressureFlashDer.java +++ b/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/bubblePointPressureFlashDer.java @@ -16,13 +16,6 @@ public class bubblePointPressureFlashDer extends constantDutyPressureFlash { private static final long serialVersionUID = 1000; static Logger logger = LogManager.getLogger(bubblePointPressureFlashDer.class); - /** - *

- * Constructor for bubblePointPressureFlashDer. - *

- */ - public bubblePointPressureFlashDer() {} - /** *

* Constructor for bubblePointPressureFlashDer. diff --git a/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/bubblePointTemperatureFlash.java b/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/bubblePointTemperatureFlash.java index 77be20894..158ae7976 100644 --- a/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/bubblePointTemperatureFlash.java +++ b/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/bubblePointTemperatureFlash.java @@ -16,13 +16,6 @@ public class bubblePointTemperatureFlash extends constantDutyTemperatureFlash { private static final long serialVersionUID = 1000; static Logger logger = LogManager.getLogger(bubblePointTemperatureFlash.class); - /** - *

- * Constructor for bubblePointTemperatureFlash. - *

- */ - public bubblePointTemperatureFlash() {} - /** *

* Constructor for bubblePointTemperatureFlash. diff --git a/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/bubblePointTemperatureNoDer.java b/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/bubblePointTemperatureNoDer.java index 860f21f29..be0bd6317 100644 --- a/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/bubblePointTemperatureNoDer.java +++ b/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/bubblePointTemperatureNoDer.java @@ -16,13 +16,6 @@ public class bubblePointTemperatureNoDer extends constantDutyTemperatureFlash { private static final long serialVersionUID = 1000; static Logger logger = LogManager.getLogger(bubblePointTemperatureNoDer.class); - /** - *

- * Constructor for bubblePointTemperatureNoDer. - *

- */ - public bubblePointTemperatureNoDer() {} - /** *

* Constructor for bubblePointTemperatureNoDer. diff --git a/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/calcSaltSatauration.java b/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/calcSaltSatauration.java index b002a03dc..8ff951293 100644 --- a/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/calcSaltSatauration.java +++ b/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/calcSaltSatauration.java @@ -18,13 +18,6 @@ public class calcSaltSatauration extends constantDutyTemperatureFlash { String saltName; - /** - *

- * Constructor for calcSaltSatauration. - *

- */ - public calcSaltSatauration() {} - /** *

* Constructor for calcSaltSatauration. diff --git a/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/checkScalePotential.java b/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/checkScalePotential.java index a6efce908..bd3e44d63 100644 --- a/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/checkScalePotential.java +++ b/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/checkScalePotential.java @@ -20,13 +20,6 @@ public class checkScalePotential extends constantDutyTemperatureFlash { int phaseNumber = 1; String[][] resultTable = null; - /** - *

- * Constructor for checkScalePotential. - *

- */ - public checkScalePotential() {} - /** *

* Constructor for checkScalePotential. diff --git a/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/constantDutyFlash.java b/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/constantDutyFlash.java index e493bab58..26cb22a20 100644 --- a/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/constantDutyFlash.java +++ b/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/constantDutyFlash.java @@ -2,6 +2,7 @@ import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; + import neqsim.thermo.system.SystemInterface; /** @@ -34,15 +35,11 @@ public abstract class constantDutyFlash implements ConstantDutyFlashInterface { double[] lnOldK; double[] oldDeltalnK; double[] deltalnK; - double[] tm = {1, 1}; + double[] tm = { 1, 1 }; int lowestGibbsEnergyPhase = 0; // lowestGibbsEnergyPhase - /** - *

- * Constructor for constantDutyFlash. - *

- */ - public constantDutyFlash() {} + public constantDutyFlash() { + } /** *

@@ -153,5 +150,6 @@ public String[][] getResultTable() { /** {@inheritDoc} */ @Override - public void addData(String name, double[][] data) {} + public void addData(String name, double[][] data) { + } } diff --git a/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/constantDutyPressureFlash.java b/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/constantDutyPressureFlash.java index 579d7760e..315894aa4 100644 --- a/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/constantDutyPressureFlash.java +++ b/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/constantDutyPressureFlash.java @@ -13,13 +13,6 @@ public class constantDutyPressureFlash extends constantDutyFlash { private static final long serialVersionUID = 1000; - /** - *

- * Constructor for constantDutyPressureFlash. - *

- */ - public constantDutyPressureFlash() {} - /** *

* Constructor for constantDutyPressureFlash. diff --git a/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/constantDutyTemperatureFlash.java b/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/constantDutyTemperatureFlash.java index 9152a21f8..eb2164df6 100644 --- a/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/constantDutyTemperatureFlash.java +++ b/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/constantDutyTemperatureFlash.java @@ -18,7 +18,8 @@ public class constantDutyTemperatureFlash extends constantDutyFlash { * Constructor for constantDutyTemperatureFlash. *

*/ - public constantDutyTemperatureFlash() {} + public constantDutyTemperatureFlash() { + } /** *

diff --git a/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/cricondebarFlash.java b/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/cricondebarFlash.java index 972d0de67..1afc6c7eb 100644 --- a/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/cricondebarFlash.java +++ b/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/cricondebarFlash.java @@ -21,13 +21,6 @@ public class cricondebarFlash extends constantDutyPressureFlash { Matrix Jac; Matrix fvec; - /** - *

- * Constructor for cricondebarFlash. - *

- */ - public cricondebarFlash() {} - /** *

* Constructor for cricondebarFlash. diff --git a/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/cricondenBarTemp.java b/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/cricondenBarTemp.java index 0760d0f26..ec4d6bc37 100644 --- a/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/cricondenBarTemp.java +++ b/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/cricondenBarTemp.java @@ -42,13 +42,6 @@ public class cricondenBarTemp implements java.io.Serializable { Matrix dx; Matrix xcoef; - /** - *

- * Constructor for cricondenBarTemp. - *

- */ - public cricondenBarTemp() {} - /** *

* Constructor for cricondenBarTemp. diff --git a/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/cricondenBarTemp1.java b/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/cricondenBarTemp1.java index 371f23d89..aebaa69bb 100644 --- a/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/cricondenBarTemp1.java +++ b/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/cricondenBarTemp1.java @@ -44,13 +44,6 @@ public class cricondenBarTemp1 implements java.io.Serializable { Matrix dx; Matrix xcoef; - /** - *

- * Constructor for cricondenBarTemp1. - *

- */ - public cricondenBarTemp1() {} - /** *

* Constructor for cricondenBarTemp1. diff --git a/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/dewPointPressureFlash.java b/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/dewPointPressureFlash.java index 6ad4ac690..509e14c62 100644 --- a/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/dewPointPressureFlash.java +++ b/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/dewPointPressureFlash.java @@ -13,13 +13,6 @@ public class dewPointPressureFlash extends constantDutyTemperatureFlash { private static final long serialVersionUID = 1000; - /** - *

- * Constructor for dewPointPressureFlash. - *

- */ - public dewPointPressureFlash() {} - /** *

* Constructor for dewPointPressureFlash. diff --git a/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/dewPointTemperatureFlash.java b/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/dewPointTemperatureFlash.java index c9d87e8d8..155aef533 100644 --- a/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/dewPointTemperatureFlash.java +++ b/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/dewPointTemperatureFlash.java @@ -13,13 +13,6 @@ public class dewPointTemperatureFlash extends constantDutyTemperatureFlash { private static final long serialVersionUID = 1000; - /** - *

- * Constructor for dewPointTemperatureFlash. - *

- */ - public dewPointTemperatureFlash() {} - /** *

* Constructor for dewPointTemperatureFlash. diff --git a/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/dewPointTemperatureFlashDer.java b/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/dewPointTemperatureFlashDer.java index e0c9e412a..3966f6215 100644 --- a/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/dewPointTemperatureFlashDer.java +++ b/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/dewPointTemperatureFlashDer.java @@ -13,13 +13,6 @@ public class dewPointTemperatureFlashDer extends constantDutyTemperatureFlash { private static final long serialVersionUID = 1000; - /** - *

- * Constructor for dewPointTemperatureFlashDer. - *

- */ - public dewPointTemperatureFlashDer() {} - /** *

* Constructor for dewPointTemperatureFlashDer. diff --git a/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/freezingPointTemperatureFlash.java b/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/freezingPointTemperatureFlash.java index a75dbdc9a..5c5e25b58 100644 --- a/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/freezingPointTemperatureFlash.java +++ b/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/freezingPointTemperatureFlash.java @@ -27,13 +27,6 @@ public class freezingPointTemperatureFlash extends constantDutyTemperatureFlash public String name = "Frz"; public String phaseName = "oil"; - /** - *

- * Constructor for freezingPointTemperatureFlash. - *

- */ - public freezingPointTemperatureFlash() {} - /** *

* Constructor for freezingPointTemperatureFlash. diff --git a/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/freezingPointTemperatureFlashOld.java b/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/freezingPointTemperatureFlashOld.java index 25ab81ae5..c976adb5c 100644 --- a/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/freezingPointTemperatureFlashOld.java +++ b/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/freezingPointTemperatureFlashOld.java @@ -17,13 +17,6 @@ public class freezingPointTemperatureFlashOld extends constantDutyTemperatureFla private static final long serialVersionUID = 1000; static Logger logger = LogManager.getLogger(freezingPointTemperatureFlashOld.class); - /** - *

- * Constructor for freezingPointTemperatureFlashOld. - *

- */ - public freezingPointTemperatureFlashOld() {} - /** *

* Constructor for freezingPointTemperatureFlashOld. diff --git a/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/freezingPointTemperatureFlashTR.java b/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/freezingPointTemperatureFlashTR.java index ee9d1ffa9..3d694eb9e 100644 --- a/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/freezingPointTemperatureFlashTR.java +++ b/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/freezingPointTemperatureFlashTR.java @@ -31,13 +31,6 @@ public class freezingPointTemperatureFlashTR extends constantDutyTemperatureFlas public String name = "Frz"; public boolean CCequation = true; - /** - *

- * Constructor for freezingPointTemperatureFlashTR. - *

- */ - public freezingPointTemperatureFlashTR() {} - /** *

* Constructor for freezingPointTemperatureFlashTR. diff --git a/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/waterDewPointTemperatureFlash.java b/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/waterDewPointTemperatureFlash.java index 454d60847..e663713db 100644 --- a/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/waterDewPointTemperatureFlash.java +++ b/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/waterDewPointTemperatureFlash.java @@ -16,13 +16,6 @@ public class waterDewPointTemperatureFlash extends constantDutyTemperatureFlash private static final long serialVersionUID = 1000; static Logger logger = LogManager.getLogger(waterDewPointTemperatureFlash.class); - /** - *

- * Constructor for waterDewPointTemperatureFlash. - *

- */ - public waterDewPointTemperatureFlash() {} - /** *

* Constructor for waterDewPointTemperatureFlash. diff --git a/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/waterDewPointTemperatureMultiphaseFlash.java b/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/waterDewPointTemperatureMultiphaseFlash.java index 35aa951f8..2934aa20b 100644 --- a/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/waterDewPointTemperatureMultiphaseFlash.java +++ b/src/main/java/neqsim/thermodynamicOperations/flashOps/saturationOps/waterDewPointTemperatureMultiphaseFlash.java @@ -17,13 +17,6 @@ public class waterDewPointTemperatureMultiphaseFlash extends constantDutyTempera private static final long serialVersionUID = 1000; static Logger logger = LogManager.getLogger(waterDewPointTemperatureMultiphaseFlash.class); - /** - *

- * Constructor for waterDewPointTemperatureMultiphaseFlash. - *

- */ - public waterDewPointTemperatureMultiphaseFlash() {} - /** *

* Constructor for waterDewPointTemperatureMultiphaseFlash. diff --git a/src/main/java/neqsim/thermodynamicOperations/flashOps/sysNewtonRhapsonPHflash.java b/src/main/java/neqsim/thermodynamicOperations/flashOps/sysNewtonRhapsonPHflash.java index 70a2c7596..1b2b87dc2 100644 --- a/src/main/java/neqsim/thermodynamicOperations/flashOps/sysNewtonRhapsonPHflash.java +++ b/src/main/java/neqsim/thermodynamicOperations/flashOps/sysNewtonRhapsonPHflash.java @@ -56,13 +56,6 @@ public class sysNewtonRhapsonPHflash implements ThermodynamicConstantsInterface int type = 0; double dPdT = 0; - /** - *

- * Constructor for sysNewtonRhapsonPHflash. - *

- */ - public sysNewtonRhapsonPHflash() {} - /** *

* Constructor for sysNewtonRhapsonPHflash. diff --git a/src/main/java/neqsim/thermodynamicOperations/flashOps/sysNewtonRhapsonTPflash.java b/src/main/java/neqsim/thermodynamicOperations/flashOps/sysNewtonRhapsonTPflash.java index a813fa250..bee007d7c 100644 --- a/src/main/java/neqsim/thermodynamicOperations/flashOps/sysNewtonRhapsonTPflash.java +++ b/src/main/java/neqsim/thermodynamicOperations/flashOps/sysNewtonRhapsonTPflash.java @@ -42,13 +42,6 @@ public class sysNewtonRhapsonTPflash implements java.io.Serializable { Matrix dx; Matrix xcoef; - /** - *

- * Constructor for sysNewtonRhapsonTPflash. - *

- */ - public sysNewtonRhapsonTPflash() {} - /** *

* Constructor for sysNewtonRhapsonTPflash. diff --git a/src/main/java/neqsim/thermodynamicOperations/flashOps/sysNewtonRhapsonTPflashNew.java b/src/main/java/neqsim/thermodynamicOperations/flashOps/sysNewtonRhapsonTPflashNew.java index 6be8c8416..f82c35eb0 100644 --- a/src/main/java/neqsim/thermodynamicOperations/flashOps/sysNewtonRhapsonTPflashNew.java +++ b/src/main/java/neqsim/thermodynamicOperations/flashOps/sysNewtonRhapsonTPflashNew.java @@ -45,13 +45,6 @@ public class sysNewtonRhapsonTPflashNew implements java.io.Serializable { boolean etterCP = false; boolean etterCP2 = false; - /** - *

- * Constructor for sysNewtonRhapsonTPflashNew. - *

- */ - public sysNewtonRhapsonTPflashNew() {} - /** *

* Constructor for sysNewtonRhapsonTPflashNew. diff --git a/src/main/java/neqsim/thermodynamicOperations/phaseEnvelopeOps/multicomponentEnvelopeOps/CricondenBarFlash.java b/src/main/java/neqsim/thermodynamicOperations/phaseEnvelopeOps/multicomponentEnvelopeOps/CricondenBarFlash.java index 1c1023c62..f034148f3 100644 --- a/src/main/java/neqsim/thermodynamicOperations/phaseEnvelopeOps/multicomponentEnvelopeOps/CricondenBarFlash.java +++ b/src/main/java/neqsim/thermodynamicOperations/phaseEnvelopeOps/multicomponentEnvelopeOps/CricondenBarFlash.java @@ -48,13 +48,6 @@ public class CricondenBarFlash extends pTphaseEnvelope { // double [] cricondenBarX = new double [100] ; // double [] cricondenBarY = new double [100] ; - /** - *

- * Constructor for CricondenBarFlash. - *

- */ - public CricondenBarFlash() {} - /** *

* Constructor for CricondenBarFlash. diff --git a/src/main/java/neqsim/thermodynamicOperations/phaseEnvelopeOps/multicomponentEnvelopeOps/CricondenThermFlash.java b/src/main/java/neqsim/thermodynamicOperations/phaseEnvelopeOps/multicomponentEnvelopeOps/CricondenThermFlash.java index c62f547e2..6f438d8dd 100644 --- a/src/main/java/neqsim/thermodynamicOperations/phaseEnvelopeOps/multicomponentEnvelopeOps/CricondenThermFlash.java +++ b/src/main/java/neqsim/thermodynamicOperations/phaseEnvelopeOps/multicomponentEnvelopeOps/CricondenThermFlash.java @@ -47,13 +47,6 @@ public class CricondenThermFlash extends pTphaseEnvelope { // double [] cricondenBarX = new double [100] ; // double [] cricondenBarY = new double [100] ; - /** - *

- * Constructor for CricondenThermFlash. - *

- */ - public CricondenThermFlash() {} - /** *

* Constructor for CricondenThermFlash. diff --git a/src/main/java/neqsim/thermodynamicOperations/phaseEnvelopeOps/multicomponentEnvelopeOps/HPTphaseEnvelope.java b/src/main/java/neqsim/thermodynamicOperations/phaseEnvelopeOps/multicomponentEnvelopeOps/HPTphaseEnvelope.java index afcd05518..f9a597923 100644 --- a/src/main/java/neqsim/thermodynamicOperations/phaseEnvelopeOps/multicomponentEnvelopeOps/HPTphaseEnvelope.java +++ b/src/main/java/neqsim/thermodynamicOperations/phaseEnvelopeOps/multicomponentEnvelopeOps/HPTphaseEnvelope.java @@ -39,13 +39,6 @@ public class HPTphaseEnvelope extends BaseOperation { double startTemperature = 160; double endTemperature = 0; - /** - *

- * Constructor for HPTphaseEnvelope. - *

- */ - public HPTphaseEnvelope() {} - /** *

* Constructor for HPTphaseEnvelope. diff --git a/src/main/java/neqsim/thermodynamicOperations/phaseEnvelopeOps/multicomponentEnvelopeOps/pTphaseEnvelope.java b/src/main/java/neqsim/thermodynamicOperations/phaseEnvelopeOps/multicomponentEnvelopeOps/pTphaseEnvelope.java index 296bfa9b9..5b0fda66b 100644 --- a/src/main/java/neqsim/thermodynamicOperations/phaseEnvelopeOps/multicomponentEnvelopeOps/pTphaseEnvelope.java +++ b/src/main/java/neqsim/thermodynamicOperations/phaseEnvelopeOps/multicomponentEnvelopeOps/pTphaseEnvelope.java @@ -7,11 +7,14 @@ package neqsim.thermodynamicOperations.phaseEnvelopeOps.multicomponentEnvelopeOps; import java.text.DecimalFormat; + import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.JProgressBar; + import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; + import neqsim.dataPresentation.JFreeChart.graph2b; import neqsim.thermo.system.SystemInterface; import neqsim.thermodynamicOperations.BaseOperation; @@ -105,7 +108,8 @@ public class pTphaseEnvelope extends BaseOperation { * Constructor for pTphaseEnvelope. *

*/ - public pTphaseEnvelope() {} + public pTphaseEnvelope() { + } /** *

diff --git a/src/main/java/neqsim/thermodynamicOperations/phaseEnvelopeOps/multicomponentEnvelopeOps/pTphaseEnvelope1.java b/src/main/java/neqsim/thermodynamicOperations/phaseEnvelopeOps/multicomponentEnvelopeOps/pTphaseEnvelope1.java index 938b811a6..fed3e2a99 100644 --- a/src/main/java/neqsim/thermodynamicOperations/phaseEnvelopeOps/multicomponentEnvelopeOps/pTphaseEnvelope1.java +++ b/src/main/java/neqsim/thermodynamicOperations/phaseEnvelopeOps/multicomponentEnvelopeOps/pTphaseEnvelope1.java @@ -72,13 +72,6 @@ public class pTphaseEnvelope1 extends BaseOperation { // points[2] = new double[1000]; int speceq = 0; - /** - *

- * Constructor for pTphaseEnvelope1. - *

- */ - public pTphaseEnvelope1() {} - /** *

* Constructor for pTphaseEnvelope1. diff --git a/src/main/java/neqsim/thermodynamicOperations/phaseEnvelopeOps/multicomponentEnvelopeOps/pTphaseEnvelopeMay.java b/src/main/java/neqsim/thermodynamicOperations/phaseEnvelopeOps/multicomponentEnvelopeOps/pTphaseEnvelopeMay.java index 4866604a0..7aa341c63 100644 --- a/src/main/java/neqsim/thermodynamicOperations/phaseEnvelopeOps/multicomponentEnvelopeOps/pTphaseEnvelopeMay.java +++ b/src/main/java/neqsim/thermodynamicOperations/phaseEnvelopeOps/multicomponentEnvelopeOps/pTphaseEnvelopeMay.java @@ -83,13 +83,6 @@ public class pTphaseEnvelopeMay extends BaseOperation { double Pcfirst; double Tmin = 0.0; - /** - *

- * Constructor for pTphaseEnvelopeMay. - *

- */ - public pTphaseEnvelopeMay() {} - /** *

* Constructor for pTphaseEnvelopeMay. diff --git a/src/main/java/neqsim/thermodynamicOperations/phaseEnvelopeOps/multicomponentEnvelopeOps/pTphaseEnvelopeNew.java b/src/main/java/neqsim/thermodynamicOperations/phaseEnvelopeOps/multicomponentEnvelopeOps/pTphaseEnvelopeNew.java index 4fdad0c0c..56af56dd9 100644 --- a/src/main/java/neqsim/thermodynamicOperations/phaseEnvelopeOps/multicomponentEnvelopeOps/pTphaseEnvelopeNew.java +++ b/src/main/java/neqsim/thermodynamicOperations/phaseEnvelopeOps/multicomponentEnvelopeOps/pTphaseEnvelopeNew.java @@ -54,13 +54,6 @@ public class pTphaseEnvelopeNew extends BaseOperation { int np = 0; int speceq = 0; - /** - *

- * Constructor for pTphaseEnvelopeNew. - *

- */ - public pTphaseEnvelopeNew() {} - /** *

* Constructor for pTphaseEnvelopeNew. diff --git a/src/main/java/neqsim/thermodynamicOperations/phaseEnvelopeOps/reactiveCurves/pLoadingCurve2.java b/src/main/java/neqsim/thermodynamicOperations/phaseEnvelopeOps/reactiveCurves/pLoadingCurve2.java index 12255309a..5e97d8ad3 100644 --- a/src/main/java/neqsim/thermodynamicOperations/phaseEnvelopeOps/reactiveCurves/pLoadingCurve2.java +++ b/src/main/java/neqsim/thermodynamicOperations/phaseEnvelopeOps/reactiveCurves/pLoadingCurve2.java @@ -58,13 +58,6 @@ public class pLoadingCurve2 extends BaseOperation { // points[2] = new double[1000]; int speceq = 0; - /** - *

- * Constructor for pLoadingCurve2. - *

- */ - public pLoadingCurve2() {} - /** *

* Constructor for pLoadingCurve2.