Skip to content

Commit 9371cab

Browse files
committed
pr comments
1 parent 57f601d commit 9371cab

File tree

5 files changed

+7
-9
lines changed

5 files changed

+7
-9
lines changed

pyphare/pyphare/pharein/simulation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ def check_directory(directory, key):
481481
# diag_options = {"format":"phareh5", "options": {"dir": "phare_ouputs/"}}
482482
def check_diag_options(**kwargs):
483483
diag_options = kwargs.get("diag_options", None)
484-
formats = ["phareh5", "pharevtkh5"]
484+
formats = ["phareh5", "pharevtkhdf"]
485485
if diag_options is not None and "format" in diag_options:
486486
if diag_options["format"] not in formats:
487487
raise ValueError("Error - diag_options format is invalid")

src/core/data/tensorfield/tensorfield.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,6 @@ class TensorField
205205

206206
NO_DISCARD auto& componentNames() const { return componentNames_; }
207207
NO_DISCARD auto& physicalQuantity() const { return qty_; }
208-
NO_DISCARD auto constexpr static size() { return N; }
209-
210208
NO_DISCARD auto static constexpr size() { return N; }
211209

212210
private:

src/diagnostic/diagnostics.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ struct DiagnosticsManagerResolver
5656
PHARE_LOG_LINE_SS(format);
5757
if (format == "phareh5")
5858
return DiagnosticsManager<h5::H5Writer<ModelView_t>>::make_unique(hier, model, dict);
59-
if (format == "pharevtkh5")
59+
if (format == "pharevtkhdf")
6060
return DiagnosticsManager<vtkh5::H5Writer<ModelView_t>>::make_unique(hier, model, dict);
6161
throw std::runtime_error("DiagnosticsManagerResolver - unknown format " + format);
6262
#else

src/hdf5/detail/h5/h5_file.hpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -252,10 +252,10 @@ class HighFiveFile
252252
return h5file_.getDataSet(s);
253253
}
254254

255-
HighFiveFile(HighFiveFile const&) = delete;
256-
HighFiveFile(HighFiveFile const&&) = delete;
257-
HighFiveFile& operator=(HighFiveFile const&) = delete;
258-
HighFiveFile& operator=(HighFiveFile const&&) = delete;
255+
HighFiveFile(HighFiveFile const&) = delete;
256+
HighFiveFile(HighFiveFile const&&) = delete;
257+
HighFiveFile& operator=(HighFiveFile&) = delete;
258+
HighFiveFile& operator=(HighFiveFile&&) = delete;
259259

260260
private:
261261
HighFive::FileAccessProps fapl_;

tests/simulator/test_vtk_diagnostics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ def test_dump_diags(self, ndim, interp, simInput):
171171

172172
local_out = self.unique_diag_dir_for_test_case(f"{out}/test_vtk", ndim, interp)
173173
simInput["diag_options"]["options"]["dir"] = local_out
174-
simInput["diag_options"]["format"] = "pharevtkh5"
174+
simInput["diag_options"]["format"] = "pharevtkhdf"
175175
simulation = ph.Simulation(**simInput)
176176
self.assertTrue(len(simulation.cells) == ndim)
177177
dump_all_diags(setup_model().populations)

0 commit comments

Comments
 (0)