Loading...
Searching...
No Matches
null.hpp
Go to the documentation of this file.
1#pragma once
2
3/**
4 * NullInterpolationExporter — the "none" format: writes nothing, so a call
5 * site can export unconditionally and never branch on whether an export was
6 * requested.
7 */
8
9#include <string>
10
12
13namespace q3 {
14
16 public:
18 const std::string& /*directory*/,
19 const std::string& /*prefix*/) const override {}
20
21 [[nodiscard]] std::string name() const override {
22 return "none";
23 }
24};
25
26} // namespace q3
void export_to_directory(const InterpolationRecord &, const std::string &, const std::string &) const override
Definition null.hpp:17
std::string name() const override
Format name as accepted by the input ("none", "wannier90", ...).
Definition null.hpp:21