Home
last modified time | relevance | path

Searched refs:bc (Results 1 – 25 of 34) sorted by relevance

12

/petsc/src/ksp/ksp/tutorials/output/
H A Dex70_1.out6 .... bc imposition
17 .... bc imposition
27 .... bc imposition
37 .... bc imposition
47 .... bc imposition
57 .... bc imposition
67 .... bc imposition
77 .... bc imposition
87 .... bc imposition
97 .... bc imposition
H A Dex70_1_matis.out6 .... bc imposition
17 .... bc imposition
27 .... bc imposition
37 .... bc imposition
47 .... bc imposition
57 .... bc imposition
67 .... bc imposition
77 .... bc imposition
87 .... bc imposition
97 .... bc imposition
H A Dex70_fetidp_saddlepoint.out6 .... bc imposition
18 .... bc imposition
30 .... bc imposition
42 .... bc imposition
H A Dex70_fetidp_saddlepoint_lumped.out6 .... bc imposition
18 .... bc imposition
30 .... bc imposition
42 .... bc imposition
H A Dex70_fetidp_lumped.out6 .... bc imposition
18 .... bc imposition
30 .... bc imposition
42 .... bc imposition
H A Dex70_fetidp.out6 .... bc imposition
18 .... bc imposition
30 .... bc imposition
42 .... bc imposition
/petsc/src/dm/impls/plex/
H A Dplexsection.c197 PetscInt bc; in DMPlexCreateSectionBCDof() local
202 for (bc = 0; bc < numBC; ++bc) { in DMPlexCreateSectionBCDof()
209 field = bcField[bc]; in DMPlexCreateSectionBCDof()
212 if (bcComps && bcComps[bc]) PetscCall(ISGetLocalSize(bcComps[bc], &cNc)); in DMPlexCreateSectionBCDof()
213 if (bcComps && bcComps[bc]) PetscCall(ISGetIndices(bcComps[bc], &comp)); in DMPlexCreateSectionBCDof()
214 if (bcPoints[bc]) { in DMPlexCreateSectionBCDof()
215 PetscCall(ISGetLocalSize(bcPoints[bc], &n)); in DMPlexCreateSectionBCDof()
216 PetscCall(ISGetIndices(bcPoints[bc], &idx)); in DMPlexCreateSectionBCDof()
240 PetscCall(ISRestoreIndices(bcPoints[bc], &idx)); in DMPlexCreateSectionBCDof()
242 if (bcComps && bcComps[bc]) PetscCall(ISRestoreIndices(bcComps[bc], &comp)); in DMPlexCreateSectionBCDof()
[all …]
H A Dplexsfc.c1373 for (PetscInt bc = 0, bc_match = 0; bc < 2 * dim; bc++) { in DMPlexCreateBoxMesh_Tensor_SFC_Internal() local
1374 if (bc_count[bc] == PetscPowInt(2, dim - 1)) { in DMPlexCreateBoxMesh_Tensor_SFC_Internal()
1375 PetscCall(DMPlexOrientPoint(dm, f, face_orient_dim[dim][bc])); in DMPlexCreateBoxMesh_Tensor_SFC_Internal()
1376 if (periodicity[bc / 2] == DM_BOUNDARY_PERIODIC) { in DMPlexCreateBoxMesh_Tensor_SFC_Internal()
1378 if (bc % 2 == 0) { // donor face; no label in DMPlexCreateBoxMesh_Tensor_SFC_Internal()
1379 PetscCall(PetscSegBufferGet(my_donor_faces[bc / 2], 1, &put)); in DMPlexCreateBoxMesh_Tensor_SFC_Internal()
1382 PetscCall(PetscSegBufferGet(per_faces[bc / 2], 1, &put)); in DMPlexCreateBoxMesh_Tensor_SFC_Internal()
1385 PetscCall(PetscSegBufferGet(donor_face_closure[bc / 2], num_fverts, &zput)); in DMPlexCreateBoxMesh_Tensor_SFC_Internal()
1388 switch (bc / 2) { in DMPlexCreateBoxMesh_Tensor_SFC_Internal()
1405 PetscCall(DMLabelSetValue(label, f, face_marker_dim[dim][bc])); in DMPlexCreateBoxMesh_Tensor_SFC_Internal()
/petsc/src/sys/classes/draw/interface/
H A Ddtext.c119 PetscErrorCode PetscDrawStringBoxed(PetscDraw draw, PetscReal sxl, PetscReal syl, int sc, int bc, c… in PetscDrawStringBoxed() argument
131 PetscUseTypeMethod(draw, boxedstring, sxl, syl, sc, bc, text, w, h); in PetscDrawStringBoxed()
157 PetscCall(PetscDrawLine(draw, left, top, right, top, bc)); in PetscDrawStringBoxed()
158 PetscCall(PetscDrawLine(draw, left, bottom, left, top, bc)); in PetscDrawStringBoxed()
159 PetscCall(PetscDrawLine(draw, right, bottom, right, top, bc)); in PetscDrawStringBoxed()
160 PetscCall(PetscDrawLine(draw, left, bottom, right, bottom, bc)); in PetscDrawStringBoxed()
/petsc/include/petsc/private/
H A Dsectionimpl.h38 …PetscSection bc; /* Describes constraints, point --> # local dofs which are const… member
93 if (!s->bc) { in PetscSectionCheckConstraints_Private()
94 PetscCall(PetscSectionCreate(PETSC_COMM_SELF, &s->bc)); in PetscSectionCheckConstraints_Private()
95 PetscCall(PetscSectionSetChart(s->bc, s->pStart, s->pEnd)); in PetscSectionCheckConstraints_Private()
H A Ddmimpl.h488 const PetscInt cdof = s->bc ? s->bc->atlasDof[point - s->bc->pStart] : 0; in DMGetGlobalOffset_Private()
526 const PetscInt fcdof = fs->bc ? fs->bc->atlasDof[point - fs->bc->pStart] : 0; in DMGetGlobalFieldOffset_Private()
531 ffcdof += ffs->bc ? ffs->bc->atlasDof[point - ffs->bc->pStart] : 0; in DMGetGlobalFieldOffset_Private()
/petsc/src/vec/is/section/interface/
H A Dsection.c51 (*s)->bc = NULL; in PetscSectionCreate()
676 PetscCall(PetscSectionDestroy(&s->bc)); in PetscSectionSetChart()
1124 if (s->bc) PetscCall(PetscSectionGetDof(s->bc, point, numDof)); in PetscSectionGetConstraintDof()
1149 PetscCall(PetscSectionSetDof(s->bc, point, numDof)); in PetscSectionSetConstraintDof()
1174 PetscCall(PetscSectionAddDof(s->bc, point, numDof)); in PetscSectionAddConstraintDof()
1270 if (s->bc) { in PetscSectionSetUpBC()
1271 const PetscInt last = (s->bc->pEnd - s->bc->pStart) - 1; in PetscSectionSetUpBC()
1273 PetscCall(PetscSectionSetUp(s->bc)); in PetscSectionSetUpBC()
1274 …if (last >= 0) PetscCall(PetscMalloc1(s->bc->atlasOff[last] + s->bc->atlasDof[last], &s->bcIndices… in PetscSectionSetUpBC()
1444 const PetscInt cdof = s->bc ? s->bc->atlasDof[p] : 0; in PetscSectionGetConstrainedStorageSize()
[all …]
/petsc/src/vec/is/sf/utils/
H A Dsfutils.c267 sub[1] = rootSection->bc ? PETSC_TRUE : PETSC_FALSE; in PetscSFDistributeSection()
273 sub[2 + f] = rootSection->field[f]->bc ? PETSC_TRUE : PETSC_FALSE; in PetscSFDistributeSection()
319 …Call(PetscSFBcastBegin(embedSF, MPIU_INT, &rootSection->bc->atlasDof[-rpStart], &leafSection->bc->… in PetscSFDistributeSection()
320 …scCall(PetscSFBcastEnd(embedSF, MPIU_INT, &rootSection->bc->atlasDof[-rpStart], &leafSection->bc->… in PetscSFDistributeSection()
328 …stBegin(embedSF, MPIU_INT, &rootSection->field[f]->bc->atlasDof[-rpStart], &leafSection->field[f]-… in PetscSFDistributeSection()
329 …castEnd(embedSF, MPIU_INT, &rootSection->field[f]->bc->atlasDof[-rpStart], &leafSection->field[f]-… in PetscSFDistributeSection()
345 …PetscCall(PetscSFBcastBegin(embedSF, MPIU_INT, &rootSection->bc->atlasOff[-rpStart], &rOffBc[-lpSt… in PetscSFDistributeSection()
346 …PetscCall(PetscSFBcastEnd(embedSF, MPIU_INT, &rootSection->bc->atlasOff[-rpStart], &rOffBc[-lpStar… in PetscSFDistributeSection()
347 PetscCall(PetscSFCreateSectionSF(embedSF, rootSection->bc, rOffBc, leafSection->bc, &bcSF)); in PetscSFDistributeSection()
354 …PetscCall(PetscSFBcastBegin(embedSF, MPIU_INT, &rootSection->field[f]->bc->atlasOff[-rpStart], &rO… in PetscSFDistributeSection()
[all …]
/petsc/src/ksp/ksp/tutorials/
H A Dex32.c52 PetscInt bc; in main() local
67 bc = (PetscInt)NEUMANN; in main()
68 …tionsEList("-bc_type", "Type of boundary condition", "ex29.c", bcTypes, 2, bcTypes[0], &bc, NULL)); in main()
69 user.bcType = (BCType)bc; in main()
H A Dex29.c47 PetscInt bc; in main() local
65 bc = (PetscInt)DIRICHLET; in main()
66 …tionsEList("-bc_type", "Type of boundary condition", "ex29.c", bcTypes, 2, bcTypes[0], &bc, NULL)); in main()
67 user.bcType = (BCType)bc; in main()
H A Dex36.cxx514 PetscInt bc; in InitializeOptions() local
533 bc = (PetscInt)DIRICHLET; in InitializeOptions()
551 …cOptionsEList("-bc", "Type of boundary condition", "ex36.cxx", bcTypes, 2, bcTypes[0], &bc, NULL)); in InitializeOptions()
556 user->bcType = (BCType)bc; in InitializeOptions()
H A Dex35.cxx559 PetscInt bc; in InitializeOptions() local
577 bc = (PetscInt)DIRICHLET; in InitializeOptions()
593 …cOptionsEList("-bc", "Type of boundary condition", "ex35.cxx", bcTypes, 2, bcTypes[0], &bc, NULL)); in InitializeOptions()
598 user->bcType = (BCType)bc; in InitializeOptions()
/petsc/src/snes/tutorials/
H A Dex11.c160 bcType bc; /* type of boundary conditions */ member
173 options->bc = BC_DIRICHLET; in ProcessOptions()
182 …f boundary condition", __FILE__, bcTypes, (PetscEnum)options->bc, (PetscEnum *)&options->bc, NULL)… in ProcessOptions()
194 PetscCall(PetscPrintf(comm, " boundary conditions: %s\n", bcTypes[options->bc])); in ProcessOptions()
321 if (user->bc == BC_NEUMANN) { in SetupProblem()
369 if (user->bc == BC_DIRICHLET) { in SetupProblem()
/petsc/src/ts/tutorials/hybrid/
H A Drun.sh5 tend=$(echo 0.25*$i/$total | bc -l)
/petsc/share/petsc/datafiles/meshes/
H A Dtestcase3D.cas175 (fluent-case-version-in-bc-file 241)
678 (cht/mixed-bc? #f)
3358 (prepdf/bc ((300 300 300) (#t) ((o2 0 0.233 0) (n2 0 0.767 0))))
3361 (prepdf/bc-species ("ch4" "h2" "jet-a<g>" "n2" "o2"))
3959 (mp/compress-alt-bc-maxwell? #f)
3960 (mp/compress-alt-bc? #f)
4343 (vof/oc/forced-outlet-bc? #f)
4359 (vof/open-channel-wave-bc? #f)
4610 (hyb-init/pressure-from-bc? #f)
4630 (uds/wall-bc-enforced-if-periodic? #f)
[all …]
/petsc/src/vec/is/section/interface/hdf5/
H A Dsectionhdf5.c18 hasConstraints = (s->bc) ? PETSC_TRUE : PETSC_FALSE; in PetscSectionView_HDF5_SingleField()
256 if (!s->bc) m = 0; in PetscSectionLoad_HDF5_SingleField()
257 else PetscCall(PetscSectionGetStorageSize(s->bc, &m)); in PetscSectionLoad_HDF5_SingleField()
/petsc/src/ts/tutorials/power_grid/
H A Dex6.c40 PetscInt bc; /* Boundary conditions */ member
225 if (user->bc == 0) { /* Natural boundary condition */ in BoundaryConditions()
331 if (user->bc == 0) { in IJacobian()
489 user->bc = 0; in Parameter_settings()
508 PetscCall(PetscOptionsGetInt(NULL, NULL, "-bc_type", &user->bc, &flg)); in Parameter_settings()
/petsc/src/tao/pde_constrained/tutorials/
H A Dhyperbolic.c676 Vec XX, YY, XXwork, YYwork, yi, uxi, ui, bc; in HyperbolicInitialize() local
856 PetscCall(VecDuplicate(XX, &bc)); in HyperbolicInitialize()
866 PetscCall(VecWAXPY(bc, 1.0, XXwork, YYwork)); in HyperbolicInitialize()
867 PetscCall(VecScale(bc, -50.0)); in HyperbolicInitialize()
868 PetscCall(VecExp(bc)); in HyperbolicInitialize()
869 PetscCall(VecShift(bc, 1.0)); in HyperbolicInitialize()
870 PetscCall(VecSum(bc, &sum)); in HyperbolicInitialize()
871 PetscCall(VecScale(bc, 1.0 / (h * h * sum))); in HyperbolicInitialize()
953 PetscCall(MatMult(user->M, bc, user->yiwork[0])); in HyperbolicInitialize()
1107 PetscCall(VecDestroy(&bc)); in HyperbolicInitialize()
H A Dparabolic.c659 Vec XX, YY, ZZ, XXwork, YYwork, ZZwork, UTwork, yi, di, bc; in ParabolicInitialize() local
712 PetscCall(VecDuplicate(XX, &bc)); in ParabolicInitialize()
732 PetscCall(VecSetValues(bc, 1, &linear_index, &v, INSERT_VALUES)); in ParabolicInitialize()
742 PetscCall(VecAssemblyBegin(bc)); in ParabolicInitialize()
743 PetscCall(VecAssemblyEnd(bc)); in ParabolicInitialize()
1005 PetscCall(VecCopy(bc, user->yiwork[0])); in ParabolicInitialize()
1008 PetscCall(VecDestroy(&bc)); in ParabolicInitialize()
/petsc/src/sys/classes/draw/impls/null/
H A Ddrawnull.c86 …StringBoxed_Null(PetscDraw draw, PetscReal sxl, PetscReal syl, int sc, int bc, const char text[], … in PetscDrawStringBoxed_Null() argument

12