![]() |
Timothy
0.9
Tissue Modelling Framework
|
contains functions that build the computational grid More...
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <inttypes.h>
#include "global.h"
#include "fields.h"
Go to the source code of this file.
Functions | |
void | computeGridSize () |
void | allocateGrid () |
contains functions that build the computational grid
Definition in file grid.c.
void allocateGrid | ( | ) |
This function allocates grid arrays.
Definition at line 81 of file grid.c.
References grid, gridBuffer, gridEndIdx, gridResolution, gridSize, gridStartIdx, MPIcoords, MPIrank, MPIsize, sdim, stopRun(), int64Vector3d::x, int64Vector3d::y, and int64Vector3d::z.
void computeGridSize | ( | ) |
This function computes the sizes of the grid.
Definition at line 38 of file grid.c.
References boxVolume, csize, csizeInUnits, gfH, globalGridSize, gridI, gridJ, gridK, gridResolution, gridSize, MPIdim, MPIrank, nx, ny, nz, sdim, upperGridCorner, doubleVector3d::x, int64Vector3d::x, doubleVector3d::y, int64Vector3d::y, doubleVector3d::z, and int64Vector3d::z.