SPModel: libSPModel/src/CommHandler.c File Reference
VPAC - Computational Software Development
Main | SPModel | StGermain FrameWork |
Main Page | Alphabetical List | Class List | Directories | File List | Class Members | File Members

CommHandler.c File Reference

Role:. More...

#include <mpi.h>
#include <StGermain/StGermain.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <math.h>
#include <limits.h>
#include "types.h"
#include "SurfaceMesh.h"
#include "SurfaceMeshDecomp.h"
#include "SurfaceRegularMesh.h"
#include "_Interpolator.h"
#include "LinearInterpolator.h"
#include "SplineInterpolator.h"
#include "Context.h"

Include dependency graph for CommHandler.c:

Go to the source code of this file.

Functions

void BlockingSend_LinkedList (LinkedList *list, size_t dataSize, int destination, int tag, MPI_Comm comm)
void BlockingReceive_LinkedList (LinkedList *list, size_t dataSize, int source, int tag, MPI_Comm comm, MPI_Status *status)
void NonBlockingSend_LinkedList (LinkedList *list, size_t dataSize, int destination, int tag, MPI_Comm comm, MPI_Request *requestTable, MPI_Status *statusTable)
void NonBlockingReceive_LinkedList (LinkedList *list, size_t dataSize, int source, int tag, MPI_Comm comm, MPI_Request *requestTable, MPI_Status *statusTable)
void SPModelSimulationContextExtension_Gather (void *_context)
void SPModelSimulationContextExtension_Scatter (void *_context)


Detailed Description

Role:.

Assumptions:

Id
CommHandler.c 176 2005-08-23 09:54:26Z RaquibulHassan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Definition in file CommHandler.c.


Function Documentation

void BlockingReceive_LinkedList LinkedList *  list,
size_t  dataSize,
int  source,
int  tag,
MPI_Comm  comm,
MPI_Status *  status
 

Definition at line 69 of file CommHandler.c.

Referenced by _SurfaceMeshDecomp_Execute().

void BlockingSend_LinkedList LinkedList *  list,
size_t  dataSize,
int  destination,
int  tag,
MPI_Comm  comm
 

Definition at line 48 of file CommHandler.c.

Referenced by _SurfaceMeshDecomp_Execute().

void NonBlockingReceive_LinkedList LinkedList *  list,
size_t  dataSize,
int  source,
int  tag,
MPI_Comm  comm,
MPI_Request *  requestTable,
MPI_Status *  statusTable
 

Definition at line 120 of file CommHandler.c.

Referenced by SurfaceMesh_UpdateFlows().

void NonBlockingSend_LinkedList LinkedList *  list,
size_t  dataSize,
int  destination,
int  tag,
MPI_Comm  comm,
MPI_Request *  requestTable,
MPI_Status *  statusTable
 

Definition at line 93 of file CommHandler.c.

Referenced by SurfaceMesh_UpdateFlows().

void SPModelSimulationContextExtension_Gather void *  _context  ) 
 

Definition at line 151 of file CommHandler.c.

References erosion, SPModelSimulationContextExtension_t::erosion, SPModelSimulationContextExtension_t::globalErosion, globalMesh, SPModel_Context::globalMesh, SPModelSimulationContextExtension_t::globalSedimentHistory, SPModelSimulationContextExtension_t::globalUplift, SPModelSimulationContextExtension_t::globalWater, SurfaceMesh::id, localMesh, SPModel_Context::localMesh, MASTER_PROC, SPModel_Context::meshDecomp, SurfaceMesh::myLoad, PACKAGE_TAG, _SurfaceMeshDecomp::processorLoad, sedimentHistory, SPModelSimulationContextExtension_t::sedimentHistory, simulationExt, SPModel_Simulation_ContextExtHandle, SPModelSimulationContextExtension_t::uplift, and SPModelSimulationContextExtension_t::water.

Referenced by _SPModel_Context_RedistributeNodes(), and _SPModelFileOutput_Construct().

void SPModelSimulationContextExtension_Scatter void *  _context  ) 
 

Definition at line 222 of file CommHandler.c.

References erosion, SPModelSimulationContextExtension_t::erosion, SPModelSimulationContextExtension_t::globalErosion, globalMesh, SPModel_Context::globalMesh, SPModelSimulationContextExtension_t::globalSedimentHistory, SPModelSimulationContextExtension_t::globalUplift, SPModelSimulationContextExtension_t::globalWater, SurfaceMesh::id, localMesh, SPModel_Context::localMesh, SurfaceMesh::mapGlobalToLocal, MASTER_PROC, SPModel_Context::meshDecomp, SurfaceMesh::myLoad, SurfaceMesh::numNodes, PACKAGE_TAG, SurfaceMesh::processor, sedimentHistory, SPModelSimulationContextExtension_t::sedimentHistory, simulationExt, SPModel_Simulation_ContextExtHandle, SPModelSimulationContextExtension_t::uplift, and SPModelSimulationContextExtension_t::water.

Referenced by _SPModel_Context_RedistributeNodes().