Searched refs:nDofs (Results 1 – 2 of 2) 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 34 *nDofs = -1; in ExpectedNumDofs_Total() 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 [all …]
|
| /petsc/src/dm/dt/dualspace/impls/lagrange/ |
| H A D | dspacelagrange.c | 1437 PetscInt dim, nDofs; in PetscDualSpaceLagrangeCreateAllNodeIdx() local 1453 PetscCall(PetscSectionGetStorageSize(section, &nDofs)); in PetscDualSpaceLagrangeCreateAllNodeIdx() 1457 ni->nNodes = nDofs; in PetscDualSpaceLagrangeCreateAllNodeIdx() 1459 PetscCall(PetscMalloc1(nodeIdxDim * nDofs, &ni->nodeIdx)); in PetscDualSpaceLagrangeCreateAllNodeIdx() 1460 PetscCall(PetscMalloc1(Nk * nDofs, &ni->nodeVec)); in PetscDualSpaceLagrangeCreateAllNodeIdx() 1495 PetscInt nDofs; in PetscDualSpaceCreateAllDataFromInteriorData() local 1506 PetscCall(PetscSectionGetStorageSize(section, &nDofs)); in PetscDualSpaceCreateAllDataFromInteriorData() 1541 PetscCall(MatCreateSeqAIJ(PETSC_COMM_SELF, nDofs, nNodes * Nc, maxNzforms * Nk, NULL, &allMat)); in PetscDualSpaceCreateAllDataFromInteriorData() 1649 PetscInt nDofs; in PetscDualSpaceComputeFunctionalsFromAllData_Moments() local 1660 PetscCall(MatGetSize(allMat, &nDofs, NULL)); in PetscDualSpaceComputeFunctionalsFromAllData_Moments() [all …]
|