| /petsc/src/dm/impls/plex/ |
| H A D | gmshlex.h | 10 #define SN1(p) ((p) + 1) argument 11 #define SN2(p) (SN1(p) * SN1((p) + 1) / 2) argument 12 #define SN3(p) (SN2(p) * SN1((p) + 2) / 3) argument 13 #define SI1(p, i) (i) argument 14 #define SI2(p, i, j) ((i) + (SN2(p) - SN2((p) - (j)))) argument 15 #define SI3(p, i, j, k) (SI2((p) - (k), i, j) + (SN3(p) - SN3((p) - (k)))) argument 16 #define SL1(p, i) for ((i) = 1; (i) < (p); ++(i)) argument 17 #define SL2(p, i, j) SL1((p) - 1, i) SL1((p) - (i), j) argument 18 #define SL3(p, i, j, k) SL1((p) - 2, i) SL1((p) - (i), j) SL1((p) - (i) - (j), k) argument 20 #define BN1(p) ((p) + 1) argument [all …]
|
| H A D | pointqueue.c | 39 PetscErrorCode DMPlexPointQueueEnqueue(DMPlexPointQueue queue, PetscInt p) in DMPlexPointQueueEnqueue() 49 PetscErrorCode DMPlexPointQueueDequeue(DMPlexPointQueue queue, PetscInt *p) in DMPlexPointQueueDequeue() 59 PetscErrorCode DMPlexPointQueueFront(DMPlexPointQueue queue, PetscInt *p) in DMPlexPointQueueFront() 67 PetscErrorCode DMPlexPointQueueBack(DMPlexPointQueue queue, PetscInt *p) in DMPlexPointQueueBack()
|
| H A D | plexreorder.c | 8 PetscInt depth, d, pStart, pEnd, fStart, fMax, fEnd, p; in DMPlexCreateOrderingClosure_Static() local 202 PetscInt pStart, pEnd, p; in DMPlexRemapCoordinates_Private() local 300 PetscInt n, pStart, pEnd, p; in DMPlexPermute() local 441 for (PetscInt p = pStart; p < pEnd; ++p) perm[pEnd - 1 - p] = p; in DMCreateSectionPermutation_Plex_Reverse() local 461 for (PetscInt p = pStart; p < pEnd; ++p) { in DMCreateSectionPermutation_Plex_Cohesive_Old() local 533 …for (PetscInt p = pStart; p < pEnd; ++p) PetscCheck(PetscBTLookup(bt, p), PETSC_COMM_SELF, PETSC_E… in DMCreateSectionPermutation_Plex_Cohesive_Old() local 545 static PetscErrorCode InsertCohesiveBlock_Private(DM dm, PetscBT bt, PetscBT blst, PetscInt p, Pets… in InsertCohesiveBlock_Private() 580 for (PetscInt p = pStart; p < pEnd; ++p) { in DMCreateSectionPermutation_Plex_Cohesive() local 596 for (PetscInt p = pStart; p < pEnd; ++p) { in DMCreateSectionPermutation_Plex_Cohesive() local 602 …for (PetscInt p = pStart; p < pEnd; ++p) PetscCheck(PetscBTLookup(bt, p), PETSC_COMM_SELF, PETSC_E… in DMCreateSectionPermutation_Plex_Cohesive() local
|
| H A D | plexindices.c | 35 PetscInt *points = NULL, numPoints, p, dof, cldof = 0; in DMPlexCreateClosureIndex() local 51 PetscInt *points = NULL, numPoints, p, q, dof, cldof, cloff; in DMPlexCreateClosureIndex() local
|
| /petsc/src/dm/dt/interface/ |
| H A D | dtprob.c | 25 …cErrorCode PetscPDFMaxwellBoltzmann1D(const PetscReal x[], const PetscReal unused[], PetscReal p[]) in PetscPDFMaxwellBoltzmann1D() 47 …cErrorCode PetscCDFMaxwellBoltzmann1D(const PetscReal x[], const PetscReal unused[], PetscReal p[]) in PetscCDFMaxwellBoltzmann1D() 69 …cErrorCode PetscPDFMaxwellBoltzmann2D(const PetscReal x[], const PetscReal unused[], PetscReal p[]) in PetscPDFMaxwellBoltzmann2D() 91 …cErrorCode PetscCDFMaxwellBoltzmann2D(const PetscReal x[], const PetscReal unused[], PetscReal p[]) in PetscCDFMaxwellBoltzmann2D() 113 …cErrorCode PetscPDFMaxwellBoltzmann3D(const PetscReal x[], const PetscReal unused[], PetscReal p[]) in PetscPDFMaxwellBoltzmann3D() 135 …cErrorCode PetscCDFMaxwellBoltzmann3D(const PetscReal x[], const PetscReal unused[], PetscReal p[]) in PetscCDFMaxwellBoltzmann3D() 157 PetscErrorCode PetscPDFGaussian1D(const PetscReal x[], const PetscReal scale[], PetscReal p[]) in PetscPDFGaussian1D() 164 PetscErrorCode PetscCDFGaussian1D(const PetscReal x[], const PetscReal scale[], PetscReal p[]) in PetscCDFGaussian1D() 191 PetscErrorCode PetscPDFSampleGaussian1D(const PetscReal p[], const PetscReal unused[], PetscReal x[… in PetscPDFSampleGaussian1D() 234 PetscErrorCode PetscPDFGaussian2D(const PetscReal x[], const PetscReal unused[], PetscReal p[]) in PetscPDFGaussian2D() [all …]
|
| /petsc/src/dm/partitioner/impls/matpart/ |
| H A D | partmatpart.c | 10 PetscPartitioner_MatPartitioning *p = (PetscPartitioner_MatPartitioning *)part->data; in PetscPartitionerMatPartitioningGetMatPartitioning_MatPartitioning() local 43 PetscPartitioner_MatPartitioning *p = (PetscPartitioner_MatPartitioning *)part->data; in PetscPartitionerDestroy_MatPartitioning() local 54 PetscPartitioner_MatPartitioning *p = (PetscPartitioner_MatPartitioning *)part->data; in PetscPartitionerView_MatPartitioning_ASCII() local 80 PetscPartitioner_MatPartitioning *p = (PetscPartitioner_MatPartitioning *)part->data; in PetscPartitionerSetFromOptions_MatPartitioning() local 90 PetscPartitioner_MatPartitioning *p = (PetscPartitioner_MatPartitioning *)part->data; in PetscPartitionerPartition_MatPartitioning() local 121 PetscInt p; in PetscPartitionerPartition_MatPartitioning() local 209 PetscPartitioner_MatPartitioning *p; in PetscPartitionerCreate_MatPartitioning() local
|
| /petsc/src/dm/partitioner/impls/shell/ |
| H A D | partshell.c | 11 PetscPartitioner_Shell *p = (PetscPartitioner_Shell *)part->data; in PetscPartitionerReset_Shell() local 29 PetscPartitioner_Shell *p = (PetscPartitioner_Shell *)part->data; in PetscPartitionerView_Shell_ASCII() local 85 PetscPartitioner_Shell *p = (PetscPartitioner_Shell *)part->data; in PetscPartitionerPartition_Shell() local 91 PetscInt *sizes, *points, v, p; in PetscPartitionerPartition_Shell() local 152 PetscPartitioner_Shell *p; in PetscPartitionerCreate_Shell() local 184 PetscPartitioner_Shell *p = (PetscPartitioner_Shell *)part->data; in PetscPartitionerShellSetPartition() local 219 PetscPartitioner_Shell *p = (PetscPartitioner_Shell *)part->data; in PetscPartitionerShellSetRandom() local 244 PetscPartitioner_Shell *p = (PetscPartitioner_Shell *)part->data; in PetscPartitionerShellGetRandom() local
|
| /petsc/src/ts/tutorials/autodiff/adolc-utils/ |
| H A D | drivers.cxx | 34 PetscInt i, j, m = adctx->m, n = adctx->n, p = adctx->p; in PetscAdolcComputeRHSJacobian() local 72 PetscInt i, j, m = adctx->m, n = adctx->n, p = adctx->p; in PetscAdolcComputeRHSJacobianLocal() local 111 PetscInt i, j, m = adctx->m, n = adctx->n, p = adctx->p; in PetscAdolcComputeIJacobian() local 171 PetscInt i, j, m = adctx->m, n = adctx->n, p = adctx->p; in PetscAdolcComputeIJacobianIDMass() local 216 PetscInt i, j, m = adctx->m, n = adctx->n, p = adctx->p; in PetscAdolcComputeIJacobianLocal() local 275 PetscInt i, j, m = adctx->m, n = adctx->n, p = adctx->p; in PetscAdolcComputeIJacobianLocalIDMass() local 321 PetscInt i, j = 0, m = adctx->m, n = adctx->n, p = adctx->num_params; in PetscAdolcComputeRHSJacobianP() local 365 PetscInt i, j = 0, m = adctx->m, n = adctx->n, p = adctx->num_params; in PetscAdolcComputeRHSJacobianPLocal() local 414 PetscInt i, m = adctx->m, n = adctx->n, p = adctx->p; in PetscAdolcComputeIJacobianAndDiagonalLocal() local
|
| H A D | sparse.cxx | 51 PetscInt p, size; in GenerateSeedMatrix() local 81 PetscInt p, size, colour, j; in GenerateSeedMatrixPlusRecovery() local 113 PetscErrorCode GetRecoveryMatrix(PetscScalar **S, unsigned int **sparsity, PetscInt m, PetscInt p, … in GetRecoveryMatrix() 147 PetscErrorCode RecoverJacobian(Mat A, InsertMode mode, PetscInt m, PetscInt p, PetscScalar **R, Pet… in RecoverJacobian() 177 PetscErrorCode RecoverJacobianLocal(Mat A, InsertMode mode, PetscInt m, PetscInt p, PetscScalar **R… in RecoverJacobianLocal()
|
| /petsc/src/dm/partitioner/impls/parmetis/ |
| H A D | partparmetis.c | 30 PetscPartitioner_ParMetis *p = (PetscPartitioner_ParMetis *)part->data; in PetscPartitionerDestroy_ParMetis() local 40 PetscPartitioner_ParMetis *p = (PetscPartitioner_ParMetis *)part->data; in PetscPartitionerView_ParMetis_ASCII() local 66 PetscPartitioner_ParMetis *p = (PetscPartitioner_ParMetis *)part->data; in PetscPartitionerSetFromOptions_ParMetis() local 97 PetscMPIInt p, size, rank; in PetscPartitionerPartition_ParMetis() local 120 PetscInt p; in PetscPartitionerPartition_ParMetis() local 260 PetscPartitioner_ParMetis *p; in PetscPartitionerCreate_ParMetis() local
|
| /petsc/src/mat/impls/preallocator/ |
| H A D | matpreallocator.c | 14 Mat_Preallocator *p = (Mat_Preallocator *)A->data; in MatDestroy_Preallocator() local 28 Mat_Preallocator *p = (Mat_Preallocator *)A->data; in MatSetUp_Preallocator() local 47 Mat_Preallocator *p = (Mat_Preallocator *)A->data; in MatSetValues_Preallocator() local 100 Mat_Preallocator *p = (Mat_Preallocator *)A->data; in MatAssemblyEnd_Preallocator() local 140 Mat_Preallocator *p = (Mat_Preallocator *)mat->data; in MatPreallocatorPreallocate_Preallocator() local 257 Mat_Preallocator *p; in MatCreate_Preallocator() local
|
| /petsc/src/sys/error/ftn-custom/ |
| H A D | zerrf.c | 30 …omm, int line, const char *fun, const char *file, PetscErrorCode n, PetscErrorType p, const char *… in ourerrorhandler() 48 …m, int *line, const char *fun, const char *file, PetscErrorCode *n, PetscErrorType *p, const char … in petsctracebackerrorhandler_() 53 …m, int *line, const char *fun, const char *file, PetscErrorCode *n, PetscErrorType *p, const char … in petscaborterrorhandler_() 58 …m, int *line, const char *fun, const char *file, PetscErrorCode *n, PetscErrorType *p, const char … in petscattachdebuggererrorhandler_() 63 …m, int *line, const char *fun, const char *file, PetscErrorCode *n, PetscErrorType *p, const char … in petscemacsclienterrorhandler_() 68 …m, int *line, const char *fun, const char *file, PetscErrorCode *n, PetscErrorType *p, const char … in petscignoreerrorhandler_() 82 PETSC_EXTERN void petscerror_(MPI_Fint *comm, PetscErrorCode *number, PetscErrorType *p, char *mess… in petscerror_()
|
| /petsc/src/vec/vec/utils/ |
| H A D | vecs.c | 11 PetscErrorCode VecsCreateSeq(MPI_Comm comm, PetscInt p, PetscInt m, Vecs *x) in VecsCreateSeq() 20 PetscErrorCode VecsCreateSeqWithArray(MPI_Comm comm, PetscInt p, PetscInt m, PetscScalar *a, Vecs *… in VecsCreateSeqWithArray()
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | PETSc.pyx | 31 cdef inline object bytes2str(const char p[]): 40 cdef inline object str2bytes(object s, const char *p[]): 49 cdef inline object S_(const char p[]): 294 PetscErrorType p, 334 PetscErrorType p,
|
| /petsc/src/dm/label/tutorials/ |
| H A D | ex1.c | 180 PetscInt p, pStart, pEnd; in main() local 213 PetscInt p, pStart, pEnd; in main() local 260 PetscInt p = 0, val; in main() local 304 for (PetscInt p = pStart; p < pEnd; ++p) { in main() local 312 for (PetscInt p = pStart; p < pEnd; ++p) { in main() local
|
| /petsc/src/dm/impls/plex/tutorials/ |
| H A D | ex17.c | 21 for (PetscInt p = pStart; p < pEnd; ++p) { in ComputeVolume() local 29 for (PetscInt p = pStart; p < pEnd; ++p) { in ComputeVolume() local
|
| /petsc/src/dm/impls/swarm/tests/ |
| H A D | ex4.c | 135 PetscInt dim, d, Np, p; in RHSFunction() local 163 PetscInt dim, d, Np, p, rStart; in RHSJacobian() local 186 PetscInt Np, p; in RHSFunctionX() local 203 PetscInt Np, p; in RHSFunctionV() local 219 PetscInt dim, d, Np, p, rStart; in RHSJacobianS() local 243 PetscInt dim, Np, p; in RHSObjectiveF() local 269 PetscInt dim, d, Np, p; in RHSFunctionG() local 402 PetscInt dim, d, Np, p; in ComputeError() local 448 PetscInt dim, Np, p; in EnergyMonitor() local
|
| H A D | ex5.c | 99 PetscInt dim, d, Np, p; in RHSFunction() local 135 PetscInt dim, d, Np, p, rStart; in RHSJacobian() local 168 PetscInt Np, p, dim, d; in RHSFunctionX() local 190 PetscInt Np, p, dim, d; in RHSFunctionV() local 325 PetscErrorCode circleSingleX(PetscInt dim, PetscReal time, const PetscReal unused[], PetscInt p, Pe… in circleSingleX() 332 PetscErrorCode circleSingleV(PetscInt dim, PetscReal time, const PetscReal unused[], PetscInt p, Pe… in circleSingleV() 340 PetscErrorCode circleMultipleX(PetscInt dim, PetscReal time, const PetscReal unused[], PetscInt p, … in circleMultipleX() 352 PetscErrorCode circleMultipleV(PetscInt dim, PetscReal time, const PetscReal unused[], PetscInt p, … in circleMultipleV() 431 PetscInt dim, Np, p; in ComputeError() local 481 PetscInt dim, Np, p; in EnergyMonitor() local
|
| /petsc/src/sys/tests/ |
| H A D | ex1f.F90 | 16 subroutine MyErrHandler(comm, line, fun, file, n, p, mess, ctx, ierr) argument 17 integer line, n, p local
|
| /petsc/src/dm/partitioner/impls/multistage/ |
| H A D | mspart.c | 54 PetscPartitioner_MS *p = (PetscPartitioner_MS *)part->data; in PetscPartitionerView_Multistage() local 298 PetscPartitioner_MS *p = (PetscPartitioner_MS *)part->data; in PetscPartitionerReset_Multistage() local 344 PetscPartitioner_MS *p = (PetscPartitioner_MS *)part->data; in PetscPartitionerMultistageSetStages() local 530 PetscPartitioner_MS *p = (PetscPartitioner_MS *)part->data; in PetscPartitionerMultistageGetStages_Multistage() local 543 PetscPartitioner_MS *p = (PetscPartitioner_MS *)part->data; in PetscPartitionerMultistageSetStage_Multistage() local 559 PetscPartitioner_MS *p = (PetscPartitioner_MS *)part->data; in PetscPartitionerMultistageGetStage_Multistage() local 570 PetscPartitioner_MS *p = (PetscPartitioner_MS *)part->data; in PetscPartitionerSetUp_Multistage() local 586 PetscPartitioner_MS *p = (PetscPartitioner_MS *)part->data; in PetscPartitionerPartition_Multistage() local 743 PetscPartitioner_MS *p = (PetscPartitioner_MS *)part->data; in PetscPartitionerSetFromOptions_Multistage() local 816 PetscPartitioner_MS *p; in PetscPartitionerCreate_Multistage() local
|
| /petsc/src/dm/impls/plex/tests/ |
| H A D | ex6.c | 44 PetscReal p; in TestSetup() local 64 PetscInt p, n = 0; in TestLookup() local 83 PetscInt pStart = user->pStart, pEnd = user->pEnd, p; in TestClear() local
|
| /petsc/src/dm/dt/fe/interface/ |
| H A D | fegeom.c | 23 const PetscReal *p; in PetscFEGeomCreate() local 160 PetscErrorCode PetscFEGeomGetPoint(PetscFEGeom *geom, PetscInt c, PetscInt p, const PetscReal pcoor… in PetscFEGeomGetPoint() 212 PetscErrorCode PetscFEGeomGetCellPoint(PetscFEGeom *geom, PetscInt c, PetscInt p, PetscFEGeom *pgeo… in PetscFEGeomGetCellPoint()
|
| /petsc/src/ts/tests/ |
| H A D | ex13.c | 9 PetscScalar func(PetscInt p, PetscReal t) in func() 13 PetscScalar dfunc(PetscInt p, PetscReal t) in dfunc() 25 PetscInt i, p = 1, Nt = 10; in main() local
|
| /petsc/src/dm/interface/ |
| H A D | dmgeommodel.c | 10 static PetscErrorCode DMSnapToGeomModelBall(DM dm, PetscInt p, PetscInt dE, const PetscScalar mcoor… in DMSnapToGeomModelBall() 28 static PetscErrorCode DMSnapToGeomModelCylinder(DM dm, PetscInt p, PetscInt dE, const PetscScalar m… in DMSnapToGeomModelCylinder() 179 PetscErrorCode DMSnapToGeomModel(DM dm, PetscInt p, PetscInt dE, const PetscScalar mcoords[], Petsc… in DMSnapToGeomModel()
|
| /petsc/src/sys/error/ |
| H A D | err.c | 56 …omm, int line, const char *fun, const char *file, PetscErrorCode n, PetscErrorType p, const char *… in PetscEmacsClientErrorHandler() 123 …omm, int line, const char *fun, const char *file, PetscErrorCode n, PetscErrorType p, const char *… in PetscPushErrorHandler() 187 …omm, int line, const char *fun, const char *file, PetscErrorCode n, PetscErrorType p, const char *… in PetscReturnErrorHandler() 386 …mm, int line, const char *func, const char *file, PetscErrorCode n, PetscErrorType p, const char *… in PetscError() 456 PetscInt j, i, n = N / Ncol, p = N % Ncol; in PetscIntViewNumColumns() local 556 PetscInt j, i, n = N / Ncol, p = N % Ncol; in PetscRealViewNumColumns() local 664 PetscInt j, i, n = N / Ncol, p = N % Ncol; in PetscScalarViewNumColumns() local
|