Home
last modified time | relevance | path

Searched refs:num_label_values (Results 1 – 4 of 4) sorted by relevance

/honee/src/
H A Dbc_definition.c37 PetscErrorCode BCDefinitionCreate(MPI_Comm comm, const char *name, PetscInt num_label_values, Petsc… in BCDefinitionCreate() argument
47 bc_def_->num_label_values = num_label_values; in BCDefinitionCreate()
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()
110 if (bc_def->num_label_values > 0) { in BCDefinitionView()
111 for (PetscInt i = 0; i < bc_def->num_label_values; i++) { in BCDefinitionView()
159 …efinitionGetInfo(BCDefinition bc_def, const char *name[], PetscInt *num_label_values, const PetscI… in BCDefinitionGetInfo() argument
167 PetscAssertPointer(num_label_values, 3); in BCDefinitionGetInfo()
169 *num_label_values = bc_def->num_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 Dsetupdm.c96 PetscInt num_essential_comps, num_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 Dboundary_condition.c48 app_ctx->wall_forces.num_wall = bc_def->num_label_values; in BoundaryConditionSetUp()
49 PetscCall(PetscMalloc1(bc_def->num_label_values, &app_ctx->wall_forces.walls)); in BoundaryConditionSetUp()
50 …tscCall(PetscArraycpy(app_ctx->wall_forces.walls, bc_def->label_values, bc_def->num_label_values)); in BoundaryConditionSetUp()
/honee/include/
H A Dbc_definition.h26 PetscInt num_label_values, *label_values, dm_field; member
55 PetscErrorCode BCDefinitionCreate(MPI_Comm comm, const char *name, PetscInt num_label_values, Petsc…
56 …efinitionGetInfo(BCDefinition bc_def, const char *name[], PetscInt *num_label_values, const PetscI…