File tree Expand file tree Collapse file tree 2 files changed +0
-45
lines changed
src/main/java/neqsim/thermo/system Expand file tree Collapse file tree 2 files changed +0
-45
lines changed Original file line number Diff line number Diff line change @@ -914,15 +914,6 @@ public default double getGamma2() {
914914 */
915915 public double getIdealLiquidDensity (String unit );
916916
917- /**
918- * <p>
919- * Getter for property initType.
920- * </p>
921- *
922- * @return a int
923- */
924- public int getInitType ();
925-
926917 /**
927918 * method to return interfacial tension between two phases.
928919 *
@@ -1674,15 +1665,6 @@ public default boolean hasSolidPhase() {
16741665 return hasPhaseType (PhaseType .SOLID ); // || hasPhaseType(PhaseType.SOLIDCOMPLEX);
16751666 }
16761667
1677- /**
1678- * Calculate thermodynamic properties of the fluid using the init type set in fluid.
1679- *
1680- * @see getInitType
1681- */
1682- public default void init () {
1683- this .init (this .getInitType ());
1684- }
1685-
16861668 /**
16871669 * method to calculate thermodynamic properties of the fluid. The temperature, pressure, number of
16881670 * phases and composition of the phases will be used as basis for calculation.
@@ -2267,15 +2249,6 @@ public void setImplementedPressureDeriativesofFugacity(
22672249 public void setImplementedTemperatureDeriativesofFugacity (
22682250 boolean implementedTemperatureDeriativesofFugacity );
22692251
2270- /**
2271- * <p>
2272- * Setter for property initType.
2273- * </p>
2274- *
2275- * @param initType a int
2276- */
2277- public void setInitType (int initType );
2278-
22792252 /**
22802253 * <p>
22812254 * Setter for property <code>maxNumberOfPhases</code>.
Original file line number Diff line number Diff line change @@ -101,12 +101,6 @@ public abstract class SystemThermo implements SystemInterface {
101101 private boolean implementedPressureDeriativesofFugacity = true ;
102102
103103 private boolean implementedTemperatureDeriativesofFugacity = true ;
104-
105- /*
106- * Initialization type. 0 to initialize and 1 to reset, 2 to calculate T and P derivatives, 3 to
107- * calculate all derivatives and 4 to calculate all derivatives numerically
108- */
109- protected int initType = 3 ;
110104 protected InterphasePropertiesInterface interfaceProp = null ;
111105
112106 // Initialization
@@ -2251,12 +2245,6 @@ public double getIdealLiquidDensity(String unit) {
22512245 }
22522246 }
22532247
2254- /** {@inheritDoc} */
2255- @ Override
2256- public int getInitType () {
2257- return initType ;
2258- }
2259-
22602248 /** {@inheritDoc} */
22612249 @ Override
22622250 public double getInterfacialTension (int phase1 , int phase2 ) {
@@ -4443,12 +4431,6 @@ public void setImplementedTemperatureDeriativesofFugacity(
44434431 this .implementedTemperatureDeriativesofFugacity = implementedTemperatureDeriativesofFugacity ;
44444432 }
44454433
4446- /** {@inheritDoc} */
4447- @ Override
4448- public void setInitType (int initType ) {
4449- this .initType = initType ;
4450- }
4451-
44524434 /**
44534435 * <p>
44544436 * setLastTBPasPlus.
You can’t perform that action at this time.
0 commit comments