Home
last modified time | relevance | path

Searched defs:s (Results 1 – 25 of 319) sorted by relevance

12345678910>>...13

/petsc/src/dm/impls/stag/tests/
H A Dex17.c37 DMStagStencil s; in main() local
47 DMStagStencil s; in main() local
57 DMStagStencil s[2]; in main() local
69 DMStagStencil s[5]; in main() local
87 DMStagStencil s[3]; in main() local
101 DMStagStencil s[4]; in main() local
/petsc/src/snes/tutorials/
H A Dex70.c97 PetscErrorCode StokesSetupPC(Stokes *s, KSP ksp) in StokesSetupPC()
117 PetscErrorCode StokesWriteSolution(Stokes *s) in StokesWriteSolution()
143 PetscErrorCode StokesSetupIndexSets(Stokes *s) in StokesSetupIndexSets()
151 PetscErrorCode StokesSetupVectors(Stokes *s) in StokesSetupVectors()
169 PetscErrorCode StokesGetPosition(Stokes *s, PetscInt row, PetscInt *i, PetscInt *j) in StokesGetPosition()
181 PetscErrorCode StokesExactSolution(Stokes *s) in StokesExactSolution()
218 PetscErrorCode StokesRhs(Stokes *s) in StokesRhs()
252 PetscErrorCode StokesSetupMatBlock00(Stokes *s) in StokesSetupMatBlock00()
283 PetscErrorCode StokesSetupMatBlock01(Stokes *s) in StokesSetupMatBlock01()
315 PetscErrorCode StokesSetupMatBlock10(Stokes *s) in StokesSetupMatBlock10()
[all …]
/petsc/src/vec/is/section/interface/
H A Dsection.c37 PetscErrorCode PetscSectionCreate(MPI_Comm comm, PetscSection *s) in PetscSectionCreate()
218 PetscErrorCode PetscSectionSetFromOptions(PetscSection s) in PetscSectionSetFromOptions()
350 PetscErrorCode PetscSectionGetNumFields(PetscSection s, PetscInt *numFields) in PetscSectionGetNumFields()
377 PetscErrorCode PetscSectionSetNumFields(PetscSection s, PetscInt numFields) in PetscSectionSetNumFields()
425 PetscErrorCode PetscSectionGetFieldName(PetscSection s, PetscInt field, const char *fieldName[]) in PetscSectionGetFieldName()
452 PetscErrorCode PetscSectionSetFieldName(PetscSection s, PetscInt field, const char fieldName[]) in PetscSectionSetFieldName()
487 PetscErrorCode PetscSectionGetComponentName(PetscSection s, PetscInt field, PetscInt comp, const ch… in PetscSectionGetComponentName()
520 PetscErrorCode PetscSectionSetComponentName(PetscSection s, PetscInt field, PetscInt comp, const ch… in PetscSectionSetComponentName()
552 PetscErrorCode PetscSectionGetFieldComponents(PetscSection s, PetscInt field, PetscInt *numComp) in PetscSectionGetFieldComponents()
588 PetscErrorCode PetscSectionSetFieldComponents(PetscSection s, PetscInt field, PetscInt numComp) in PetscSectionSetFieldComponents()
[all …]
/petsc/src/ts/tutorials/
H A Dex31.c71 PetscErrorCode RHSFunction_Hull1972A1(TS ts, PetscReal t, Vec Y, Vec F, void *s) in RHSFunction_Hull1972A1()
85 PetscErrorCode RHSJacobian_Hull1972A1(TS ts, PetscReal t, Vec Y, Mat A, Mat B, void *s) in RHSJacobian_Hull1972A1()
100 PetscErrorCode IFunction_Hull1972A1(TS ts, PetscReal t, Vec Y, Vec Ydot, Vec F, void *s) in IFunction_Hull1972A1()
116 …rCode IJacobian_Hull1972A1(TS ts, PetscReal t, Vec Y, Vec Ydot, PetscReal a, Mat A, Mat B, void *s) in IJacobian_Hull1972A1()
133 PetscErrorCode RHSFunction_Hull1972A2(TS ts, PetscReal t, Vec Y, Vec F, void *s) in RHSFunction_Hull1972A2()
147 PetscErrorCode RHSJacobian_Hull1972A2(TS ts, PetscReal t, Vec Y, Mat A, Mat B, void *s) in RHSJacobian_Hull1972A2()
163 PetscErrorCode IFunction_Hull1972A2(TS ts, PetscReal t, Vec Y, Vec Ydot, Vec F, void *s) in IFunction_Hull1972A2()
179 …rCode IJacobian_Hull1972A2(TS ts, PetscReal t, Vec Y, Vec Ydot, PetscReal a, Mat A, Mat B, void *s) in IJacobian_Hull1972A2()
197 PetscErrorCode RHSFunction_Hull1972A3(TS ts, PetscReal t, Vec Y, Vec F, void *s) in RHSFunction_Hull1972A3()
211 PetscErrorCode RHSJacobian_Hull1972A3(TS ts, PetscReal t, Vec Y, Mat A, Mat B, void *s) in RHSJacobian_Hull1972A3()
[all …]
/petsc/src/dm/dt/dualspace/impls/simple/
H A Ddspacesimple.c6 PetscDualSpace_Simple *s = (PetscDualSpace_Simple *)sp->data; in PetscDualSpaceSetUp_Simple() local
24 PetscDualSpace_Simple *s = (PetscDualSpace_Simple *)sp->data; in PetscDualSpaceDestroy_Simple() local
52 PetscDualSpace_Simple *s = (PetscDualSpace_Simple *)sp->data; in PetscDualSpaceSimpleSetDimension_Simple() local
71 PetscDualSpace_Simple *s = (PetscDualSpace_Simple *)sp->data; in PetscDualSpaceSimpleSetFunctional_Simple() local
168 PetscDualSpace_Simple *s; in PetscDualSpaceCreate_Simple() local
/petsc/src/vec/is/section/interface/ftn-custom/
H A Dzvsectionisf90.c16 PETSC_EXTERN void petscsectiongetconstraintindices_(PetscSection *s, PetscInt *point, F90Array1d *i… in petscsectiongetconstraintindices_()
28 PETSC_EXTERN void petscsectionrestoreconstraintindices_(PetscSection *s, PetscInt *point, F90Array1… in petscsectionrestoreconstraintindices_()
33 PETSC_EXTERN void petscsectiongetfieldconstraintindices_(PetscSection *s, PetscInt *point, PetscInt… in petscsectiongetfieldconstraintindices_()
45 PETSC_EXTERN void petscsectionrestorefieldconstraintindices_(PetscSection *s, PetscInt *point, Pets… in petscsectionrestorefieldconstraintindices_()
/petsc/src/sys/utils/
H A Dsegbuffer.c25 struct _PetscSegBufferLink *newlink, *s; in PetscSegBufferAlloc_Private() local
92 struct _PetscSegBufferLink *s; in PetscSegBufferGet() local
117 struct _PetscSegBufferLink *s; in PetscSegBufferDestroy() local
147 struct _PetscSegBufferLink *s, *t; in PetscSegBufferExtractTo() local
190 struct _PetscSegBufferLink *s; in PetscSegBufferExtractAlloc() local
/petsc/src/mat/graphops/color/utils/
H A Dweights.c6 PetscInt i, s, e; in MatColoringCreateLexicalWeights() local
17 PetscInt i, s, e; in MatColoringCreateRandomWeights() local
37 PetscInt j, i, s, e, n, ln, lm, degree, bidx, idx, dist; in MatColoringGetDegrees() local
110 PetscInt i, s, e, n, ncols; in MatColoringCreateLargestFirstWeights() local
138 …PetscInt j, i, s, e, n, ln, lm, degree, maxdegree = 0, bidx, idx, dist, distance = mc->dist; in MatColoringCreateSmallestLastWeights() local
311 PetscInt i, s, e, n; in MatColoringCreateWeights() local
350 PetscInt i, s, e, n; in MatColoringSetWeights() local
/petsc/share/petsc/matlab/
H A DPetscBinaryRead.m99 s = read(fd,2*m*n,precision); variable
104 s = read(fd,m*n,precision); variable
116 s = read(fd,2*nz,precision); variable
118 s = read(fd,nz,precision); variable
/petsc/include/
H A Dpetscdm.h265 …TED_FUNCTION(3, 23, 0, "DMGetLocalSection()", ) PetscErrorCode DMGetSection(DM dm, PetscSection *s) in DMGetSection()
269 …ATED_FUNCTION(3, 23, 0, "DMSetLocalSection()", ) PetscErrorCode DMSetSection(DM dm, PetscSection s) in DMSetSection()
273 …ED_FUNCTION(3, 9, 0, "DMGetSection()", ) PetscErrorCode DMGetDefaultSection(DM dm, PetscSection *s) in DMGetDefaultSection()
277 …TED_FUNCTION(3, 9, 0, "DMSetSection()", ) PetscErrorCode DMSetDefaultSection(DM dm, PetscSection s) in DMSetDefaultSection()
281 …3, 9, 0, "DMGetGlobalSection()", ) PetscErrorCode DMGetDefaultGlobalSection(DM dm, PetscSection *s) in DMGetDefaultGlobalSection()
285 …(3, 9, 0, "DMSetGlobalSection()", ) PetscErrorCode DMSetDefaultGlobalSection(DM dm, PetscSection s) in DMSetDefaultGlobalSection()
293 …EPRECATED_FUNCTION(3, 12, 0, "DMGetSectionSF()", ) PetscErrorCode DMGetDefaultSF(DM dm, PetscSF *s) in DMGetDefaultSF()
297 …DEPRECATED_FUNCTION(3, 12, 0, "DMSetSectionSF()", ) PetscErrorCode DMSetDefaultSF(DM dm, PetscSF s) in DMSetDefaultSF()
H A Dpetscspace.h73 …<property not used>", ) PetscErrorCode PetscSpacePolynomialSetSymmetric(PetscSpace sp, PetscBool s) in PetscSpacePolynomialSetSymmetric()
78 …used>", ) PetscErrorCode PetscSpacePolynomialGetSymmetric(PETSC_UNUSED PetscSpace sp, PetscBool *s) in PetscSpacePolynomialGetSymmetric()
/petsc/src/dm/partitioner/interface/
H A Dpartitioner.c315 PetscInt s, e; in PetscPartitionerPartition() local
322 PetscInt s, e; in PetscPartitionerPartition() local
329 PetscInt s, e; in PetscPartitionerPartition() local
357 const PetscInt s = start[v]; in PetscPartitionerPartition() local
/petsc/src/dm/dt/dualspace/impls/sum/
H A Ddualspacesum.c117 PetscErrorCode PetscDualSpaceSumGetSubspace(PetscDualSpace sp, PetscInt s, PetscDualSpace *subsp) in PetscDualSpaceSumGetSubspace()
141 PetscErrorCode PetscDualSpaceSumSetSubspace(PetscDualSpace sp, PetscInt s, PetscDualSpace subsp) in PetscDualSpaceSumSetSubspace()
167 for (PetscInt s = 0; s < Ns; ++s) PetscCall(PetscDualSpaceDestroy(&sum->sumspaces[s])); in PetscDualSpaceSumSetNumSubspaces_Sum() local
195 static PetscErrorCode PetscDualSpaceSumGetSubspace_Sum(PetscDualSpace space, PetscInt s, PetscDualS… in PetscDualSpaceSumGetSubspace_Sum()
208 static PetscErrorCode PetscDualSpaceSumSetSubspace_Sum(PetscDualSpace space, PetscInt s, PetscDualS… in PetscDualSpaceSumSetSubspace_Sum()
243 for (PetscInt s = 0; s < num_subspaces; s++) { in PetscDualSpaceDuplicate_Sum() local
275 for (PetscInt s = 0; s < Ns; s++) { in PetscDualSpaceSumCreateQuadrature() local
285 for (PetscInt s = 0, offset = 0; s < Ns; s++) { in PetscDualSpaceSumCreateQuadrature() local
312 for (PetscInt s = 0; s < num_subspaces; s++) { in PetscDualSpaceSumCreateMatrix() local
412 for (PetscInt s = 0, coffset = 0; s < Ns; s++) { in PetscDualSpaceSumCreateMappings() local
[all …]
/petsc/src/binding/petsc4py/conf/
H A Depydocify.py22 def Text_get_data(s): argument
28 def Text_set_data(s, d): argument
/petsc/src/vec/is/section/interface/hdf5/
H A Dsectionhdf5.c7 static PetscErrorCode PetscSectionView_HDF5_SingleField(PetscSection s, PetscViewer viewer) in PetscSectionView_HDF5_SingleField()
89 PetscErrorCode PetscSectionView_HDF5_Internal(PetscSection s, PetscViewer viewer) in PetscSectionView_HDF5_Internal()
126 static PetscErrorCode PetscSectionLoad_HDF5_SingleField_SetConstraintIndices(PetscSection s, IS cin… in PetscSectionLoad_HDF5_SingleField_SetConstraintIndices()
174 static PetscErrorCode PetscSectionLoad_HDF5_SingleField(PetscSection s, PetscViewer viewer) in PetscSectionLoad_HDF5_SingleField()
273 PetscErrorCode PetscSectionLoad_HDF5_Internal(PetscSection s, PetscViewer viewer) in PetscSectionLoad_HDF5_Internal()
/petsc/src/mat/tutorials/
H A Dex18.c80 PetscScalar s[9]; in FillMatrixCPU() local
101 PetscScalar *v, *s; in FillMatrixCPUCOO() local
123 PetscScalar (*s)[3][3]; in FillMatrixCPUCOO3d() local
/petsc/src/ts/impls/explicit/rk/
H A Dmrk.c33 PetscInt s = rk->tableau->s, p = rk->tableau->p, i, j; in TSInterpolate_RK_MultirateNonsplit() local
60 const PetscInt s = tab->s; in TSStepRefine_RK_MultirateNonsplit() local
126 const PetscInt s = tab->s; in TSStep_RK_MultirateNonsplit() local
236 PetscInt s = rk->tableau->s, p = rk->tableau->p, i, j; in TSInterpolate_RK_MultirateSplit() local
287 PetscInt s = tab->s, j; in TSEvaluateStep_RK_MultirateSplit() local
314 const PetscInt s = tab->s; in TSStepRefine_RK_MultirateSplit() local
371 const PetscInt s = tab->s; in TSStep_RK_MultirateSplit() local
H A Drk.c432 PetscErrorCode TSRKRegister(TSRKType name, PetscInt order, PetscInt s, const PetscReal A[], const P… in TSRKRegister()
485 static PetscErrorCode TSRKGetTableau_RK(TS ts, PetscInt *s, const PetscReal **A, const PetscReal **… in TSRKGetTableau_RK()
524 PetscErrorCode TSRKGetTableau(TS ts, PetscInt *s, const PetscReal **A, const PetscReal **b, const P… in TSRKGetTableau()
554 PetscInt s = tab->s, j; in TSEvaluateStep_RK() local
601 const PetscInt s = tab->s; in TSForwardCostIntegral_RK() local
621 const PetscInt s = tab->s; in TSAdjointCostIntegral_RK() local
640 const PetscInt s = tab->s; in TSRollBack_RK() local
676 const PetscInt s = tab->s; in TSForwardStep_RK() local
779 const PetscInt s = tab->s; in TSStep_RK() local
851 PetscInt s = tab->s; in TSAdjointSetUp_RK() local
[all …]
/petsc/src/dm/impls/plex/transform/impls/extrude/
H A Dplextrcohesive.c264 for (PetscInt s = 0; s < 3; ++s) { in DMPlexTransformCohesiveExtrudeSetUp_Segment() local
334 for (PetscInt s = 1; s < 3; ++s) { in DMPlexTransformCohesiveExtrudeSetUp_Segment() local
375 for (PetscInt s = 0; s < 7; ++s) { in DMPlexTransformCohesiveExtrudeSetUp_Triangle() local
463 for (PetscInt s = 1; s < 7; ++s) { in DMPlexTransformCohesiveExtrudeSetUp_Triangle() local
516 for (PetscInt s = 0; s < 15; ++s) { in DMPlexTransformCohesiveExtrudeSetUp_Quadrilateral() local
626 for (PetscInt s = 1; s < 15; ++s) { in DMPlexTransformCohesiveExtrudeSetUp_Quadrilateral() local
678 for (PetscInt s = 1; s < 15; ++s) { in DMPlexTransformCohesiveExtrudeSetUp_Tetrahedron() local
717 for (PetscInt s = 1; s < 63; ++s) { in DMPlexTransformCohesiveExtrudeSetUp_Hexahedron() local
941 for (PetscInt s = 0; s < 2; ++s) { in OrderCohesiveSupport_Private() local
/petsc/src/sys/dll/
H A Ddl.c128 char libname[PETSC_MAX_PATH_LEN], par2[PETSC_MAX_PATH_LEN], *s; in PetscDLLibraryOpen() local
217 char *symbol = NULL, *s = NULL; in PetscDLLibrarySym() local
321 char suffix[16], *s = NULL; in PetscDLLibraryAppend() local
404 char suffix[16], *s = NULL; in PetscDLLibraryPrepend() local
/petsc/include/petsc/finclude/
H A Dpetscsysbase.h137 #define SETERRQ(c, ierr, s) call PetscError(c, ierr, PETSC_ERROR_INITIAL, s); return argument
138 #define SETERRA(c, ierr, s) call PetscError(c, ierr, PETSC_ERROR_INITIAL, s); call MPIU_Abort(c, i… argument
155 #define PetscCheckA(err, c, ierr, s) if (.not.(err)) then; SETERRA(c, ierr, s); endif argument
156 #define PetscCheck(err, c, ierr, s) if (.not.(err)) then; SETERRQ(c, ierr, s); endif argument
/petsc/src/vec/vec/utils/
H A Dvsection.c21 PetscErrorCode PetscSectionVecView(PetscSection s, Vec v, PetscViewer viewer) in PetscSectionVecView()
72 PetscErrorCode VecGetValuesSection(Vec v, PetscSection s, PetscInt point, PetscScalar *values[]) in VecGetValuesSection()
102 PetscErrorCode VecSetValuesSection(Vec v, PetscSection s, PetscInt point, const PetscScalar values[… in VecSetValuesSection()
257 PetscErrorCode PetscSectionVecNorm(PetscSection s, PetscSection gs, Vec x, NormType type, PetscReal… in PetscSectionVecNorm()
/petsc/src/dm/impls/plex/tests/
H A Dex47.c385 PetscSection s; in main() local
437 PetscSection s; in main() local
490 PetscSection s; in main() local
555 PetscSection s; in main() local
/petsc/src/dm/impls/plex/
H A Dplexpoint.c25 PetscInt s, e; in DMPlexGetPointLocal() local
136 PetscInt s, e; in DMPlexGetPointLocalField() local
232 PetscInt s, e; in DMPlexGetPointGlobal() local
343 PetscInt s, e; in DMPlexGetPointGlobalField() local
/petsc/src/vec/is/utils/
H A Disio.c10 PetscInt tr[2], n, s, N; in ISView_Binary() local
61 PetscInt tr[2], rows, N, n, s, *idx; in ISLoad_Binary() local

12345678910>>...13