hypre/drivers/ParaGrid3D/parallel3D/MainPrintLM.cpp
2000-12-15 00:21:10 +00:00

25 lines
408 B
C++

#include <iostream.h>
#include <stdio.h>
#include "definitions.h"
#include "Method_mixed.h"
int Pressure = 1;
real convection[3];
int main(int argc, char *argv[]){
char fname[100];
if (argc != 2){
printf("Start the program with : mixed input_file\n");
exit(1);
}
strcpy(fname, argv[1]);
MethodMixed m(fname);
printf("Total volume = %f\n", m.volume());
m.PrintLocalMatrices();
}