Removed some dead argument-parsing code from the regression tests

This commit is contained in:
Ray Speth 2012-05-29 21:22:21 +00:00
parent d3e98fe5a8
commit 64bb2bc667
14 changed files with 0 additions and 190 deletions

View file

@ -10,13 +10,6 @@
using namespace std;
using namespace Cantera;
void printUsage()
{
cout << "usage: DH_test " << endl;
cout <<" -> Everything is hardwired" << endl;
}
int main(int argc, char** argv)
{

View file

@ -12,13 +12,6 @@
using namespace std;
using namespace Cantera;
void printUsage()
{
cout << "usage: HMW_test " << endl;
cout <<" -> Everything is hardwired" << endl;
}
int main(int argc, char** argv)
{

View file

@ -12,13 +12,6 @@
using namespace std;
using namespace Cantera;
void printUsage()
{
cout << "usage: HMW_test " << endl;
cout <<" -> Everything is hardwired" << endl;
}
int main(int argc, char** argv)
{

View file

@ -10,13 +10,6 @@
using namespace std;
using namespace Cantera;
void printUsage()
{
cout << "usage: HMW_test " << endl;
cout <<" -> Everything is hardwired" << endl;
}
int main(int argc, char** argv)
{

View file

@ -14,13 +14,6 @@
using namespace std;
using namespace Cantera;
void printUsage()
{
cout << "usage: HMW_test " << endl;
cout <<" -> Everything is hardwired" << endl;
}
int main(int argc, char** argv)
{

View file

@ -12,13 +12,6 @@
using namespace std;
using namespace Cantera;
void printUsage()
{
cout << "usage: HMW_test " << endl;
cout <<" -> Everything is hardwired" << endl;
}
int main(int argc, char** argv)
{

View file

@ -11,13 +11,6 @@
using namespace std;
using namespace Cantera;
void printUsage()
{
cout << "usage: HMW_test " << endl;
cout <<" -> Everything is hardwired" << endl;
}
int main(int argc, char** argv)
{

View file

@ -7,12 +7,6 @@ using namespace Cantera;
int CHECK_DEBUG_MODE = 0;
void printUsage()
{
cout << "usage: HMW_test_1 " << endl;
cout <<" -> Everything is hardwired" << endl;
}
void pAtable(HMWSoln* HMW)
{
size_t nsp = HMW->nSpecies();

View file

@ -7,12 +7,6 @@ using namespace Cantera;
int CHECK_DEBUG_MODE = 0;
void printUsage()
{
cout << "usage: HMW_test_1 " << endl;
cout <<" -> Everything is hardwired" << endl;
}
void pAtable(HMWSoln* HMW)
{
size_t nsp = HMW->nSpecies();

View file

@ -24,20 +24,6 @@
#include <cstdio>
using namespace std;
#ifdef DEBUG_HKM
int iDebug_HKM = 0;
#endif
/*****************************************************************/
/*****************************************************************/
/*****************************************************************/
static void printUsage()
{
}
using namespace Cantera;
int main(int argc, char** argv)
@ -45,31 +31,6 @@ int main(int argc, char** argv)
#ifdef _MSC_VER
_set_output_format(_TWO_DIGIT_EXPONENT);
#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 {
double Tkelvin = 1200.;

View file

@ -22,20 +22,6 @@
#include <cstdio>
using namespace std;
#ifdef DEBUG_HKM
int iDebug_HKM = 0;
#endif
/*****************************************************************/
/*****************************************************************/
/*****************************************************************/
static void printUsage()
{
}
using namespace Cantera;
int main(int argc, char** argv)
@ -43,31 +29,6 @@ int main(int argc, char** argv)
#ifdef _MSC_VER
_set_output_format(_TWO_DIGIT_EXPONENT);
#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 {
double Tkelvin = 298.15;

View file

@ -24,20 +24,6 @@
#include <cstdio>
using namespace std;
#ifdef DEBUG_HKM
int iDebug_HKM = 0;
#endif
/*****************************************************************/
/*****************************************************************/
/*****************************************************************/
static void printUsage()
{
}
using namespace Cantera;
int main(int argc, char** argv)
@ -45,31 +31,6 @@ int main(int argc, char** argv)
#ifdef _MSC_VER
_set_output_format(_TWO_DIGIT_EXPONENT);
#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 {
double Tkelvin = 1200.;

View file

@ -13,14 +13,6 @@
using namespace std;
using namespace Cantera;
void printUsage()
{
cout << "usage: stoichSubSSTP " << endl;
cout <<" -> Everything is hardwired" << endl;
}
int main(int argc, char** argv)
{
try {

View file

@ -22,10 +22,6 @@
#define MSSIZE 200
using namespace std;
#ifdef DEBUG_HKM
int iDebug_HKM = 0;
#endif
/*****************************************************************/
/*****************************************************************/
/*****************************************************************/