Searched refs:num_label_values (Results 1 – 4 of 4) sorted by relevance
| /libCEED/examples/fluids/src/ |
| H A D | bc_definition.c | 18 PetscErrorCode BCDefinitionCreate(const char *name, PetscInt num_label_values, PetscInt label_value… in BCDefinitionCreate() argument 23 (*bc_def)->num_label_values = num_label_values; in BCDefinitionCreate() 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 …efinitionGetInfo(BCDefinition bc_def, const char *name[], PetscInt *num_label_values, const PetscI… in BCDefinitionGetInfo() argument 41 *num_label_values = bc_def->num_label_values; in BCDefinitionGetInfo() 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() 100 if (num_label_values > 0) { in PetscOptionsBCDefinition_Private() 101 PetscCall(BCDefinitionCreate(name, num_label_values, label_values, bc_def)); in PetscOptionsBCDefinition_Private()
|
| H A D | boundary_condition.c | 52 app_ctx->wall_forces.num_wall = bc_def->num_label_values; in BoundaryConditionSetUp() 53 PetscCall(PetscMalloc1(bc_def->num_label_values, &app_ctx->wall_forces.walls)); in BoundaryConditionSetUp() 54 …tscCall(PetscArraycpy(app_ctx->wall_forces.walls, bc_def->label_values, bc_def->num_label_values)); in BoundaryConditionSetUp()
|
| H A D | setupdm.c | 58 PetscInt num_essential_comps, num_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()
|
| /libCEED/examples/fluids/include/ |
| H A D | bc_definition.h | 17 PetscInt num_label_values, *label_values, dm_field; member 40 PetscErrorCode BCDefinitionCreate(const char *name, PetscInt num_label_values, PetscInt label_value… 41 …efinitionGetInfo(BCDefinition bc_def, const char *name[], PetscInt *num_label_values, const PetscI…
|