1.4.0
CCC
 
SpatialIndices.cpp File Reference

Functions

static void _updateGravityCenter (const VectorDouble &xxs, const VectorDouble &yys, const VectorDouble &zzs, const VectorDouble &wws, std::vector< SpacePoint > &centers, VectorDouble &pa, VectorDouble &pb, VectorInt &ig, int found)
 
static SpacePoint _calculateGlobalGravityCenter (const VectorDouble &xxs, const VectorDouble &yys, const VectorDouble &zzs, const VectorDouble &wws, double *patot, double *pbtot)
 
static void _createNewPatch (int iech, const VectorDouble &xxs, const VectorDouble &yys, const VectorDouble &zzs, const VectorDouble &wws, std::vector< SpacePoint > &centers, VectorDouble &pa, VectorDouble &pb)
 

Function Documentation

◆ _calculateGlobalGravityCenter()

static SpacePoint _calculateGlobalGravityCenter ( const VectorDouble xxs,
const VectorDouble yys,
const VectorDouble zzs,
const VectorDouble wws,
double *  patot,
double *  pbtot 
)
static

◆ _createNewPatch()

static void _createNewPatch ( int  iech,
const VectorDouble xxs,
const VectorDouble yys,
const VectorDouble zzs,
const VectorDouble wws,
std::vector< SpacePoint > &  centers,
VectorDouble pa,
VectorDouble pb 
)
static

◆ _updateGravityCenter()

static void _updateGravityCenter ( const VectorDouble xxs,
const VectorDouble yys,
const VectorDouble zzs,
const VectorDouble wws,
std::vector< SpacePoint > &  centers,
VectorDouble pa,
VectorDouble pb,
VectorInt ig,
int  found 
)
static