mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 21:10:33 +05:00
get mpi_wrapper out of hashtable.hpp
This commit is contained in:
parent
d9d14ab4bf
commit
7d46b22f8e
@ -10,7 +10,7 @@
|
||||
#include <string>
|
||||
#include <tuple>
|
||||
|
||||
#include "mpi_wrapper.hpp"
|
||||
// #include "mpi_wrapper.hpp"
|
||||
#include "ngcore_api.hpp"
|
||||
#include "table.hpp"
|
||||
#include "utils.hpp"
|
||||
@ -1071,7 +1071,7 @@ namespace ngcore
|
||||
} // namespace ngcore
|
||||
|
||||
|
||||
|
||||
/*
|
||||
#ifdef PARALLEL
|
||||
namespace ngcore {
|
||||
template<int S, typename T>
|
||||
@ -1092,6 +1092,19 @@ namespace ngcore {
|
||||
};
|
||||
}
|
||||
#endif
|
||||
*/
|
||||
|
||||
namespace ngcore
|
||||
{
|
||||
template<typename T> struct MPI_typetrait;
|
||||
|
||||
template<int S, typename T>
|
||||
struct MPI_typetrait<INT<S, T> > {
|
||||
static auto MPIType () {
|
||||
return MPI_typetrait<std::array<T,S>>::MPIType();
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user