Searched refs:label_values (Results 1 – 4 of 4) sorted by relevance
| /honee/src/ |
| H A D | bc_definition.c | 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 [all …]
|
| H A D | setupdm.c | 97 const PetscInt *essential_comps, *label_values; in SetUpDM() local 103 PetscCall(BCDefinitionGetInfo(bc_def, &name, &num_label_values, &label_values)); in SetUpDM() 104 …PetscCall(DMAddBoundary(dm, DM_BC_ESSENTIAL, name, label, num_label_values, label_values, 0, num_e… in SetUpDM()
|
| H A D | boundary_condition.c | 50 …PetscCall(PetscArraycpy(app_ctx->wall_forces.walls, bc_def->label_values, bc_def->num_label_values… in BoundaryConditionSetUp()
|
| /honee/include/ |
| H A D | bc_definition.h | 26 PetscInt num_label_values, *label_values, dm_field; member 55 …(MPI_Comm comm, const char *name, PetscInt num_label_values, PetscInt label_values[], BCDefinition… 56 …Definition bc_def, const char *name[], PetscInt *num_label_values, const PetscInt *label_values[]);
|