mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
parallel
This commit is contained in:
parent
2261c36684
commit
b0f637862b
@ -2,7 +2,7 @@ ACLOCAL_AMFLAGS = -I m4
|
||||
|
||||
METASOURCES = AUTO
|
||||
|
||||
SUBDIRS = libsrc ng tutorials doc windows
|
||||
SUBDIRS = libsrc ng tutorials doc windows nglib
|
||||
# nglib
|
||||
# TESTS = ng/netgen -batchmode
|
||||
|
||||
|
@ -158,7 +158,7 @@ case "${TEA_WINDOWINGSYSTEM}" in
|
||||
;;
|
||||
x11)
|
||||
AC_SUBST(TOGL_WINDOWINGSYSTEM,TOGL_X11)
|
||||
TEA_ADD_LIBS([-lGL])
|
||||
TEA_ADD_LIBS([-lGL -lXmu])
|
||||
LIBGLU=-lGLU
|
||||
;;
|
||||
win32)
|
||||
|
@ -209,7 +209,6 @@ extern MPI_Comm MPI_HIGHORDER_COMM;
|
||||
if ( !size ) return;
|
||||
MPI_Bcast (&s[0], size, MyGetMPIType<T>(), root, comm);
|
||||
}
|
||||
|
||||
|
||||
template <class T, class T2>
|
||||
inline void MyMPI_Allgather (const T & send, FlatArray<T2> recv, MPI_Comm comm)
|
||||
|
@ -935,6 +935,7 @@ namespace netgen
|
||||
NgProfiler::StopTimer (timer2);
|
||||
NgProfiler::StartTimer (timer3);
|
||||
|
||||
|
||||
for (int dest = 1; dest < ntasks; dest++)
|
||||
{
|
||||
FlatArray<PointIndex> verts = verts_of_proc[dest];
|
||||
|
@ -1,14 +1,8 @@
|
||||
#include <mystdlib.h>
|
||||
|
||||
#include "meshing.hpp"
|
||||
|
||||
#define DEBUG
|
||||
|
||||
namespace netgen
|
||||
{
|
||||
|
||||
|
||||
|
||||
template <class T>
|
||||
void QuickSortRec (FlatArray<T> & data,
|
||||
int left, int right)
|
||||
@ -429,9 +423,11 @@ namespace netgen
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
*testout << "edge 2 vert:" << endl;
|
||||
for (int i = 0; i < edge2vert.Size(); i++)
|
||||
*testout << edge2vert[i][0] << " " << edge2vert[i][1] << endl;
|
||||
*/
|
||||
|
||||
for (int i = 1; i <= nse; i++)
|
||||
{
|
||||
@ -1079,35 +1075,9 @@ namespace netgen
|
||||
|
||||
face2vert.SetAllocSize (face2vert.Size());
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// face table complete
|
||||
|
||||
|
||||
|
||||
/*
|
||||
*testout << "face2vert: ";
|
||||
face2vert.PrintMemInfo(cout);
|
||||
*testout << "faces: ";
|
||||
faces.PrintMemInfo(cout);
|
||||
*testout << "hashtable: ";
|
||||
vert2face.PrintMemInfo(cout);
|
||||
*/
|
||||
|
||||
#ifdef PARALLEL
|
||||
(*testout) << " RESET Paralleltop" << endl;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user