Searched refs:num_attr (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/sys/mpiuni/ |
| H A D | mpi.c | 44 static int num_attr = 1; /* Maximal number of keyvals/attributes ever creat… variable 165 for (i = 1; i < num_attr; i++) { /* the first attribute is always in use */ in MPI_Comm_create_keyval() 171 if (num_attr >= MAX_ATTR) return MPIUni_Abort(MPI_COMM_WORLD, 1); in MPI_Comm_create_keyval() 172 keyid = num_attr++; in MPI_Comm_create_keyval() 220 if (*keyval < 0 || *keyval >= num_attr) return MPI_FAILURE; in MPI_Comm_free_keyval() 230 if (keyval < 0 || keyval >= num_attr) return MPI_FAILURE; in MPI_Comm_set_attr() 243 if (keyval < 0 || keyval >= num_attr) return MPI_FAILURE; in MPI_Comm_delete_attr() 327 for (int i = 0; i < num_attr; i++) { in MPI_Comm_free() 407 for (int j = 0; j < num_attr; ++j) { in MPI_Finalize() 412 for (int i = 1; i < num_attr; ++i) { in MPI_Finalize() [all …]
|
| /petsc/src/dm/impls/plex/exodusii/ |
| H A D | plexexodusii2.c | 1704 int num_cell_in_set, num_vertex_per_cell, num_hybrid, num_attr; in DMPlexCreateExodus() local 1722 … exoid, EX_ELEM_BLOCK, cs_id[cs], buffer, &num_cell_in_set, &num_vertex_per_cell, 0, 0, &num_attr); in DMPlexCreateExodus() 1742 … exoid, EX_ELEM_BLOCK, cs_id[cs], buffer, &num_cell_in_set, &num_vertex_per_cell, 0, 0, &num_attr); in DMPlexCreateExodus() 1752 … exoid, EX_ELEM_BLOCK, cs_id[cs], buffer, &num_cell_in_set, &num_vertex_per_cell, 0, 0, &num_attr); in DMPlexCreateExodus()
|