|
CG
Version 25
|
#include "ProbeInfo.h"#include "GenericGraphicsInterface.h"#include "HDF_DataBase.h"#include "Parameters.h"#include "BodyForce.h"#include "UnstructuredMapping.h"
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. | |
| 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.
| 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().
1.8.3