Skip to content
Snippets Groups Projects
Commit c2052089 authored by Peter Bastian's avatar Peter Bastian
Browse files

bug fix, dummy parallel functions

[[Imported from SVN: r3665]]
parent 0981c64c
No related branches found
No related tags found
No related merge requests found
......@@ -10,6 +10,7 @@
#include <dune/io/file/grapedataio.hh>
#include <dune/common/capabilities.hh>
#include <dune/common/interfaces.hh>
#include <dune/common/collectivecommunication.hh>
#include "../common/grid.hh"
#include "../common/referenceelements.hh"
......@@ -394,6 +395,40 @@ namespace Dune {
template <class DofManagerType>
bool communicate (DofManagerType & dm);
/** \brief ghostSize is zero for this grid */
int ghostSize (int level, int codim) const { return 0; }
/** \brief overlapSize is zero for this grid */
int overlapSize (int level, int codim) const { return 0; }
/** \brief ghostSize is zero for this grid */
int ghostSize (int codim) const { return 0; }
/** \brief overlapSize is zero for this grid */
int overlapSize (int codim) const { return 0; }
/** dummy communicate */
template<class DataHandle>
void communicate (DataHandle& data, InterfaceType iftype, CommunicationDirection dir, int level) const
{}
/** dummy communicate */
template<class DataHandle>
void communicate (DataHandle& data, InterfaceType iftype, CommunicationDirection dir) const
{}
/** dummy collective communication */
const CollectiveCommunication<ALU3dGrid>& comm () const
{
return ccobj;
}
private:
CollectiveCommunication<ALU3dGrid> ccobj;
public:
template <class T> T globalMin (T val) const ;
template <class T> T globalMax (T val) const ;
template <class T> T globalSum (T val) const ;
......
......@@ -168,7 +168,7 @@ namespace Dune {
{
assert( cd == dim );
assert( hset_.size(cd) < codimMultiplier );
return codimStart_[cd] + hset_.template getSubIndex<cd>(ep,i);
return codimStart_[cd] + hset_.template subIndex<cd>(ep,i);
}
private:
......
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