@@ -99,7 +99,7 @@ cxxGasComp::read_raw(CParser & parser, bool check)
99
99
// Allow return to Exchange for more processing
100
100
break ;
101
101
102
- case 0 : // phase_name
102
+ case 7 : // phase_name
103
103
output_msg (" -phase_name is obsolete. Define with -component\n " );
104
104
break ;
105
105
@@ -138,7 +138,7 @@ cxxGasComp::read_raw(CParser & parser, bool check)
138
138
}
139
139
break ;
140
140
141
- case 5 : // p
141
+ case 0 : // p
142
142
if (!(parser.get_iss () >> this ->p ))
143
143
{
144
144
this ->p = 0 ;
@@ -148,7 +148,7 @@ cxxGasComp::read_raw(CParser & parser, bool check)
148
148
}
149
149
break ;
150
150
151
- case 6 : // phi
151
+ case 5 : // phi
152
152
if (!(parser.get_iss () >> this ->phi ))
153
153
{
154
154
this ->phi = 0 ;
@@ -158,7 +158,7 @@ cxxGasComp::read_raw(CParser & parser, bool check)
158
158
}
159
159
break ;
160
160
161
- case 7 : // f
161
+ case 6 : // f
162
162
if (!(parser.get_iss () >> this ->f ))
163
163
{
164
164
this ->f = 0 ;
@@ -253,13 +253,13 @@ cxxGasComp::Deserialize(Dictionary & dictionary, std::vector < int >&ints,
253
253
}
254
254
255
255
const std::vector< std::string >::value_type temp_vopts[] = {
256
- std::vector< std::string >::value_type (" phase_name " ), // 0
256
+ std::vector< std::string >::value_type (" p " ), // 0
257
257
std::vector< std::string >::value_type (" name" ), // 1
258
258
std::vector< std::string >::value_type (" p_read" ), // 2
259
259
std::vector< std::string >::value_type (" moles" ), // 3
260
260
std::vector< std::string >::value_type (" initial_moles" ), // 4
261
- std::vector< std::string >::value_type (" p " ), // 5
262
- std::vector< std::string >::value_type (" phi " ), // 6
263
- std::vector< std::string >::value_type (" f " ) // 7
261
+ std::vector< std::string >::value_type (" phi " ), // 5
262
+ std::vector< std::string >::value_type (" f " ), // 6
263
+ std::vector< std::string >::value_type (" phase_name " ) // 7
264
264
};
265
265
const std::vector< std::string > cxxGasComp::vopts (temp_vopts, temp_vopts + sizeof temp_vopts / sizeof temp_vopts[0 ]);
0 commit comments