hypre/drivers/ParaGrid3D/parallel3D
2000-12-15 00:21:10 +00:00
..
bioscreen.cpp All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
bioscreen.out All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
BlockMatrix.cpp All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
BlockMatrix.h All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
client_socket.cpp All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
convection_test.cpp All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
convection.cpp All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
cube.out All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
cuboid.out All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
DDMainMPI.cpp All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
debug.h All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
definitions.h All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
definitions.H All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
domain.out All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
example.cpp All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
extension_MPI.cpp All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
extension_MPI.h All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
functions.cpp All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
functions.h All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
hypre All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
in All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
layers.cpp All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
LRCube.out All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
Lshape.cpp All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
Lshape.out All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
Main.cpp All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
MainLM.cpp All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
MainPrintLM.cpp All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
makefile_blue All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
makefile_west All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
Matrix.cpp All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
Matrix.h All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
MatrixP.cpp All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
MatrixP.h All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
Memory.cpp All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
Memory.h All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
Mesh_Classes.cpp All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
Mesh_Classes.h All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
Mesh_functions.cpp All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
Mesh_mixed.cpp All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
Mesh_mixed.h All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
Mesh_Print.cpp All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
Mesh_ReadNetgen.cpp All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
Mesh_Refine.cpp All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
Mesh.cpp All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
Mesh.h All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
Method_LocalM.cpp All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
Method_Matrices.cpp All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
Method_mixed_LocalM.cpp All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
Method_mixed.cpp All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
Method_mixed.h All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
Method.cpp All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
Method.h All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
myfile.out All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
p.cpp All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
Packet.cpp All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
Packet.h All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
parallel_test.cpp All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
pgmres.cpp All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
poisson.cpp All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
pressure_bioscreen.cpp All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
pressure_conc_well.cpp All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
Problems All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
queue.cpp All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
queue.CPP All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
queue.h All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
queue.H All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
Readme.txt All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
scale.cpp All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
scaled.out All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
server.cpp All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
start All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
start_well All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
start_west All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
Subdomain_Construct.cpp All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
Subdomain_HYPRE.cpp All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
Subdomain_Refine.cpp All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
Subdomain_Refine.CPP All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
Subdomain_Solve.cpp All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
Subdomain.cpp All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
Subdomain.h All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
test2.cpp All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
test3.cpp All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
test4.cpp All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
test_mixed.cpp All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
test.cpp All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
UCube.out All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
Uniform_Mesh.cpp All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
Well.cpp All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
Well.h All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
well.out All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00
ZZ_Local_Refine.cpp All the source codes for ParaGrid3D. 2000-12-15 00:21:10 +00:00

1. In Problems we give what kind of meshes we have produced.

2. For debugging : 
  In Main.cpp include file degug.h, compile with
  "CC -g Main.cpp -lm" and debug a.out. The debugger should be started from
  emacs opened from grendel.

3. To start a problem in "functions.cpp" the file with the Problem's functions
  should be included. The functions should be, for example,  as given in file
  pressure_bioscreen.cpp. According to the mesh one should adjust the permia-
  bilities according to the mark of the layer. The used functions should be 
  declared in file "functions.h". The user shuld also set the constants Con-
  vection, Exact, Problem. There are some more constants concerning the 
  solvers that have to be adjusted. These are in "definitions.h".

4. Domain decomposition problem we start with 
  make -f makefile_dd dd
  (first setting the necessary constants, as explained above). One should see
  what options for the compiler are used in order to start mpi. We run the
  program with (for example with 4 processors):
  mpirun -np 4 dd
  There are also definitions in dd_definitions.h.

5. For Parallel computations using compiler derivatives one should unmark the
  comments concerning the parallel computations in file Main.cpp and compile
  with "make -f makefile_grendel programa" (the compilation should have at the
  end "-mp" included) - files ulocks.h and task.h have to be included.

  Using compiler directives:

#include <stdio.h>
main(){
  #pragma parallel
  {
    printf("Hello\n");
  }
}

  Set the number of threads with 
  setenv MP_SET_NUMTHREADS num
  Compile with :
  CC ....cpp -mp