Loading...
Searching...
No Matches
null.hpp
Go to the documentation of this file.
1#pragma once
2
3/**
4 * NullIsolatedSystemCorrectionCalculator — the "no correction" scheme.
5 *
6 * Null Object implementation of IsolatedSystemCorrectionCalculator: reports
7 * an unapplied result with no terms. Selected by
8 * create_isolated_system_correction_calculator("none") so the SCF flavor can
9 * call the correction interface unconditionally instead of branching on the
10 * scheme name.
11 */
12
13#include <string>
14
16
17namespace q3 {
18
20 public:
22 compute(const NormConservingPlanewaveKohnShamSCFState& /*scf_state*/) const override {
23 return {};
24 }
25
26 [[nodiscard]] std::string name() const override {
27 return "none";
28 }
29};
30
31} // namespace q3
std::string name() const override
Scheme name as accepted by the input ("none", "makov-payne", ...).
Definition null.hpp:26
IsolatedSystemCorrectionResult compute(const NormConservingPlanewaveKohnShamSCFState &) const override
Definition null.hpp:22