Skip to content
Snippets Groups Projects
Commit 59023f74 authored by Oliver Sander's avatar Oliver Sander
Browse files

Deprecate the OneDGrid::communicate methods

parent 16f21e0b
No related branches found
No related tags found
1 merge request!91Various OneDGrid cleanup patches
......@@ -318,10 +318,12 @@ namespace Dune {
// dummy parallel functions
template<class DataHandle>
DUNE_DEPRECATED_MSG("communicate() is deprecated. Use the method on the LevelGridView instead.")
void communicate (DataHandle& data, InterfaceType iftype, CommunicationDirection dir, int level) const
{}
template<class DataHandle>
DUNE_DEPRECATED_MSG("communicate() is deprecated. Use the method on the LeafGridView instead.")
void communicate (DataHandle& data, InterfaceType iftype, CommunicationDirection dir) const
{}
......
......@@ -185,9 +185,7 @@ namespace Dune
void communicate ( CommDataHandleIF< DataHandleImp, DataType > &data,
InterfaceType iftype,
CommunicationDirection dir ) const
{
return grid().communicate( data, iftype, dir, level_ );
}
{}
private:
const Grid *grid_;
......@@ -360,14 +358,12 @@ namespace Dune
return grid().ghostSize(codim);
}
/** communicate data on this view */
/** \brief Communicate data on this view -- does nothing because OneDGrid is purely sequential */
template< class DataHandleImp, class DataType >
void communicate ( CommDataHandleIF< DataHandleImp, DataType > &data,
InterfaceType iftype,
CommunicationDirection dir ) const
{
return grid().communicate( data, iftype, dir );
}
{}
private:
const Grid *grid_;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment