12#include <prdc/cuda/Reduce.h>
29 return (Reduce::sum(rg) / ((
double)rg.
capacity()));
Field of real double precision values on an FFT mesh.
File input/output operations and format conversions for fields.
Prdc::Cuda::RField< D > const & rgrid() const
Get the field in r-grid format.
double rGridAverage() const override
Calculate the average value of the rgrid_ member.
int capacity() const
Return allocated size.
Fields, FFTs, and utilities for periodic boundary conditions (CUDA)
Periodic fields and crystallography.
SCFT and PS-FTS with real periodic fields (GPU)
PSCF package top-level namespace.