Searched refs:nCopies (Results 1 – 4 of 4) sorted by relevance
| /petsc/src/dm/dt/dualspace/impls/lagrange/tests/ |
| H A D | ex1.c | 26 …order, PetscInt formDegree, PetscBool trimmed, PetscInt tensor, PetscInt nCopies, PetscInt *nDofs); 27 …order, PetscInt formDegree, PetscBool trimmed, PetscInt tensor, PetscInt nCopies, PetscInt *nDofs); 29 … order, PetscInt formDegree, PetscBool trimmed, PetscInt tensor, PetscInt nCopies, PetscInt *nDofs) in ExpectedNumDofs_Total() argument 42 *nDofs = rnchooserk * rkm1choosek * nCopies; in ExpectedNumDofs_Total() 49 *nDofs = rnchooserk * rkchoosek * nCopies; in ExpectedNumDofs_Total() 59 *nDofs = nchoosek * rpowk * rp1pownmk * nCopies; in ExpectedNumDofs_Total() 66 *nDofs = nchoosek * rp1pown * nCopies; in ExpectedNumDofs_Total() 82 *nDofs = (tracek * fiber0 + tracekm1 * fiber1) * nCopies; in ExpectedNumDofs_Total() 87 … order, PetscInt formDegree, PetscBool trimmed, PetscInt tensor, PetscInt nCopies, PetscInt *nDofs) in ExpectedNumDofs_Interior() argument 103 *nDofs = rnchooserk * rkchoosek * nCopies; in ExpectedNumDofs_Interior() [all …]
|
| /petsc/src/dm/dt/space/impls/ptrimmed/tests/ |
| H A D | ex1.c | 5 static PetscErrorCode test(PetscInt dim, PetscInt formDegree, PetscInt degree, PetscInt nCopies) in test() argument 23 PetscCall(PetscSpaceSetNumComponents(sp, Nf * nCopies)); in test() 30 Nbexp *= nCopies; in test() 42 Bsize = npoints * Nb * Nf * nCopies; in test() 64 …for (PetscInt nCopies = 1; nCopies <= PetscMax(2, dim); nCopies++) PetscCall(test(dim, formDegree,… in main() local
|
| /petsc/src/dm/dt/space/impls/ptrimmed/ |
| H A D | spaceptrimmed.c | 68 PetscInt nCopies = sp->Nc / Nf; in PetscSpaceSetUp_Ptrimmed() local 77 PetscCall(PetscSpaceSumSetNumSubspaces(sp, nCopies)); in PetscSpaceSetUp_Ptrimmed() 95 for (PetscInt i = 0; i < nCopies; i++) PetscCall(PetscSpaceSumSetSubspace(sp, i, subsp)); in PetscSpaceSetUp_Ptrimmed()
|
| /petsc/src/dm/dt/dualspace/impls/lagrange/ |
| H A D | dspacelagrange.c | 2705 PetscInt nCopies = Nc / lag->intNodeIndices->nodeVecDim; in PetscDualSpaceGetSymmetries_Lagrange() local 2715 …PetscCheck(lag->intNodeIndices->nodeVecDim * nCopies == Nc, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Node… in PetscDualSpaceGetSymmetries_Lagrange() 2716 …PetscCheck(nNodes * nCopies == spintdim, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Node indices incompatib… in PetscDualSpaceGetSymmetries_Lagrange() 2742 …PetscCheck(perm[cols[j] * nCopies] < 0, PETSC_COMM_SELF, PETSC_ERR_ARG_INCOMP, "This dual space ha… in PetscDualSpaceGetSymmetries_Lagrange() 2743 for (k = 0; k < nCopies; k++) perm[cols[j] * nCopies + k] = i * nCopies + k; in PetscDualSpaceGetSymmetries_Lagrange() 2745 for (k = 0; k < nCopies; k++) flips[i * nCopies + k] = -1.; in PetscDualSpaceGetSymmetries_Lagrange() 2747 for (k = 0; k < nCopies; k++) flips[i * nCopies + k] = 1.; in PetscDualSpaceGetSymmetries_Lagrange()
|