Go to the documentation of this file.
17 #ifndef _RIPLEY_DOMAINHELPERS_H_
18 #define _RIPLEY_DOMAINHELPERS_H_
20 #include <ripley/Ripley.h>
21 #include <escript/Data.h>
25 typedef std::map<std::string, escript::Data>
DataMap;
32 DataMap::const_iterator i = mapping.find(target);
42 DataMap::const_iterator i = mapping.find(target);
43 return i != mapping.end() && !i->second.isEmpty();
50 inline void doublyLink(std::vector<ripley::IndexVector>& va,
51 std::vector<ripley::IndexVector>& vb,
int a,
int b)
61 void factorise(std::vector<int>& factors,
int product);
63 #ifdef ESYS_HAVE_BOOST_IO
67 std::vector<char> unzip(
const std::vector<char>& compressed);
68 #endif // ESYS_HAVE_BOOST_IO
72 #endif // _RIPLEY_DOMAINHELPERS_H_
bool isNotEmpty(const std::string target, const DataMap &mapping)
Definition: ripley/src/domainhelpers.h:40
Definition: ripley/src/AbstractAssembler.h:26
std::map< std::string, escript::Data > DataMap
Definition: ripley/src/domainhelpers.h:25
void factorise(std::vector< int > &factors, int product)
Definition: ripley/src/domainhelpers.cpp:29
const escript::Data unpackData(const std::string target, const DataMap &mapping)
Definition: ripley/src/domainhelpers.h:29
Definition: AbstractAssembler.cpp:19
Data represents a collection of datapoints.
Definition: Data.h:64
void factorise(std::vector< int > &factors, int product)
Definition: speckley/src/domainhelpers.cpp:30
void doublyLink(std::vector< ripley::IndexVector > &va, std::vector< ripley::IndexVector > &vb, int a, int b)
Definition: ripley/src/domainhelpers.h:50
SpeckleyException exception class.
Definition: SpeckleyException.h:31