Fix duplicate w_POWER definition
Fix duplicate w_POWER definition and some house keeping. Tested the new commit by @AngelaMarchi from #87, all results are the same as version 2.1.
This commit is contained in:
@@ -421,7 +421,8 @@ int saveinpfile(char *fname)
|
||||
}
|
||||
}
|
||||
|
||||
/*moved after control section */
|
||||
/* Write [RULES] section */
|
||||
|
||||
fprintf(f, "\n\n[RULES]");
|
||||
for (i=1; i<=Nrules; i++)
|
||||
{
|
||||
@@ -429,8 +430,6 @@ int saveinpfile(char *fname)
|
||||
errcode = writeRuleinInp(f, i);
|
||||
fprintf(f, "\n");
|
||||
}
|
||||
//fprintf(f, "\n\n");
|
||||
/* end move after control section */
|
||||
|
||||
/* Write [QUALITY] section */
|
||||
/* (Skip nodes with default quality of 0) */
|
||||
@@ -635,17 +634,6 @@ int saveinpfile(char *fname)
|
||||
}
|
||||
fprintf(f, "\n\n");
|
||||
|
||||
/*moved after control section
|
||||
fprintf(f, "\n\n[RULES]");
|
||||
for (i=1; i<=Nrules; i++)
|
||||
{
|
||||
fprintf(f, "\nRULE %s",Rule[i].label);
|
||||
errcode = writeRuleinInp(f, i);
|
||||
fprintf(f, "\n");
|
||||
}
|
||||
fprintf(f, "\n\n");
|
||||
end move after control section */
|
||||
|
||||
/* Write [COORDINATES] section */
|
||||
|
||||
if (Coordflag == TRUE)
|
||||
|
||||
Reference in New Issue
Block a user