Go to the documentation of this file.
16 #ifndef _SPECKLEY_DOMAINHELPERS_H_
17 #define _SPECKLEY_DOMAINHELPERS_H_
19 #include <speckley/Speckley.h>
20 #include <escript/Data.h>
24 typedef std::map<std::string, escript::Data>
DataMap;
31 DataMap::const_iterator i = mapping.find(target);
41 DataMap::const_iterator i = mapping.find(target);
42 return i != mapping.end() && !i->second.isEmpty();
49 void factorise(std::vector<int>& factors,
int product);
51 #ifdef ESYS_HAVE_BOOST_IO
55 std::vector<char> unzip(
const std::vector<char>& compressed);
56 #endif // ESYS_HAVE_BOOST_IO
60 #endif // _SPECKLEY_DOMAINHELPERS_H_
Definition: AbstractAssembler.cpp:17
Data represents a collection of datapoints.
Definition: Data.h:62
escript::Data unpackData(std::string target, std::map< std::string, escript::Data > mapping)
Definition: AbstractAssembler.cpp:31
void factorise(std::vector< int > &factors, int product)
Definition: speckley/src/domainhelpers.cpp:40
std::map< std::string, escript::Data > DataMap
Definition: speckley/src/domainhelpers.h:35
bool isNotEmpty(const std::string target, const DataMap &mapping)
Definition: speckley/src/domainhelpers.h:50