OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
pdata.cpp
1/*
2 * pdata.cpp
3 *
4 * Created on: Feb 5, 2016
5 * Author: Pietro Incardona
6 */
7#include "pdata.hpp"
8#include "SubdomainGraphNodes.hpp"
9#include "memory/CudaMemory.cuh"
10
11template<> const std::string nm_v<10>::attributes::name[] = {"x","migration","computation","global_id","id","sub_id","proc_id","id","fake_v"};
12template<> const std::string nm_v<9>::attributes::name[] = {"x","migration","computation","global_id","id","sub_id","proc_id","id","fake_v"};
13template<> const std::string nm_v<7>::attributes::name[] = {"x","migration","computation","global_id","id","sub_id","proc_id","id","fake_v"};
14template<> const std::string nm_v<6>::attributes::name[] = {"x","migration","computation","global_id","id","sub_id","proc_id","id","fake_v"};
15template<> const std::string nm_v<5>::attributes::name[] = {"x","migration","computation","global_id","id","sub_id","proc_id","id","fake_v"};
16template<> const std::string nm_v<4>::attributes::name[] = {"x","migration","computation","global_id","id","sub_id","proc_id","id","fake_v"};
17template<> const std::string nm_v<3>::attributes::name[] = {"x","migration","computation","global_id","id","sub_id","proc_id","id","fake_v"};
18template<> const std::string nm_v<2>::attributes::name[] = {"x","migration","computation","global_id","id","sub_id","proc_id","id","fake_v"};
19template<> const std::string nm_v<1>::attributes::name[] = {"x","migration","computation","global_id","id","sub_id","proc_id","id","fake_v"};
20
21
22const std::string nm_e::attributes::name[] = {"communication","srcgid","dstgid"};
23const std::string nm_part_v::attributes::name[] = {"id","sub_id"};
24const std::string nm_part_e::attributes::name[] = {"id"};
25
26double tot_merge = 0.0;
27double tot_loc_merge = 0.0;
28double tot_sendrecv = 0.0;
29double tot_pack = 0.0;