From a31a017220cdb5a421d331f81c082c51f512adab Mon Sep 17 00:00:00 2001 From: Menno Fraters Date: Fri, 14 Jun 2024 13:22:56 -0400 Subject: [PATCH] Improve ParameterHanderl get current path functions. --- include/deal.II/base/parameter_handler.h | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/include/deal.II/base/parameter_handler.h b/include/deal.II/base/parameter_handler.h index c8ff5a2dfe..bd2cbf5367 100644 --- a/include/deal.II/base/parameter_handler.h +++ b/include/deal.II/base/parameter_handler.h @@ -1274,25 +1274,28 @@ public: /** * Return the string that identifies the current path into the property - * tree. This is only a path, i.e. it is not terminated by the - * path_separator character. + * tree. The path elements are seperated by the path_separator, which is a + * '.'. This is only a path, i.e., it is not terminated by the path_separator + * character. * * This function simply calls collate_path_string() with - * @p subsection_path as argument + * @p subsection_path as argument. */ std::string get_current_path() const; /** * Given the name of an entry as argument, the function computes a full path - * into the parameter tree using the current subsection. + * into the parameter tree using the current subsection. The path elements are + * seperated by the path_separator, which is a '.'. */ std::string get_current_full_path(const std::string &name) const; /** * This function computes a full path into the parameter tree given a path - * from the current subsection and the name of an entry. + * from the current subsection and the name of an entry. The path elements are + * seperated by the path_separator, which is a '.'. */ std::string get_current_full_path(const std::vector &sub_path, -- 2.39.5