00001 #ifdef CH_LANG_CC 00002 /* 00003 * _______ __ 00004 * / ___/ / ___ __ _ / / ___ 00005 * / /__/ _ \/ _ \/ V \/ _ \/ _ \ 00006 * \___/_//_/\___/_/_/_/_.__/\___/ 00007 * Please refer to Copyright.txt, in Chombo's root directory. 00008 */ 00009 #endif 00010 00011 #ifndef _EBELLIPTICLOADBALANCE_H_ 00012 #define _EBELLIPTICLOADBALANCE_H_ 00013 00014 #include "Box.H" 00015 #include "ProblemDomain.H" 00016 #include "Vector.H" 00017 #include "REAL.H" 00018 #include "NamespaceHeader.H" 00019 00020 class DisjointBoxLayout; 00022 00029 extern int 00030 EBEllipticLoadBalance(Vector<int>& a_proc, 00031 const Vector<Box>& a_boxes, 00032 const ProblemDomain& a_domain, 00033 bool a_verbose = false); 00034 00036 00038 extern void 00039 getPoissonLoadsAndBoxes(Vector<unsigned long long>& a_loads, 00040 Vector<Box> & a_boxes, 00041 const DisjointBoxLayout& a_dblOrig, 00042 const ProblemDomain& a_domain); 00043 00044 #include "NamespaceFooter.H" 00045 #endif