1#ifndef RPC_CONCENTRATION_DERIVATIVE_H
2#define RPC_CONCENTRATION_DERIVATIVE_H
11#include "AverageAnalyzer.h"
12#include <rpc/System.h>
13#include <rpc/fts/simulator/Simulator.h>
19 template <
int D>
class System;
20 template <
int D>
class Simulator;
76 #ifndef RPC_CONCENTRATION_DERIVATIVE_TPP
Analyze averages and block averages of several real variables.
virtual void setup()
Setup before loop.
virtual void sample(long iStep)
Compute a sampled value and update the accumulator.
int nSamplePerOutput() const
Get value of nSamplePerOutput.
Simulator< D > & simulator()
Return reference to parent simulator.
virtual void output()
Write final results to file after a simulation.
System< D > & system()
Return reference to parent system.
virtual void readParameters(std::istream &in)
Read interval, outputFileName and (optionally) nSamplePerOutput.
Evaluate the derivative of H with respect to concentration.
virtual void outputValue(int step, double value)
Output a sampled or block average value.
ConcentrationDerivative(Simulator< D > &simulator, System< D > &system)
Constructor.
virtual ~ConcentrationDerivative()
Destructor.
virtual double compute()
Compute and return the derivative of H w/ respect to concentration.
Field theoretic simulator (base class).
Main class for SCFT or PS-FTS simulation of one system.
void setClassName(const char *className)
Set class name string.
PSCF package top-level namespace.
Utility classes for scientific computation.