示例#1
0
NodeSet::NodeSet(const Ioss::NodeSet &other)
{
  id        = other.get_property("id").get_int();
  nodeCount = other.get_property("entity_count").get_int();
  dfCount   = other.get_property("distribution_factor_count").get_int();

  std::string io_name = other.name();
  std::strncpy(name, io_name.c_str(), MAX_STR_LENGTH);
  name[MAX_STR_LENGTH] = 0;
}