-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.h
37 lines (30 loc) · 1.28 KB
/
header.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//
// Created by Selin Yıldırım on 8.01.2022.
//
#ifndef PAPER_IMPLEMENTATION_HEADER_H
#define PAPER_IMPLEMENTATION_HEADER_H
#include <iostream>
#include <vector>
#include <numeric> // iota
#include <fstream>
#include <cstdlib>
#include <iterator>
#include <bitset>
#include <cmath>
#include <unordered_set>
#include <algorithm> // std::sort, std::stable_sort
#include <experimental/filesystem>
using namespace std;
namespace fs = std::experimental::filesystem;
vector<string> matrix_names = {"boneS10", "Emilia_923", "ldoor", "af_5_k101", "Serena", "audikw_1"};
// ORDER: boneS10, Emilia_923, ldoor, af_5_k101, Serena, audikw_1
vector<int> matrixSize{914898, 923136, 952203 , 503625, 1391349, 943695};
// matrix SSS storage vectors
vector<double*> valuesPtrs, dvaluesPtrs;
vector<int*> colindPtrs, rowptrPtrs;
vector<int> valuesSize, dvaluesSize, colindSize, rowptrSize;
double *values_boneS10, *values_Emilia_923, *values_ldoor, *values_af_5_k101, *values_audikw_1;
double *dvalues_boneS10, *dvalues_Emilia_923, *dvalues_ldoor, *dvalues_af_5_k101, *dvalues_audikw_1;
int *rowptr_boneS10, *rowptr_Emilia_923, *rowptr_ldoor, *rowptr_af_5_k101, *rowptr_audikw_1;
int *colind_boneS10, *colind_Emilia_923, *colind_ldoor, *colind_af_5_k101, *colind_audikw_1;
#endif //PAPER_IMPLEMENTATION_HEADER_H