* This constructor creates or opens a group depending on the value of
* @p mode. The group will be placed insided the group @p parent_group. The
* parameter @p mpi defines if the the I/O operations are serial or
- * parallel. This is an internal constructor, the functions group() and
+ * parallel. This is an internal constructor, the functions open_group() and
* create_group() should be used to open or create a group.
*/
Group(const std::string & name,
* Opens a group.
*/
Group
- group(const std::string &name);
+ open_group(const std::string &name);
/**
* Creates a group.
Group
- Group::group(const std::string &name)
+ Group::open_group(const std::string &name)
{
return Group(name, *this, mpi, GroupAccessMode::open);
}
<< data_file.get_attribute<double>("root_total") << std::endl;
// Read attributes attached to a group
- auto test_group = data_file.group("test_group");
+ auto test_group = data_file.open_group("test_group");
#ifdef DEAL_II_WITH_COMPLEX_VALUES
auto group_complex_float =
<< data_file.get_attribute<double>("root_total") << std::endl;
// Read attributes attached to a group
- auto test_group = data_file.group("test_group");
+ auto test_group = data_file.open_group("test_group");
#ifdef DEAL_II_WITH_COMPLEX_VALUES
auto group_complex_float =
deallog << "Read tests for " << container_name << "<" << type_name << ">"
<< " datasets" << std::endl;
- auto group = root_group.group(container_name + "<" + type_name + ">");
+ auto group = root_group.open_group(container_name + "<" + type_name + ">");
{
std::string dataset_name("dataset_1");
deallog << "Read tests for " << container_name << "<" << type_name << ">"
<< " datasets" << std::endl;
- auto group = root_group.group(container_name + "<" + type_name + ">");
+ auto group = root_group.open_group(container_name + "<" + type_name + ">");
{
std::string dataset_name("dataset_1");
deallog << "Read tests for " << type_name << " datasets" << std::endl;
- auto group = root_group.group(type_name);
+ auto group = root_group.open_group(type_name);
{
std::string dataset_name("dataset_1");
deallog << "Read tests for " << type_name << " datasets" << std::endl;
- auto group = root_group.group(type_name);
+ auto group = root_group.open_group(type_name);
{
std::string dataset_name("dataset_1");