NetCDF4 C++ API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Test_Parallel.cpp File Reference
#include <iostream>
#include "netcdf4"
#include "TimerMPI.h"
#include "AssertEx.h"
+ Include dependency graph for Test_Parallel.cpp:

Functions

void Write (netcdf::NcVar &var, std::vector< int > const &slab_data, int const numProcesses, int const rank, int const numSlabs, int const slabEdgeSize, bool const displayDetails=false)
 
void WriteTableHeader ()
 
void WriteTableRecord (int const rank, int const slabEdgeSize, int const slabSize, int const numSlabs, int const numValues)
 
int main ()
 

Variables

char const *const fileName = "Test_Parallel.nc"
 
short const NDIMS = 3
 
short const numSlabEdgeDims = 6
 
short const slabEdgeSize [numSlabEdgeDims] = { 16, 24, 32, 48, 64, 80 }
 

Function Documentation

int main ( )
void Write ( netcdf::NcVar var,
std::vector< int > const &  slab_data,
int const  numProcesses,
int const  rank,
int const  numSlabs,
int const  slabEdgeSize,
bool const  displayDetails = false 
)
Examples:
Test_Parallel.cpp.
void WriteTableHeader ( )
Examples:
Test_Parallel.cpp.
void WriteTableRecord ( int const  rank,
int const  slabEdgeSize,
int const  slabSize,
int const  numSlabs,
int const  numValues 
)
Examples:
Test_Parallel.cpp.

Variable Documentation

char const* const fileName = "Test_Parallel.nc"
short const NDIMS = 3
Examples:
Test_Parallel.cpp.
short const numSlabEdgeDims = 6
Examples:
Test_Parallel.cpp.
short const slabEdgeSize[numSlabEdgeDims] = { 16, 24, 32, 48, 64, 80 }
Examples:
Test_Parallel.cpp.