PSCF v1.4.0
fts/analyzer/ConcentrationDerivative.h
1#ifndef RP_CONCENTRATION_DERIVATIVE_H
2#define RP_CONCENTRATION_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
30 template <int D, class T>
31 class ConcentrationDerivative : public T::AverageAnalyzer
32 {
33
34 protected:
35
42 ConcentrationDerivative(typename T::Simulator& simulator,
43 typename T::System& system);
44
49
53 double compute() override;
54
55 // Aliases for base classes.
56 using AnalyzerT = typename T::Analyzer;
57 using AverageAnalyzerT = typename T::AverageAnalyzer;
58
59 // Inherited protected member functions (selected).
60 using AnalyzerT::simulator;
61 using AnalyzerT::system;
62
63 };
64
65} // namespace Rp
66} // namespace Pscf
67#endif
ConcentrationDerivative(typename T::Simulator &simulator, typename T::System &system)
Constructor.
double compute() override
Compute and return the derivative of H w/ respect to concentration.
~ConcentrationDerivative()=default
Destructor.
Class templates for real-valued periodic fields.
PSCF package top-level namespace.