Removed some dead argument-parsing code from the regression tests
This commit is contained in:
parent
d3e98fe5a8
commit
64bb2bc667
14 changed files with 0 additions and 190 deletions
|
|
@ -10,13 +10,6 @@
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace Cantera;
|
using namespace Cantera;
|
||||||
|
|
||||||
void printUsage()
|
|
||||||
{
|
|
||||||
cout << "usage: DH_test " << endl;
|
|
||||||
cout <<" -> Everything is hardwired" << endl;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
int main(int argc, char** argv)
|
int main(int argc, char** argv)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12,13 +12,6 @@
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace Cantera;
|
using namespace Cantera;
|
||||||
|
|
||||||
void printUsage()
|
|
||||||
{
|
|
||||||
cout << "usage: HMW_test " << endl;
|
|
||||||
cout <<" -> Everything is hardwired" << endl;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
int main(int argc, char** argv)
|
int main(int argc, char** argv)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12,13 +12,6 @@
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace Cantera;
|
using namespace Cantera;
|
||||||
|
|
||||||
void printUsage()
|
|
||||||
{
|
|
||||||
cout << "usage: HMW_test " << endl;
|
|
||||||
cout <<" -> Everything is hardwired" << endl;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
int main(int argc, char** argv)
|
int main(int argc, char** argv)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -10,13 +10,6 @@
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace Cantera;
|
using namespace Cantera;
|
||||||
|
|
||||||
void printUsage()
|
|
||||||
{
|
|
||||||
cout << "usage: HMW_test " << endl;
|
|
||||||
cout <<" -> Everything is hardwired" << endl;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
int main(int argc, char** argv)
|
int main(int argc, char** argv)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -14,13 +14,6 @@
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace Cantera;
|
using namespace Cantera;
|
||||||
|
|
||||||
void printUsage()
|
|
||||||
{
|
|
||||||
cout << "usage: HMW_test " << endl;
|
|
||||||
cout <<" -> Everything is hardwired" << endl;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
int main(int argc, char** argv)
|
int main(int argc, char** argv)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12,13 +12,6 @@
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace Cantera;
|
using namespace Cantera;
|
||||||
|
|
||||||
void printUsage()
|
|
||||||
{
|
|
||||||
cout << "usage: HMW_test " << endl;
|
|
||||||
cout <<" -> Everything is hardwired" << endl;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
int main(int argc, char** argv)
|
int main(int argc, char** argv)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,13 +11,6 @@
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace Cantera;
|
using namespace Cantera;
|
||||||
|
|
||||||
void printUsage()
|
|
||||||
{
|
|
||||||
cout << "usage: HMW_test " << endl;
|
|
||||||
cout <<" -> Everything is hardwired" << endl;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
int main(int argc, char** argv)
|
int main(int argc, char** argv)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,12 +7,6 @@ using namespace Cantera;
|
||||||
|
|
||||||
int CHECK_DEBUG_MODE = 0;
|
int CHECK_DEBUG_MODE = 0;
|
||||||
|
|
||||||
void printUsage()
|
|
||||||
{
|
|
||||||
cout << "usage: HMW_test_1 " << endl;
|
|
||||||
cout <<" -> Everything is hardwired" << endl;
|
|
||||||
}
|
|
||||||
|
|
||||||
void pAtable(HMWSoln* HMW)
|
void pAtable(HMWSoln* HMW)
|
||||||
{
|
{
|
||||||
size_t nsp = HMW->nSpecies();
|
size_t nsp = HMW->nSpecies();
|
||||||
|
|
|
||||||
|
|
@ -7,12 +7,6 @@ using namespace Cantera;
|
||||||
|
|
||||||
int CHECK_DEBUG_MODE = 0;
|
int CHECK_DEBUG_MODE = 0;
|
||||||
|
|
||||||
void printUsage()
|
|
||||||
{
|
|
||||||
cout << "usage: HMW_test_1 " << endl;
|
|
||||||
cout <<" -> Everything is hardwired" << endl;
|
|
||||||
}
|
|
||||||
|
|
||||||
void pAtable(HMWSoln* HMW)
|
void pAtable(HMWSoln* HMW)
|
||||||
{
|
{
|
||||||
size_t nsp = HMW->nSpecies();
|
size_t nsp = HMW->nSpecies();
|
||||||
|
|
|
||||||
|
|
@ -24,20 +24,6 @@
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
#ifdef DEBUG_HKM
|
|
||||||
int iDebug_HKM = 0;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*****************************************************************/
|
|
||||||
/*****************************************************************/
|
|
||||||
/*****************************************************************/
|
|
||||||
static void printUsage()
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
using namespace Cantera;
|
using namespace Cantera;
|
||||||
|
|
||||||
int main(int argc, char** argv)
|
int main(int argc, char** argv)
|
||||||
|
|
@ -45,31 +31,6 @@ int main(int argc, char** argv)
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
_set_output_format(_TWO_DIGIT_EXPONENT);
|
_set_output_format(_TWO_DIGIT_EXPONENT);
|
||||||
#endif
|
#endif
|
||||||
string infile;
|
|
||||||
// look for command-line options
|
|
||||||
if (argc > 1) {
|
|
||||||
string tok;
|
|
||||||
for (int j = 1; j < argc; j++) {
|
|
||||||
tok = string(argv[j]);
|
|
||||||
if (tok[0] == '-') {
|
|
||||||
size_t nopt = tok.size();
|
|
||||||
for (size_t n = 1; n < nopt; n++) {
|
|
||||||
if (tok[n] == 'h') {
|
|
||||||
printUsage();
|
|
||||||
exit(0);
|
|
||||||
} else {
|
|
||||||
printUsage();
|
|
||||||
exit(1);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
} else if (infile == "") {
|
|
||||||
infile = tok;
|
|
||||||
} else {
|
|
||||||
printUsage();
|
|
||||||
exit(1);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
double Tkelvin = 1200.;
|
double Tkelvin = 1200.;
|
||||||
|
|
|
||||||
|
|
@ -22,20 +22,6 @@
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
#ifdef DEBUG_HKM
|
|
||||||
int iDebug_HKM = 0;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*****************************************************************/
|
|
||||||
/*****************************************************************/
|
|
||||||
/*****************************************************************/
|
|
||||||
static void printUsage()
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
using namespace Cantera;
|
using namespace Cantera;
|
||||||
|
|
||||||
int main(int argc, char** argv)
|
int main(int argc, char** argv)
|
||||||
|
|
@ -43,31 +29,6 @@ int main(int argc, char** argv)
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
_set_output_format(_TWO_DIGIT_EXPONENT);
|
_set_output_format(_TWO_DIGIT_EXPONENT);
|
||||||
#endif
|
#endif
|
||||||
string infile;
|
|
||||||
// look for command-line options
|
|
||||||
if (argc > 1) {
|
|
||||||
string tok;
|
|
||||||
for (int j = 1; j < argc; j++) {
|
|
||||||
tok = string(argv[j]);
|
|
||||||
if (tok[0] == '-') {
|
|
||||||
size_t nopt = tok.size();
|
|
||||||
for (size_t n = 1; n < nopt; n++) {
|
|
||||||
if (tok[n] == 'h') {
|
|
||||||
printUsage();
|
|
||||||
exit(0);
|
|
||||||
} else {
|
|
||||||
printUsage();
|
|
||||||
exit(1);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
} else if (infile == "") {
|
|
||||||
infile = tok;
|
|
||||||
} else {
|
|
||||||
printUsage();
|
|
||||||
exit(1);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
double Tkelvin = 298.15;
|
double Tkelvin = 298.15;
|
||||||
|
|
|
||||||
|
|
@ -24,20 +24,6 @@
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
#ifdef DEBUG_HKM
|
|
||||||
int iDebug_HKM = 0;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*****************************************************************/
|
|
||||||
/*****************************************************************/
|
|
||||||
/*****************************************************************/
|
|
||||||
static void printUsage()
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
using namespace Cantera;
|
using namespace Cantera;
|
||||||
|
|
||||||
int main(int argc, char** argv)
|
int main(int argc, char** argv)
|
||||||
|
|
@ -45,31 +31,6 @@ int main(int argc, char** argv)
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
_set_output_format(_TWO_DIGIT_EXPONENT);
|
_set_output_format(_TWO_DIGIT_EXPONENT);
|
||||||
#endif
|
#endif
|
||||||
string infile;
|
|
||||||
// look for command-line options
|
|
||||||
if (argc > 1) {
|
|
||||||
string tok;
|
|
||||||
for (int j = 1; j < argc; j++) {
|
|
||||||
tok = string(argv[j]);
|
|
||||||
if (tok[0] == '-') {
|
|
||||||
size_t nopt = tok.size();
|
|
||||||
for (size_t n = 1; n < nopt; n++) {
|
|
||||||
if (tok[n] == 'h') {
|
|
||||||
printUsage();
|
|
||||||
exit(0);
|
|
||||||
} else {
|
|
||||||
printUsage();
|
|
||||||
exit(1);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
} else if (infile == "") {
|
|
||||||
infile = tok;
|
|
||||||
} else {
|
|
||||||
printUsage();
|
|
||||||
exit(1);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
double Tkelvin = 1200.;
|
double Tkelvin = 1200.;
|
||||||
|
|
|
||||||
|
|
@ -13,14 +13,6 @@
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace Cantera;
|
using namespace Cantera;
|
||||||
|
|
||||||
void printUsage()
|
|
||||||
{
|
|
||||||
cout << "usage: stoichSubSSTP " << endl;
|
|
||||||
cout <<" -> Everything is hardwired" << endl;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
int main(int argc, char** argv)
|
int main(int argc, char** argv)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
|
|
|
||||||
|
|
@ -22,10 +22,6 @@
|
||||||
#define MSSIZE 200
|
#define MSSIZE 200
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
#ifdef DEBUG_HKM
|
|
||||||
int iDebug_HKM = 0;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*****************************************************************/
|
/*****************************************************************/
|
||||||
/*****************************************************************/
|
/*****************************************************************/
|
||||||
/*****************************************************************/
|
/*****************************************************************/
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue