mirror of
https://github.com/Cantera/cantera.git
synced 2025-02-25 18:55:29 -06:00
Fixed warning messages and added to make clean rule
This commit is contained in:
@@ -165,8 +165,7 @@ double calc(double temp, double Iionic) {
|
||||
|
||||
double molecWeight = 18.01528;
|
||||
|
||||
double RT = GasConst * temp * 1.0E-3;
|
||||
|
||||
//double RT = GasConst * temp * 1.0E-3;
|
||||
|
||||
double xo = 1.0 / (molecWeight/1000. * 2 * m + 1.0);
|
||||
printf(" no = %g\n", xo);
|
||||
@@ -174,7 +173,7 @@ double calc(double temp, double Iionic) {
|
||||
return phiJ;
|
||||
}
|
||||
|
||||
main() {
|
||||
int main() {
|
||||
|
||||
printf("Standalone test of the apparent relative molal enthalpy, phiL:\n");
|
||||
printf(" (Check against simple formula in Silvester&Pitzer, J. Phys. Chem. 81, 1822 (1977)\n");
|
||||
@@ -188,5 +187,5 @@ main() {
|
||||
printf("Ionic Strength = %g\n", Iionic);
|
||||
|
||||
res = calc(273.15 + 200., Iionic);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -108,7 +108,7 @@ endif
|
||||
@ ./runtest
|
||||
|
||||
clean:
|
||||
$(RM) $(OBJS) $(PROGRAM) $(DEPENDS) .depends
|
||||
$(RM) $(OBJS) $(PROGRAM) $(DEPENDS) .depends *.o
|
||||
../../../bin/rm_cvsignore
|
||||
(if test -d SunWS_cache ; then \
|
||||
$(RM) -rf SunWS_cache ; \
|
||||
|
||||
Reference in New Issue
Block a user