PSCF v1.4.0
fts/analyzer/CubicLengthDerivative.h
1#ifndef RP_CUBIC_LENGTH_DERIVATIVE_H
2#define RP_CUBIC_LENGTH_DERIVATIVE_H
3
4/*
5* PSCF - Polymer Self-Consistent Field
6*
7* Copyright 2015 - 2025, The Regents of the University of Minnesota
8* Distributed under the terms of the GNU General Public License.
9*/
10
11namespace Pscf {
12namespace Rp {
13
20 template <int D, class T>
21 class CubicLengthDerivative : public T::AverageAnalyzer
22 {
23
24 protected:
25
29 CubicLengthDerivative(typename T::Simulator& simulator,
30 typename T::System& system);
31
36
40 double compute() override;
41
42 using AverageAnalyzerT = typename T::AverageAnalyzer;
43 using AverageAnalyzerT::simulator;
44 using AverageAnalyzerT::system;
45 using AverageAnalyzerT::outputFile_;
46
47 };
48
49}
50}
51#endif
~CubicLengthDerivative()=default
Destructor.
double compute() override
Compute and return the derivative of H w/ respect to L.
CubicLengthDerivative(typename T::Simulator &simulator, typename T::System &system)
Constructor.
Class templates for real-valued periodic fields.
PSCF package top-level namespace.