Commit 013e4518 authored by Cassio Kirch's avatar Cassio Kirch

initializedFinalConfigurationFile function added.

parent 0eb563eb
......@@ -91,3 +91,14 @@ initializeStepAndTypeFile (const unsigned long long int step, \
dat = fopen(fileName, "w");
return dat;
}
FILE* initializeFinalConfigurationFile()
{
FILE* finalConfigurationFile;
char fileName[FILENAME_SIZE];
sprintf(fileName, "final_%s.dat", dateString);
finalConfigurationFile = fopen(fileName, "w");
putParametersToFile(finalConfigurationFile);
return finalConfigurationFile;
}
......@@ -6,6 +6,8 @@ FILE* initializeStepAndTypeFile (const unsigned long long int step, \
const cellType type);
FILE* initializeGammaFile();
FILE* initializeFinalConfigurationFile();
void setDate ();
char* getDate();
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment