1#ifndef RPC_LR_POST_AM_COMPRESSOR_H
2#define RPC_LR_POST_AM_COMPRESSOR_H
11#include "Compressor.h"
12#include <rpc/fts/compressor/IntraCorrelation.h>
13#include <prdc/cpu/RField.h>
14#include <prdc/cpu/RFieldDft.h>
15#include <pscf/iterator/AmIteratorTmpl.h>
20 template <
int D>
class System;
72 void setup(
bool isContinuation);
197 bool hasInitialGuess();
243 double computeLambda(
double r);;
253 bool isIntraCalculated_;
265 #ifndef RPC_LR_POST_AM_COMPRESSOR_TPP
An IntVec<D, T> is a D-component vector of elements of integer type T.
Fourier transform of a real field on an FFT mesh.
Field of real double precision values on an FFT mesh.
Base class for iterators that impose incompressibility.
Intramolecular correlation analysis for LR compressors.
Anderson Mixing compressor with linear-response mixing step.
void readParameters(std::istream &in)
Read all parameters and initialize.
~LrAmCompressor()
Destructor.
LrAmCompressor(System< D > &system)
Constructor.
void outputTimers(std::ostream &out) const
Return compressor times contributions.
void clearTimers()
Clear all timers (reset accumulated time to zero).
void setup(bool isContinuation)
Initialize just before entry to iterative loop.
int compress()
Compress to obtain partial saddle point w+.
Main class, representing one complete system.
Dynamically allocatable contiguous array template.
ScalarParam< Type > & readOptional(std::istream &in, const char *label, Type &value)
Add and read a new optional ScalarParam < Type > object.
Class for storing history of previous values in an array.
Fields and FFTs for periodic boundary conditions (CPU)
Periodic fields and crystallography.
Real periodic fields, SCFT and PS-FTS (CPU).
PSCF package top-level namespace.