Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F74928360
main.cpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Jul 30, 10:54
Size
1 KB
Mime Type
text/x-c
Expires
Thu, Aug 1, 10:54 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
19457246
Attached To
R3721 ConSol
main.cpp
View Options
//
// main.cpp
// ConSol
//
// Created by Fabian Moenkeberg on 15.05.17.
// Copyright © 2017 EPFL. All rights reserved.
//
#include <iostream>
#include "Example/linearAdvectionReconstr.hpp"
#include <numeric>
#include "Utility/process_command_line.cpp"
//void process_command_line (int argc, char* argv[], int& ifile);
int main(int argc, char * argv[]) {
std::cout << "=================================================================================\n";
std::cout << " Starting ConSol solver on triangular mesh\n";
std::cout << " --- Author: Fabian Moenkeberg \n";
std::cout << " --- Date : 18 June , 2018 \n";
std::cout << "=================================================================================\n";
// Solution soln0 = linearAdvectionReconstr();
int ifile;
process_command_line (argc, argv, ifile);
Configuration config = *new Configuration(argv[ifile]);
Setup *setup = new Setup(config);
Solution soln;
soln = runSolver(config, *setup);
std::cout << "\n\n---------------Solver has finished!!----------------------\n";
return 0;
}
Event Timeline
Log In to Comment