Searched refs:ndofs (Results 1 – 6 of 6) sorted by relevance
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | petscdmstag.pxi | 163 cdef PetscInt ndofs = PETSC_DECIDE 166 ndofs = <PetscInt>len(dofs) 167 if ndofs == 2: dof0, dof1 = dofs 168 elif ndofs == 3: dof0, dof1, dof2 = dofs 169 elif ndofs == 4: dof0, dof1, dof2, dof3 = dofs 170 if ndofs >= 2: _dof0[0] = asInt(dof0) 171 if ndofs >= 2: _dof1[0] = asInt(dof1) 172 if ndofs >= 3: _dof2[0] = asInt(dof2) 173 if ndofs >= 4: _dof3[0] = asInt(dof3) 174 return ndofs [all …]
|
| H A D | DMStag.pyx | 113 cdef PetscInt ndofs=PETSC_DECIDE, dof0=1, dof1=0, dof2=0, dof3=0 115 ndofs = asDofs(cdofs, &dof0, &dof1, &dof2, &dof3) 116 assert(ndofs==ndim+1)
|
| /petsc/src/dm/impls/network/tests/ |
| H A D | ex1.c | 95 PetscInt e, eStart, eEnd, ndofs, ndofsprev; in main() local 114 PetscCall(DMNetworkGetComponent(dm, eStart, 0, NULL, (void **)&comp, &ndofs)); in main() 116 …ndofs, PETSC_COMM_WORLD, PETSC_ERR_PLIB, "Cloning changed the Original, ndofs (previous) : %" Pets… in main()
|
| /petsc/src/ksp/ksp/tutorials/ |
| H A D | ex59.c | 994 PetscInt ndofs, its; in main() local 1038 PetscCall(VecGetSize(exact_solution, &ndofs)); in main() 1041 scalar_value = -scalar_value / (PetscScalar)ndofs; in main() 1053 scalar_value = -scalar_value / (PetscScalar)ndofs; in main() 1060 …PetscPrintf(dd.gcomm, "Number of degrees of freedom : %8" PetscInt_FMT "\n", ndofs)); in main() 1089 PetscCall(MatGetSize(F, &ndofs, NULL)); in main() 1096 scalar_value = -scalar_value / (PetscScalar)ndofs; in main() 1102 …PetscPrintf(dd.gcomm, "Number of degrees of freedom : %8" PetscInt_FMT "\n", ndofs)); in main()
|
| /petsc/src/ksp/pc/impls/fieldsplit/ |
| H A D | fieldsplit.c | 33 PetscInt ndofs; member 1088 PetscCall(PCSetCoordinates(pc_coords, jac->head->dim, jac->head->ndofs, jac->head->coords)); in PCSetUp_FieldSplit() 1091 …PetscCall(PCSetCoordinates(pc_coords, jac->head->next->dim, jac->head->next->ndofs, jac->head->nex… in PCSetUp_FieldSplit() 1098 PetscCall(PCSetCoordinates(pc_coords, ilink->dim, ilink->ndofs, ilink->coords)); in PCSetUp_FieldSplit() 3393 ilink_current->ndofs = ndofs_block; in PCSetCoordinates_FieldSplit()
|
| /petsc/src/dm/impls/plex/cgns/ |
| H A D | plexcgns2.c | 1106 PetscInt ndofs; in PetscSFFindMatchingIndices() local 1107 PetscCall(PetscSectionGetDof(matchSection_, p, &ndofs)); in PetscSFFindMatchingIndices() 1108 …PetscCheck(ndofs > 0, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "No match found for index %" PetscInt_… in PetscSFFindMatchingIndices()
|