Added new mesh 3d and irregular mesh topologies
authorAmit Sharma <asharma6@uiuc.edu>
Fri, 21 Oct 2005 23:32:13 +0000 (23:32 +0000)
committerAmit Sharma <asharma6@uiuc.edu>
Fri, 21 Oct 2005 23:32:13 +0000 (23:32 +0000)
src/conv-ldb/topology.h

index b194a6e49268b0772b2f7ca3adb800660c7a2d1b..da5aebbc42f09492fa94085c0207042b2488f02f 100644 (file)
@@ -73,6 +73,16 @@ public:
   virtual void neighbors(int mype, int* _n, int &nb);
 };
 
+class LBTopo_mesh3d: public LBTopology {
+private:
+  int width;
+  int goodcoor(int, int, int);
+public:
+  LBTopo_mesh3d(int p);
+  virtual int max_neighbors();
+  virtual void neighbors(int mype, int* _n, int &nb);
+};
+
 class LBTopo_graph: public LBTopology {
 public:
   LBTopo_graph(int p): LBTopology(p) {}