escript  Revision_4925
domainhelpers.h
Go to the documentation of this file.
1 #ifndef _DOMAINHELPERS_H_
2 #define _DOMAINHELPERS_H_
3 
4 #include <vector>
5 #include <ripley/Ripley.h>
6 #include <escript/Data.h>
7 
12 void factorise(std::vector<int>& factors, int product);
13 
18 void doublyLink(std::vector<ripley::IndexVector>& va,
19  std::vector<ripley::IndexVector>& vb, int a, int b);
20 
25 bool isNotEmpty(std::string target, std::map<std::string, escript::Data> mapping);
26 
27 #ifdef USE_BOOSTIO
28 
31 std::vector<char> unzip(const std::vector<char> compressed);
32 #endif
33 #endif
void doublyLink(std::vector< ripley::IndexVector > &va, std::vector< ripley::IndexVector > &vb, int a, int b)
Definition: domainhelpers.cpp:28
void factorise(std::vector< int > &factors, int product)
Definition: domainhelpers.cpp:15
bool isNotEmpty(std::string target, std::map< std::string, escript::Data > mapping)
Definition: domainhelpers.cpp:10