PSCF v1.4.0
HamiltonianAnalyzer.cpp
1/*
2* PSCF - Polymer Self-Consistent Field
3*
4* Copyright 2015 - 2025, The Regents of the University of Minnesota
5* Distributed under the terms of the GNU General Public License.
6*/
7
8#include "HamiltonianAnalyzer.h" // header
9#include <rpc/fts/simulator/Simulator.h>
10#include <rpc/system/System.h>
11#include <rpc/field/Domain.h>
12#include <rpc/field/WFields.h>
13#include <rpc/field/CFields.h>
14#include <rp/fts/analyzer/HamiltonianAnalyzer.tpp> // implementation
15
16namespace Pscf {
17namespace Rpc {
18
19 // Constructor.
20 template <int D>
22 System<D>& system)
23 : Rp::HamiltonianAnalyzer< D, Types<D> >(simulator, system)
24 {}
25
26}
27}
28
29// Explicit instantiation definitions
30namespace Pscf {
31 namespace Rp {
32 template class HamiltonianAnalyzer< 1, Rpc::Types<1> >;
33 template class HamiltonianAnalyzer< 2, Rpc::Types<2> >;
34 template class HamiltonianAnalyzer< 3, Rpc::Types<3> >;
35 }
36 namespace Rpc {
37 template class HamiltonianAnalyzer<1>;
38 template class HamiltonianAnalyzer<2>;
39 template class HamiltonianAnalyzer<3>;
40 }
41}
Compute averages and output block averages of Hamiltonian components.
HamiltonianAnalyzer(Simulator< D > &simulator, System< D > &system)
Constructor.
Field theoretic simulator (base class).
A complete physical system.
Aliases for types used in the Rpc program-level namespace.
Class templates for real-valued periodic fields.
Real periodic fields, SCFT and PS-FTS (CPU).
Definition param_pc.dox:2
PSCF package top-level namespace.