File tree 3 files changed +9
-1
lines changed
3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ int main(int argc, char* argv[])
55
55
Log log ;
56
56
ifstream inputFile;
57
57
ofstream outputFile;
58
+ ofstream rejectFile;
58
59
ofstream logFile;
59
60
60
61
logFile.open (" nnp-select.log" );
@@ -99,6 +100,7 @@ int main(int argc, char* argv[])
99
100
100
101
inputFile.open (" input.data" );
101
102
outputFile.open (" output.data" );
103
+ rejectFile.open (" reject.data" );
102
104
string line;
103
105
while (getline (inputFile, line))
104
106
{
@@ -125,9 +127,14 @@ int main(int argc, char* argv[])
125
127
{
126
128
outputFile << line << ' \n ' ;
127
129
}
130
+ else
131
+ {
132
+ rejectFile << line << ' \n ' ;
133
+ }
128
134
}
129
135
inputFile.close ();
130
136
outputFile.close ();
137
+ rejectFile.close ();
131
138
132
139
log << " *****************************************"
133
140
" **************************************\n " ;
Original file line number Diff line number Diff line change @@ -51,6 +51,7 @@ File output:
51
51
------------
52
52
53
53
* ``output.data ``\ : The requested subset of training structures.
54
+ * ``reject.data ``\ : The rejected configurations, i.e. all data minus ``output.data ``.
54
55
* ``nnp-select.log `` : Log file (copy of screen output).
55
56
56
57
Examples:
Original file line number Diff line number Diff line change 17
17
#ifndef VERSION_H
18
18
#define VERSION_H
19
19
20
- #define NNP_VERSION "2.0.2 "
20
+ #define NNP_VERSION "2.0.3 "
21
21
#define NNP_GIT_REV ""
22
22
#define NNP_GIT_REV_SHORT ""
23
23
#define NNP_GIT_BRANCH ""
You can’t perform that action at this time.
0 commit comments