Skip to content
Snippets Groups Projects
Commit 01aea3b2 authored by Markus Blatt's avatar Markus Blatt
Browse files

Methods need to be static. isPublic is true by default.

[[Imported from SVN: r936]]
parent df4f300e
No related branches found
No related tags found
No related merge requests found
......@@ -185,9 +185,9 @@ namespace Dune
{
typedef typename CommPolicy<T>::IndexedType IndexedType;
const IndexedType& gather(const T& vec, int i);
static const IndexedType& gather(const T& vec, int i);
void scatter(T& vec, const IndexedType& v, int i);
static void scatter(T& vec, const IndexedType& v, int i);
};
......
......@@ -76,7 +76,7 @@ namespace Dune
* @param isPublic True if the index might also be
* known to other processes.
*/
ParallelLocalIndex(size_t localIndex, const Attribute& attribute, bool isPublic);
ParallelLocalIndex(size_t localIndex, const Attribute& attribute, bool isPublic=true);
/**
* @brief Parameterless constructor.
*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment