Commit d36bc10a authored by BRAMAS Berenger's avatar BRAMAS Berenger

Make the P2P remote not abstract but with a warning message if it is used without being implemented

parent c9a08d85
......@@ -13,6 +13,7 @@
#include "../Utils/FGlobal.hpp"
#include "../Utils/FDebug.hpp"
/**
* @author Berenger Bramas (berenger.bramas@inria.fr)
......@@ -110,7 +111,9 @@ public:
*/
virtual void P2PRemote(const FTreeCoordinate& inLeafPosition,
ContainerClass* const FRestrict targets, const ContainerClass* const FRestrict sources,
ContainerClass* const directNeighborsParticles[27], const int size) { std::cout << "Error, implement P2PRemote!" << std::endl; };
ContainerClass* const directNeighborsParticles[27], const int size) {
FDEBUG( FDebug::Controller.write("Warning, P2P remote is used but not implemented!").write(FDebug::Flush) );
}
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment