Function green_kernels::c_abi::green_kernel_evaluate

source ·
#[no_mangle]
pub unsafe extern "C" fn green_kernel_evaluate(
    kernel_p: *mut GreenKernelEvaluator,
    eval_type: GreenKernelEvalType,
    nsources: usize,
    ntargets: usize,
    sources: *const c_void,
    targets: *const c_void,
    charges: *const c_void,
    result: *mut c_void,
    multithreaded: bool,
)
Expand description

Evaluate a kernel.

§Safety

Pointer must be valid.