8#include "MaxOrderParameter.h"
10#include <rpg/system/System.h>
11#include <rpg/fts/simulator/Simulator.h>
12#include <rpg/solvers/Mixture.h>
13#include <rpg/field/Domain.h>
14#include <rpg/field/WFields.h>
15#include <rpg/field/CFields.h>
17#include <prdc/cuda/FFT.h>
18#include <prdc/cuda/RField.h>
19#include <pscf/cuda/VecOp.h>
21#include <rp/fts/analyzer/MaxOrderParameter.tpp>
50 if (!psiHost_.isAllocated()) {
51 psiHost_.allocate(kSize);
81 template class MaxOrderParameter<1, Rpg::Types<1> >;
82 template class MaxOrderParameter<2, Rpg::Types<2> >;
83 template class MaxOrderParameter<3, Rpg::Types<3> >;
void findMaximum(Array< typename Types< D >::Real > const &psi)
Evaluates maximum squared Fourier amplitude for W_{-} field.
MaxOrderParameter(Simulator< D > &simulator, System< D > &system)
Constructor.
double compute() override
Compute and return the max order parameter.
void setup() override
Setup before the start of simulation.
Field theoretic simulator (base class).
Main class, representing a complete physical system.
List of aliases for types used in the Rpg program-level namespace.
#define UTIL_CHECK(condition)
Assertion macro suitable for serial or parallel production code.
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.