13#include "Propagator.h"
14#include <rpg/field/FieldIo.h>
15#include <prdc/cuda/FFT.h>
16#include <prdc/cuda/RField.h>
17#include <pscf/cuda/VecOp.h>
19#include <rp/solvers/Mixture.tpp>
41 RpMixtureT::readParameters(in);
44 useBatchedFFT_ =
true;
52 void Mixture<D>::allocateBlocks()
54 const double ds = RpMixtureT::ds();
57 for (i = 0; i < np; ++i) {
58 for (j = 0; j < polymer(i).nBlock(); ++j) {
59 polymer(i).block(j).allocate(ds, useBatchedFFT_);
int nPolymer() const
Get number of polymer species.
Solvers for a mixture of polymer and solvent species.
Solver and descriptor for a mixture of polymers and solvents.
Solver and descriptor for a mixture of polymers and solvents.
void readParameters(std::istream &in) override
Read body of parameter file block and initialize.
Solver and descriptor for a solvent species.
List of aliases for types used in the Rpg program-level namespace.
ScalarParam< Type > & readOptional(std::istream &in, const char *label, Type &value)
Add and read a new optional ScalarParam < Type > object.
Periodic fields and crystallography.
Class templates for real-valued periodic fields.
SCFT and PS-FTS with real periodic fields (GPU)
PSCF package top-level namespace.