/[escript]/trunk/ripley/src/domainhelpers.h
ViewVC logotype

Contents of /trunk/ripley/src/domainhelpers.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4722 - (show annotations)
Wed Mar 5 05:29:25 2014 UTC (5 years, 1 month ago) by sshaw
File MIME type: text/plain
File size: 278 byte(s)
vastly decreased ripley domain setup time under MPI (approximately from O(n*m) to O(n+m), n being shared nodes, m being the rank DOF)
1 #ifndef _DOMAINHELPERS_H_
2 #define _DOMAINHELPERS_H_
3
4 #include <vector>
5 #include <ripley/Ripley.h>
6
7 void factorise(std::vector<int>& factors, int product);
8
9 void doublyLink(std::vector<ripley::IndexVector>& va,
10 std::vector<ripley::IndexVector>& vb, int a, int b);
11 #endif

  ViewVC Help
Powered by ViewVC 1.1.26