main.cpp 490 Bytes
Newer Older
1
#include "io.h"
Thomas's avatar
Thomas committed
2
3
#include "quadrature.h"
#include <mpi.h>
4
5

int main( int argc, char** argv ) {
6

7
8
9
10
11
    MPI_Init( &argc, &argv );
    std::string inputFile = ParseArguments( argc, argv );
    Settings* settings    = ReadInputFile( inputFile );
    InitLogger( settings->GetLogDir(), spdlog::level::info, spdlog::level::info );
    PrintLogHeader( settings->GetInputFile() );
12
    Quadrature* Q = Quadrature::CreateQuadrature( "montecarlo", 10 );
13
    Q->PrintWeights();
14
15
    return EXIT_SUCCESS;
}