Lines Matching refs:numDof

941 PetscErrorCode PetscSectionGetDof(PetscSection s, PetscInt point, PetscInt *numDof)  in PetscSectionGetDof()  argument
945 PetscAssertPointer(numDof, 3); in PetscSectionGetDof()
947 *numDof = s->atlasDof[point - s->pStart]; in PetscSectionGetDof()
968 PetscErrorCode PetscSectionSetDof(PetscSection s, PetscInt point, PetscInt numDof) in PetscSectionSetDof() argument
973 s->atlasDof[point - s->pStart] = numDof; in PetscSectionSetDof()
995 PetscErrorCode PetscSectionAddDof(PetscSection s, PetscInt point, PetscInt numDof) in PetscSectionAddDof() argument
1000 …PetscCheck(numDof >= 0, PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "numDof %" PetscInt_FMT " shoul… in PetscSectionAddDof()
1001 s->atlasDof[point - s->pStart] += numDof; in PetscSectionAddDof()
1023 …ErrorCode PetscSectionGetFieldDof(PetscSection s, PetscInt point, PetscInt field, PetscInt *numDof) in PetscSectionGetFieldDof() argument
1027 PetscAssertPointer(numDof, 4); in PetscSectionGetFieldDof()
1029 PetscCall(PetscSectionGetDof(s->field[field], point, numDof)); in PetscSectionGetFieldDof()
1059 …cErrorCode PetscSectionSetFieldDof(PetscSection s, PetscInt point, PetscInt field, PetscInt numDof) in PetscSectionSetFieldDof() argument
1064 PetscCall(PetscSectionSetDof(s->field[field], point, numDof)); in PetscSectionSetFieldDof()
1094 …cErrorCode PetscSectionAddFieldDof(PetscSection s, PetscInt point, PetscInt field, PetscInt numDof) in PetscSectionAddFieldDof() argument
1099 PetscCall(PetscSectionAddDof(s->field[field], point, numDof)); in PetscSectionAddFieldDof()
1119 PetscErrorCode PetscSectionGetConstraintDof(PetscSection s, PetscInt point, PetscInt *numDof) in PetscSectionGetConstraintDof() argument
1123 PetscAssertPointer(numDof, 3); in PetscSectionGetConstraintDof()
1124 if (s->bc) PetscCall(PetscSectionGetDof(s->bc, point, numDof)); in PetscSectionGetConstraintDof()
1125 else *numDof = 0; in PetscSectionGetConstraintDof()
1143 PetscErrorCode PetscSectionSetConstraintDof(PetscSection s, PetscInt point, PetscInt numDof) in PetscSectionSetConstraintDof() argument
1147 if (numDof) { in PetscSectionSetConstraintDof()
1149 PetscCall(PetscSectionSetDof(s->bc, point, numDof)); in PetscSectionSetConstraintDof()
1168 PetscErrorCode PetscSectionAddConstraintDof(PetscSection s, PetscInt point, PetscInt numDof) in PetscSectionAddConstraintDof() argument
1172 if (numDof) { in PetscSectionAddConstraintDof()
1174 PetscCall(PetscSectionAddDof(s->bc, point, numDof)); in PetscSectionAddConstraintDof()
1196 …PetscSectionGetFieldConstraintDof(PetscSection s, PetscInt point, PetscInt field, PetscInt *numDof) in PetscSectionGetFieldConstraintDof() argument
1200 PetscAssertPointer(numDof, 4); in PetscSectionGetFieldConstraintDof()
1202 PetscCall(PetscSectionGetConstraintDof(s->field[field], point, numDof)); in PetscSectionGetFieldConstraintDof()
1221 … PetscSectionSetFieldConstraintDof(PetscSection s, PetscInt point, PetscInt field, PetscInt numDof) in PetscSectionSetFieldConstraintDof() argument
1226 PetscCall(PetscSectionSetConstraintDof(s->field[field], point, numDof)); in PetscSectionSetFieldConstraintDof()
1245 … PetscSectionAddFieldConstraintDof(PetscSection s, PetscInt point, PetscInt field, PetscInt numDof) in PetscSectionAddFieldConstraintDof() argument
1250 PetscCall(PetscSectionAddConstraintDof(s->field[field], point, numDof)); in PetscSectionAddFieldConstraintDof()