12#include <pscf/math/IntVec.h>
88 template <
class Archive>
89 void serialize(Archive& ar,
const unsigned int version);
103 {
return meshDimensions_; }
109 template <
class Archive>
113 ar & meshDimensions_;
116 #ifndef PSPC_R_FIELD_TPP
Base class template for a field defined on a spatial grid.
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 Field to/from an Archive.
Field of real double precision values on an FFT mesh.
RField & operator=(const RField &other)
Assignment operator.
const IntVec< D > & meshDimensions() const
Return mesh dimensions by constant reference.
virtual ~RField()
Destructor.
RField()
Default constructor.
void serialize(Archive &ar, const unsigned int version)
Serialize a Field to/from an Archive.
void allocate(const IntVec< D > &meshDimensions)
Allocate the underlying C array for an FFT grid.
File containing preprocessor macros for error handling.
C++ namespace for polymer self-consistent field theory (PSCF).
Utility classes for scientific computation.