Jafar
|
A grid in spherical coordinates theta,phi,r with dynamic slicing of theta according to phi so that all (theta,phi) cells have approximately the same area (typically only one at the poles). More...
A grid in spherical coordinates theta,phi,r with dynamic slicing of theta according to phi so that all (theta,phi) cells have approximately the same area (typically only one at the poles).
Slicing of r and phi can also optionally be dynamic with a geometric progression wrt r.
Definition at line 43 of file spaceGrid.hpp.
#include <spaceGrid.hpp>
Classes | |
struct | Index |
Public Types | |
typedef std::map< Index, Cell > ::iterator | iterator |
Public Member Functions | |
SphericalGrid (double angularRes, double distInit, double distFactor, int nDist, double phiFactor) | |
void | rebuild (double angularRes, double distInit, double distFactor, int nDist, double phiFactor) |
Cell * | getCell (jblas::vec3 pos, bool create=false) |
void | downRes (double factor) |
Public Attributes | |
std::map< Index, Cell > | map |
Protected Attributes | |
double | angularRes |
double | distInit |
double | distFactor |
int | nDist |
double | phiFactor |
Generated on Wed Oct 15 2014 00:37:46 for Jafar by doxygen 1.7.6.1 |