15#include "Propagator.h"
16#include <cpc/field/FieldIo.h>
17#include <prdc/cpu/FFT.h>
18#include <prdc/cpu/RField.h>
19#include <pscf/cpu/complex.h>
21#include <cp/solvers/Mixture.tpp>
30 void Mixture<D>::eqS(FieldT& A,
double c)
const
32 const int nx = mesh().size();
34 for (
int i = 0; i < nx; ++i) {
40 void Mixture<D>::addEqV(FieldT& A, FieldT
const & B)
const
42 const int nx = mesh().size();
45 for (
int i = 0; i < nx; ++i) {
54 void Mixture<D>::allocateBlocks()
57 for (i = 0; i < nPolymer(); ++i) {
58 for (j = 0; j < polymer(i).nBlock(); ++j) {
59 polymer(i).block(j).allocate(ds());
#define UTIL_CHECK(condition)
Assertion macro suitable for serial or parallel production code.
void assign(fftw_complex &z, double const &a, double const &b)
Create an fftw_complex from real and imaginary parts, z = a + ib.
Complex periodic fields, CL-FTS (CPU).
Periodic fields and crystallography.
PSCF package top-level namespace.