1#ifndef PRDC_CPU_R_FIELD_H 
    2#define PRDC_CPU_R_FIELD_H 
   11#include <prdc/cpu/FftwDArray.h> 
   12#include <pscf/math/IntVec.h> 
   96      template <
class Archive>
 
   97      void serialize(Archive& ar, 
const unsigned int version);
 
 
  113   {  
return meshDimensions_; }
 
 
  119   template <
class Archive>
 
  123      ar & meshDimensions_;
 
 
An IntVec<D, T> is a D-component vector of elements of integer type T.
 
void serialize(Archive &ar, const unsigned int version)
Serialize a FftwDArray to/from an Archive.
 
Field of real double precision values on an FFT mesh.
 
RField()
Default constructor.
 
void serialize(Archive &ar, const unsigned int version)
Serialize a Field to/from an Archive.
 
double ElementType
Type of each array element.
 
void allocate(IntVec< D > const &meshDimensions)
Allocate the underlying C array for an FFT grid.
 
RField & operator=(const RField &other)
Assignment operator.
 
virtual void deallocate()
Deallocate memory and return to empty state.
 
const IntVec< D > & meshDimensions() const
Return mesh dimensions by constant reference.
 
virtual ~RField()
Destructor.
 
File containing preprocessor macros for error handling.
 
Fields and FFTs for periodic boundary conditions (CPU)
 
Periodic fields and crystallography.
 
PSCF package top-level namespace.