Correlation 4.10.0
An Analysis Tool for Liquids and for Amorphous Solids
Loading...
Searching...
No Matches
GPUSQCalculator.hpp File Reference

GPU-accelerated structure factor S(Q) calculator with CPU fallback. More...

Include dependency graph for GPUSQCalculator.hpp:

Go to the source code of this file.

Classes

class  correlation::calculators::GPUSQCalculator
 Computes S(Q) on the GPU (CUDA) with automatic CPU fallback. More...

Namespaces

namespace  correlation
namespace  correlation::calculators

Detailed Description

GPU-accelerated structure factor S(Q) calculator with CPU fallback.

License
SPDX-License-Identifier: AGPL-3.0-only

When compiled with CORRELATION_USE_CUDA, this calculator performs the plane-wave summation on an Nvidia GPU. If no compatible device is found at runtime, it transparently falls back to the CPU-based StructureFactorCalculator.