local.den.onevol: Helper for 'local.den.engine'.

View source: R/rapt_NNDE.R

local.den.onevolR Documentation

Helper for local.den.engine.

Description

Calculates the volume of a sphere that lies inside the domain given its distance to the domain boundary in x, y, z, and its radius.

Usage

local.den.onevol(x, y, z, r, dz)

Arguments

x, y, z

Shortest distance to boundary in the x, y, and z directions, respectively.

r

Distance to nearest neighbor of interest (radius of sphere)

dz

z spacing for numeric integration


aproudian2/rapt documentation built on Dec. 15, 2022, 4:24 a.m.