Searched refs:label_values (Results 1 – 4 of 4) sorted by relevance
| /libCEED/examples/fluids/src/ |
| H A D | bc_definition.c | 18 …efinitionCreate(const char *name, PetscInt num_label_values, PetscInt label_values[], BCDefinition… in BCDefinitionCreate() argument 24 PetscCall(PetscMalloc1(num_label_values, &(*bc_def)->label_values)); in BCDefinitionCreate() 25 for (PetscInt i = 0; i < num_label_values; i++) (*bc_def)->label_values[i] = label_values[i]; in BCDefinitionCreate() 37 …efinition bc_def, const char *name[], PetscInt *num_label_values, const PetscInt *label_values[]) { in BCDefinitionGetInfo() argument 40 if (label_values) { in BCDefinitionGetInfo() 42 *label_values = bc_def->label_values; in BCDefinitionGetInfo() 55 if ((*bc_def)->label_values) PetscCall(PetscFree((*bc_def)->label_values)); in BCDefinitionDestroy() 96 PetscInt num_label_values = LABEL_ARRAY_SIZE, label_values[LABEL_ARRAY_SIZE] = {0}; in PetscOptionsBCDefinition_Private() local 99 PetscCall(PetscOptionsIntArray(opt, text, man, label_values, &num_label_values, set)); in PetscOptionsBCDefinition_Private() 101 PetscCall(BCDefinitionCreate(name, num_label_values, label_values, bc_def)); in PetscOptionsBCDefinition_Private()
|
| H A D | setupdm.c | 59 const PetscInt *essential_comps, *label_values; in SetUpDM() local 64 PetscCall(BCDefinitionGetInfo(bc_def, &name, &num_label_values, &label_values)); in SetUpDM() 65 …PetscCall(DMAddBoundary(dm, DM_BC_ESSENTIAL, name, label, num_label_values, label_values, 0, num_e… in SetUpDM()
|
| H A D | boundary_condition.c | 54 …PetscCall(PetscArraycpy(app_ctx->wall_forces.walls, bc_def->label_values, bc_def->num_label_values… in BoundaryConditionSetUp()
|
| /libCEED/examples/fluids/include/ |
| H A D | bc_definition.h | 17 PetscInt num_label_values, *label_values, dm_field; member 40 …efinitionCreate(const char *name, PetscInt num_label_values, PetscInt label_values[], BCDefinition… 41 …Definition bc_def, const char *name[], PetscInt *num_label_values, const PetscInt *label_values[]);
|