diff options
author | Erik Schnetter <schnetter@aei.mpg.de> | 2005-01-02 17:35:00 +0000 |
---|---|---|
committer | Erik Schnetter <schnetter@aei.mpg.de> | 2005-01-02 17:35:00 +0000 |
commit | 103155822be34d975e307666930595c53a3a9f3c (patch) | |
tree | 3d77bfcab9cb51f5de0911f3c8dba6940778264a /Carpet/CarpetLib/src/data.hh | |
parent | a9e01192b2b3064c7fa4d3330ea3a68c3c69b80e (diff) |
CarpetLib: Add lightweight communication buffers (untested)
Lightweight communication buffers use essentially only a vector<T>
instead of a data<T> to transfer data between processors. This should
reduce the computational overhead.
Set the parameter "use_lightweight_buffers" to use this feature. This
feature is completely untested.
darcs-hash:20050102173524-891bb-6a3999cbd63e367c8520c175c8078374d294eaa8.gz
Diffstat (limited to 'Carpet/CarpetLib/src/data.hh')
-rw-r--r-- | Carpet/CarpetLib/src/data.hh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Carpet/CarpetLib/src/data.hh b/Carpet/CarpetLib/src/data.hh index 7eea2c867..27b91acfb 100644 --- a/Carpet/CarpetLib/src/data.hh +++ b/Carpet/CarpetLib/src/data.hh @@ -107,6 +107,24 @@ public: assert (_storage); return _storage[offset(index)]; } + +protected: + virtual void + copy_from_recv_inner (comm_state& state, + const gdata* src, + const ibbox& box); + virtual void + copy_from_send_inner (comm_state& state, + const gdata* src, + const ibbox& box); + virtual void + copy_from_recv_wait_inner (comm_state& state, + const gdata* src, + const ibbox& box); + virtual void + copy_from_send_wait_inner (comm_state& state, + const gdata* src, + const ibbox& box); // Data manipulators private: |