mirror of
https://github.com/NGSolve/netgen.git
synced 2025-04-07 13:57:28 +05:00
ARRAY -> Array
This commit is contained in:
parent
91d5c9888d
commit
3a5f9cb7d5
@ -99,7 +99,7 @@ extern MPI_Comm MPI_HIGHORDER_COMM;
|
|||||||
}
|
}
|
||||||
|
|
||||||
template <class T, int BASE>
|
template <class T, int BASE>
|
||||||
inline void MyMPI_Recv ( ARRAY <T, BASE> & s, int src)
|
inline void MyMPI_Recv ( Array <T, BASE> & s, int src)
|
||||||
{
|
{
|
||||||
MPI_Status status;
|
MPI_Status status;
|
||||||
int len;
|
int len;
|
||||||
@ -111,7 +111,7 @@ extern MPI_Comm MPI_HIGHORDER_COMM;
|
|||||||
}
|
}
|
||||||
|
|
||||||
template <class T, int BASE>
|
template <class T, int BASE>
|
||||||
inline int MyMPI_Recv ( ARRAY <T, BASE> & s)
|
inline int MyMPI_Recv ( Array <T, BASE> & s)
|
||||||
{
|
{
|
||||||
MPI_Status status;
|
MPI_Status status;
|
||||||
int len;
|
int len;
|
||||||
@ -185,7 +185,7 @@ extern MPI_Comm MPI_HIGHORDER_COMM;
|
|||||||
}
|
}
|
||||||
|
|
||||||
template <class T>
|
template <class T>
|
||||||
inline void MyMPI_Bcast (ARRAY<T, 0> & s, MPI_Comm comm = MPI_COMM_WORLD)
|
inline void MyMPI_Bcast (Array<T, 0> & s, MPI_Comm comm = MPI_COMM_WORLD)
|
||||||
{
|
{
|
||||||
int size = s.Size();
|
int size = s.Size();
|
||||||
MyMPI_Bcast (size, comm);
|
MyMPI_Bcast (size, comm);
|
||||||
@ -194,7 +194,7 @@ extern MPI_Comm MPI_HIGHORDER_COMM;
|
|||||||
}
|
}
|
||||||
|
|
||||||
template <class T>
|
template <class T>
|
||||||
inline void MyMPI_Bcast (ARRAY<T, 0> & s, int root, MPI_Comm comm = MPI_COMM_WORLD)
|
inline void MyMPI_Bcast (Array<T, 0> & s, int root, MPI_Comm comm = MPI_COMM_WORLD)
|
||||||
{
|
{
|
||||||
int id;
|
int id;
|
||||||
MPI_Comm_rank(MPI_HIGHORDER_COMM, &id);
|
MPI_Comm_rank(MPI_HIGHORDER_COMM, &id);
|
||||||
|
@ -38,12 +38,13 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
#ifdef METIS
|
#ifdef METIS
|
||||||
namespace metis { extern "C" {
|
namespace metis { extern "C" {
|
||||||
#include <metis.h>
|
#include <metis.h>
|
||||||
} }
|
} }
|
||||||
#endif
|
#endif
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
#ifndef NO_PARALLEL_THREADS
|
#ifndef NO_PARALLEL_THREADS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user