Go to the documentation of this file.
16 #ifndef _RIPLEY_DOMAINHELPERS_H_
17 #define _RIPLEY_DOMAINHELPERS_H_
19 #include <ripley/Ripley.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 inline void doublyLink(std::vector<ripley::IndexVector>& va,
50 std::vector<ripley::IndexVector>& vb,
int a,
int b)
60 void factorise(std::vector<int>& factors,
int product);
62 #ifdef ESYS_HAVE_BOOST_IO
66 std::vector<char> unzip(
const std::vector<char>& compressed);
67 #endif // ESYS_HAVE_BOOST_IO
71 #endif // _RIPLEY_DOMAINHELPERS_H_
bool isNotEmpty(const std::string target, const DataMap &mapping)
Definition: ripley/src/domainhelpers.h:50
Definition: ripley/src/AbstractAssembler.h:24
std::map< std::string, escript::Data > DataMap
Definition: ripley/src/domainhelpers.h:35
void factorise(std::vector< int > &factors, int product)
Definition: ripley/src/domainhelpers.cpp:39
const escript::Data unpackData(const std::string target, const DataMap &mapping)
Definition: ripley/src/domainhelpers.h:39
Definition: AbstractAssembler.cpp:17
Data represents a collection of datapoints.
Definition: Data.h:62
void factorise(std::vector< int > &factors, int product)
Definition: speckley/src/domainhelpers.cpp:40
void doublyLink(std::vector< ripley::IndexVector > &va, std::vector< ripley::IndexVector > &vb, int a, int b)
Definition: ripley/src/domainhelpers.h:60
SpeckleyException exception class.
Definition: SpeckleyException.h:40