Memosa-FVM  0.2
Connectivity.h
Go to the documentation of this file.
1 // This file os part of FVM
2 // Copyright (c) 2012 FVM Authors
3 // See LICENSE file for terms.
4 
5 #ifndef _CONNECTIVITY_H_
6 #define _CONNECTIVITY_H_
7 
8 #include "PyCreatable.h"
9 
10 class StorageSite;
11 
12 #include "base_public.h"
13 
14 class BASE_PUBLIC Connectivity : public PyCreatable
15 {
16 public:
17  Connectivity(const Args& args);
18  Connectivity(State state,
19  const StorageSite& rowSite, const StorageSite& colSite);
20 
21  virtual ~Connectivity();
22 
23  DECLARE_HT("Connectivity");
24  DECLARE_METHOD(createOffset);
25 
26 protected:
27  mutable StorageSite const *_rowSite;
28  mutable StorageSite const *_colSite;
29  mutable int _rowDim;
30  mutable int _colDim;
31 };
32 
33 #endif
StorageSite const * _colSite
Definition: Connectivity.h:28
StorageSite const * _rowSite
Definition: Connectivity.h:27