From 7409ad4632b219e20d26a9dad9207c19a86dfccf Mon Sep 17 00:00:00 2001 From: Patrick Shriwise Date: Tue, 16 Jul 2019 10:12:24 -0500 Subject: [PATCH] Some doc strings for new capi functions. --- src/cell.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cell.cpp b/src/cell.cpp index a9c40ac24b..1242c650f5 100644 --- a/src/cell.cpp +++ b/src/cell.cpp @@ -1083,6 +1083,7 @@ openmc_cell_get_temperature(int32_t index, const int32_t* instance, double* T) return 0; } +//! Get the name of a cell extern "C" int openmc_cell_get_name(int32_t index, const char*& name) { if (index < 0 || index >= model::cells.size()) { @@ -1095,6 +1096,7 @@ openmc_cell_get_name(int32_t index, const char*& name) { return 0; } +//! Set the name of a cell extern "C" int openmc_cell_set_name(int32_t index, const char* name) { if (index < 0 || index >= model::cells.size()) {