Lines Matching refs:label_values
37 …(MPI_Comm comm, const char *name, PetscInt num_label_values, PetscInt label_values[], BCDefinition… in BCDefinitionCreate() argument
48 PetscCall(PetscMalloc1(num_label_values, &bc_def_->label_values)); in BCDefinitionCreate()
49 for (PetscInt i = 0; i < num_label_values; i++) bc_def_->label_values[i] = label_values[i]; in BCDefinitionCreate()
66 if (bc_def_->label_values) PetscCall(PetscFree(bc_def_->label_values)); in BCDefinitionDestroy()
112 PetscCall(PetscViewerASCIIPrintf(viewer, " %" PetscInt_FMT, bc_def->label_values[i])); in BCDefinitionView()
159 …efinition bc_def, const char *name[], PetscInt *num_label_values, const PetscInt *label_values[]) { in BCDefinitionGetInfo() argument
166 if (label_values) { in BCDefinitionGetInfo()
168 PetscAssertPointer(label_values, 4); in BCDefinitionGetInfo()
170 *label_values = bc_def->label_values; in BCDefinitionGetInfo()
213 PetscInt num_label_values = LABEL_ARRAY_SIZE, label_values[LABEL_ARRAY_SIZE] = {0}; in PetscOptionsBCDefinition_Private() local
216 PetscCall(PetscOptionsIntArray(opt, text, man, label_values, &num_label_values, set)); in PetscOptionsBCDefinition_Private()
218 …PetscCall(BCDefinitionCreate(PetscOptionsObject->comm, name, num_label_values, label_values, bc_de… in PetscOptionsBCDefinition_Private()