CG  Version 25
Macros | Functions
ProbeInfo.C File Reference
#include "ProbeInfo.h"
#include "GenericGraphicsInterface.h"
#include "HDF_DataBase.h"
#include "Parameters.h"
#include "BodyForce.h"
#include "UnstructuredMapping.h"
Include dependency graph for ProbeInfo.C:

Macros

#define bb(side, axis)   boundingBox[(side)+2*(axis)]
 

Functions

int getClosestGridPoint (CompositeGrid &cg, RealArray &points, IntegerArray &gridLocation)
 Compute the closest grid point to each of a set of points in space.
 

Macro Definition Documentation

#define bb (   side,
  axis 
)    boundingBox[(side)+2*(axis)]

Function Documentation

int getClosestGridPoint ( CompositeGrid &  cg,
RealArray &  points,
IntegerArray &  gridLocation 
)

Compute the closest grid point to each of a set of points in space.

: this function is used for examples to compute the closest grid points for probes.

Parameters
points(0:numPoints,0:d-1)(input) : coordinates of points to check.
gridLocation(0:numPoints,0:3)(output) : (i1,i2,i3,grid) closest grid and point.

References a, assert(), axis, grid, i, i1, i2, i3, j, mask, mg, ok, printF(), r, and x.

Referenced by ProbeInfo::update().