escript  Revision_
domainhelpers.h
Go to the documentation of this file.
00001 #ifndef _DOMAINHELPERS_H_
00002 #define _DOMAINHELPERS_H_
00003 
00004 #include <vector>
00005 #include <ripley/Ripley.h>
00006 #include <escript/Data.h>
00007 
00012 void factorise(std::vector<int>& factors, int product);
00013 
00018 void doublyLink(std::vector<ripley::IndexVector>& va,
00019         std::vector<ripley::IndexVector>& vb, int a, int b);
00020 
00025 bool isNotEmpty(std::string target, std::map<std::string, escript::Data> mapping);
00026 
00027 #ifdef USE_BOOSTIO
00028 
00031 std::vector<char> unzip(const std::vector<char> compressed);
00032 #endif
00033 #endif