ug4
|
Comm-Pol to add matrix rows of inner-interface couplings. More...
#include <communication_policies.h>
Public Member Functions | |
virtual bool | collect (ug::BinaryBuffer &buff, const Interface &interface) |
writes the interface values into a buffer that will be sent More... | |
ComPol_MatAddSetZeroInnerInterfaceCouplings (TMatrix &rMat) | |
Constructor setting the matrix. More... | |
virtual bool | extract (ug::BinaryBuffer &buff, const Interface &interface) |
writes values from a buffer into the interface More... | |
Public Member Functions inherited from pcl::ICommunicationPolicy< IndexLayout > | |
virtual bool | begin_layout_collection (const Layout *pLayout) |
signals the beginning of a layout collection. More... | |
virtual bool | begin_layout_extraction (const Layout *pLayout) |
signals the beginning of a layout extraction. More... | |
virtual void | begin_level_extraction (int level) |
signals that a new layout-level will now be processed. More... | |
virtual bool | end_layout_collection (const Layout *pLayout) |
signals the end of a layout collection More... | |
virtual bool | end_layout_extraction (const Layout *pLayout) |
signals the end of a layout extraction More... | |
virtual int | get_required_buffer_size (const Interface &interface) |
returns the size of the buffer in bytes, that will be required for interface-communication. More... | |
virtual | ~ICommunicationPolicy () |
Private Attributes | |
TMatrix & | m_rMat |
Additional Inherited Members | |
Public Types inherited from pcl::ICommunicationPolicy< IndexLayout > | |
typedef Layout::Interface | Interface |
typedef IndexLayout | Layout |
Comm-Pol to add matrix rows of inner-interface couplings.
TMatrix | matrix type |
|
inline |
Constructor setting the matrix.
|
inlinevirtual |
writes the interface values into a buffer that will be sent
Implements pcl::ICommunicationPolicy< IndexLayout >.
References pcl::OrderedInterface< TType, TContainer, TAlloc >::begin(), pcl::OrderedInterface< TType, TContainer, TAlloc >::end(), pcl::OrderedInterface< TType, TContainer, TAlloc >::get_element(), ug::Hash< TKey, TValue >::get_entry(), ug::Hash< TKey, TValue >::has_entry(), ug::Hash< TKey, TValue >::insert(), ug::ComPol_MatAddSetZeroInnerInterfaceCouplings< TMatrix >::m_rMat, PROFILE_BEGIN_GROUP, ug::Serialize(), pcl::OrderedInterface< TType, TContainer, TAlloc >::size(), and boost::target().
|
inlinevirtual |
writes values from a buffer into the interface
done
Implements pcl::ICommunicationPolicy< IndexLayout >.
References pcl::OrderedInterface< TType, TContainer, TAlloc >::begin(), ug::Deserialize(), pcl::OrderedInterface< TType, TContainer, TAlloc >::end(), pcl::OrderedInterface< TType, TContainer, TAlloc >::get_element(), ug::ComPol_MatAddSetZeroInnerInterfaceCouplings< TMatrix >::m_rMat, PROFILE_BEGIN_GROUP, pcl::OrderedInterface< TType, TContainer, TAlloc >::size(), and UG_ASSERT.
|
private |