|
APBS 3.0.0
|
Oracle for Cartesian mesh data. More...
Files | |
| file | vmgrid.c |
| Class Vmgrid methods. | |
| file | vmgrid.h |
| Multiresolution oracle for Cartesian mesh data. | |
Data Structures | |
| struct | sVmgrid |
| Multiresoltion oracle for Cartesian mesh data. More... | |
Macros | |
| #define | VMGRIDMAX 20 |
| The maximum number of levels in the grid hiearchy. | |
Typedefs | |
| typedef struct sVmgrid | Vmgrid |
| Declaration of the Vmgrid class as the Vgmrid structure. | |
Functions | |
| VEXTERNC Vmgrid * | Vmgrid_ctor () |
| Construct Vmgrid object. | |
| VEXTERNC int | Vmgrid_ctor2 (Vmgrid *thee) |
| Initialize Vmgrid object. | |
| VEXTERNC int | Vmgrid_value (Vmgrid *thee, double x[3], double *value) |
| Get potential value (from mesh or approximation) at a point. | |
| VEXTERNC void | Vmgrid_dtor (Vmgrid **thee) |
| Object destructor. | |
| VEXTERNC void | Vmgrid_dtor2 (Vmgrid *thee) |
| FORTRAN stub object destructor. | |
| VEXTERNC int | Vmgrid_addGrid (Vmgrid *thee, Vgrid *grid) |
| Add a grid to the hierarchy. | |
| VEXTERNC int | Vmgrid_curvature (Vmgrid *thee, double pt[3], int cflag, double *curv) |
| Get second derivative values at a point. | |
| VEXTERNC int | Vmgrid_gradient (Vmgrid *thee, double pt[3], double grad[3]) |
| Get first derivative values at a point. | |
| VEXTERNC Vgrid * | Vmgrid_getGridByNum (Vmgrid *thee, int num) |
| Get specific grid in hiearchy. | |
| VEXTERNC Vgrid * | Vmgrid_getGridByPoint (Vmgrid *thee, double pt[3]) |
| Get grid in hiearchy which contains specified point or VNULL. | |
Oracle for Cartesian mesh data.
| #define VMGRIDMAX 20 |
Add a grid to the hierarchy.
| thee | Pointer to object to be destroyed |
| grid | Grid to be added. As mentioned above, we would prefer to have the finest grid added first, next-finest second, ..., coarsest last – this is how the grid will be searched when looking up values for points. However, this is not enforced to provide flexibility for cases where the dataset is decomposed into disjoint partitions, etc. |
| VEXTERNC Vmgrid * Vmgrid_ctor | ( | ) |
| VEXTERNC int Vmgrid_ctor2 | ( | Vmgrid * | thee | ) |
| VEXTERNC int Vmgrid_curvature | ( | Vmgrid * | thee, |
| double | pt[3], | ||
| int | cflag, | ||
| double * | curv ) |
Get second derivative values at a point.
| thee | Pointer to Vmgrid object |
| pt | Location to evaluate second derivative |
| cflag |
|
| curv | Specified curvature value |
| VEXTERNC void Vmgrid_dtor | ( | Vmgrid ** | thee | ) |
| VEXTERNC void Vmgrid_dtor2 | ( | Vmgrid * | thee | ) |
Get specific grid in hiearchy.
| thee | Pointer to Vmgrid object |
| num | Number of grid in hiearchy |
Get grid in hiearchy which contains specified point or VNULL.
| thee | Pointer to Vmgrid object |
| pt | Point to check |
| VEXTERNC int Vmgrid_gradient | ( | Vmgrid * | thee, |
| double | pt[3], | ||
| double | grad[3] ) |
| VEXTERNC int Vmgrid_value | ( | Vmgrid * | thee, |
| double | x[3], | ||
| double * | value ) |