#include "bsp_5_2_lib.h" #include #include using namespace std; // BSP 5_2 int main() { const string name1("data_1.txt"); // name of input file const string name2("out.txt"); // name of output file vector v; read_vector_from_file(name1, v); float a, g, h, d, aex, gex, hex, dex, minvex, maxvex, control1(0); int minvp, maxvp, control2(0); int NLOOPS = 100000; // testing parallel double tstart1 = omp_get_wtime(); for(int i=0; i ve{a,g,h,d,minvp,maxvp}; write_vector_to_file(name2, ve); return 0; }