Home
last modified time | relevance | path

Searched defs:h (Results 1 – 25 of 240) sorted by relevance

12345678910

/petsc/src/mat/utils/
H A Dpheap.c32 #define Value(h, loc) ((h)->base[loc].value) argument
33 #define Id(h, loc) ((h)->base[loc].id) argument
35 static inline void Swap(PetscHeap h, PetscInt loc, PetscInt loc2) in Swap()
45 static inline PetscInt MinChild(PetscHeap h, PetscInt loc) in MinChild()
64 PetscHeap h; in PetscHeapCreate() local
79 PetscErrorCode PetscHeapAdd(PetscHeap h, PetscInt id, PetscInt val) in PetscHeapAdd()
98 PetscErrorCode PetscHeapPop(PetscHeap h, PetscInt *id, PetscInt *val) in PetscHeapPop()
127 PetscErrorCode PetscHeapPeek(PetscHeap h, PetscInt *id, PetscInt *val) in PetscHeapPeek()
141 PetscErrorCode PetscHeapStash(PetscHeap h, PetscInt id, PetscInt val) in PetscHeapStash()
152 PetscErrorCode PetscHeapUnstash(PetscHeap h) in PetscHeapUnstash()
[all …]
/petsc/src/sys/logging/handler/interface/
H A Dloghandler.c30 PetscLogHandler h; in PetscLogHandlerCreate() local
56 PetscLogHandler h; in PetscLogHandlerDestroy() local
88 PetscErrorCode PetscLogHandlerSetState(PetscLogHandler h, PetscLogState state) in PetscLogHandlerSetState()
119 PetscErrorCode PetscLogHandlerGetState(PetscLogHandler h, PetscLogState *state) in PetscLogHandlerGetState()
148 PetscErrorCode PetscLogHandlerEventBegin(PetscLogHandler h, PetscLogEvent e, PetscObject o1, PetscO… in PetscLogHandlerEventBegin()
176 PetscErrorCode PetscLogHandlerEventEnd(PetscLogHandler h, PetscLogEvent e, PetscObject o1, PetscObj… in PetscLogHandlerEventEnd()
201 PetscErrorCode PetscLogHandlerEventSync(PetscLogHandler h, PetscLogEvent e, MPI_Comm comm) in PetscLogHandlerEventSync()
238 PetscErrorCode PetscLogHandlerObjectCreate(PetscLogHandler h, PetscObject obj) in PetscLogHandlerObjectCreate()
262 PetscErrorCode PetscLogHandlerObjectDestroy(PetscLogHandler h, PetscObject obj) in PetscLogHandlerObjectDestroy()
289 PetscErrorCode PetscLogHandlerStagePush(PetscLogHandler h, PetscLogStage stage) in PetscLogHandlerStagePush()
[all …]
/petsc/src/sys/tutorials/
H A Dex7.c61 static PetscErrorCode PetscLogHandlerEventBegin_Ex7(PetscLogHandler h, PetscLogEvent e, PetscObject… in PetscLogHandlerEventBegin_Ex7()
84 static PetscErrorCode PetscLogHandlerEventEnd_Ex7(PetscLogHandler h, PetscLogEvent e, PetscObject o… in PetscLogHandlerEventEnd_Ex7()
102 static PetscErrorCode PetscLogHandlerEventSync_Ex7(PetscLogHandler h, PetscLogEvent e, MPI_Comm com… in PetscLogHandlerEventSync_Ex7()
118 static PetscErrorCode PetscLogHandlerObjectCreate_Ex7(PetscLogHandler h, PetscObject obj) in PetscLogHandlerObjectCreate_Ex7()
128 static PetscErrorCode PetscLogHandlerObjectDestroy_Ex7(PetscLogHandler h, PetscObject obj) in PetscLogHandlerObjectDestroy_Ex7()
138 static PetscErrorCode PetscLogHandlerStagePush_Ex7(PetscLogHandler h, PetscLogStage new_stage) in PetscLogHandlerStagePush_Ex7()
158 static PetscErrorCode PetscLogHandlerStagePop_Ex7(PetscLogHandler h, PetscLogStage old_stage) in PetscLogHandlerStagePop_Ex7()
179 static PetscErrorCode PetscLogHandlerView_Ex7(PetscLogHandler h, PetscViewer viewer) in PetscLogHandlerView_Ex7()
198 static PetscErrorCode PetscLogHandlerLogObjectState_Ex7(PetscLogHandler h, PetscObject obj, const c… in PetscLogHandlerLogObjectState_Ex7()
210 static PetscErrorCode PetscLogHandlerDestroy_Ex7(PetscLogHandler h) in PetscLogHandlerDestroy_Ex7()
[all …]
/petsc/include/petsc/private/khash/
H A Dkhash.h401 khint_t h = (khint_t)*s; in __ac_X31_hash_string() local
450 #define kh_destroy(name, h) kh_destroy_##name(h) argument
457 #define kh_clear(name, h) kh_clear_##name(h) argument
465 #define kh_resize(name, h, s) kh_resize_##name(h, s) argument
478 #define kh_put(name, h, k, r) kh_put_##name(h, k, r) argument
487 #define kh_get(name, h, k) kh_get_##name(h, k) argument
495 #define kh_del(name, h, k) kh_del_##name(h, k) argument
503 #define kh_exist(h, x) (!__ac_iseither((h)->flags, (x))) argument
511 #define kh_key(h, x) ((h)->keys[x]) argument
520 #define kh_val(h, x) ((h)->vals[x]) argument
[all …]
/petsc/src/sys/logging/handler/impls/nested/
H A Dlognested.c5 PETSC_INTERN PetscErrorCode PetscLogHandlerNestedSetThreshold(PetscLogHandler h, PetscLogDouble new… in PetscLogHandlerNestedSetThreshold()
17 static PetscErrorCode PetscLogEventGetNestedEvent(PetscLogHandler h, PetscLogEvent e, PetscLogEvent… in PetscLogEventGetNestedEvent()
48 static PetscErrorCode PetscLogStageGetNestedEvent(PetscLogHandler h, PetscLogStage stage, PetscLogE… in PetscLogStageGetNestedEvent()
85 static PetscErrorCode PetscLogNestedFindNestedId(PetscLogHandler h, NestedId orig_id, PetscInt *pop… in PetscLogNestedFindNestedId()
118 static PetscErrorCode PetscLogNestedCheckNested(PetscLogHandler h, NestedId leaf, PetscLogEvent nes… in PetscLogNestedCheckNested()
132 static PetscErrorCode PetscLogHandlerEventBegin_Nested(PetscLogHandler h, PetscLogEvent e, PetscObj… in PetscLogHandlerEventBegin_Nested()
145 static PetscErrorCode PetscLogHandlerNestedEventEnd(PetscLogHandler h, NestedId id, PetscObject o1,… in PetscLogHandlerNestedEventEnd()
175 static PetscErrorCode PetscLogHandlerEventEnd_Nested(PetscLogHandler h, PetscLogEvent e, PetscObjec… in PetscLogHandlerEventEnd_Nested()
182 static PetscErrorCode PetscLogHandlerEventSync_Nested(PetscLogHandler h, PetscLogEvent e, MPI_Comm … in PetscLogHandlerEventSync_Nested()
193 static PetscErrorCode PetscLogHandlerStagePush_Nested(PetscLogHandler h, PetscLogStage stage) in PetscLogHandlerStagePush_Nested()
[all …]
/petsc/src/sys/classes/draw/utils/
H A Dimage.c11 …M(const char filename[], unsigned char palette[][3], unsigned int w, unsigned int h, const unsigne… in PetscDrawImageSavePPM()
48 …M(const char filename[], unsigned char palette[][3], unsigned int w, unsigned int h, const unsigne… in PetscDrawImageSave_PPM()
66 …G(const char filename[], unsigned char palette[][3], unsigned int w, unsigned int h, const unsigne… in PetscDrawImageSavePNG()
110 …G(const char filename[], unsigned char palette[][3], unsigned int w, unsigned int h, const unsigne… in PetscDrawImageSave_PNG()
128 #define EGifOpenFileHandle(h, err) EGifOpenFileName(h) argument
131 #define DGifOpenFileHandle(h, err) DGifOpenFileName(h) argument
135 …F(const char filename[], unsigned char palette[][3], unsigned int w, unsigned int h, const unsigne… in PetscDrawImageSaveGIF()
172 …F(const char filename[], unsigned char palette[][3], unsigned int w, unsigned int h, const unsigne… in PetscDrawImageSave_GIF()
239 …G(const char filename[], unsigned char palette[][3], unsigned int w, unsigned int h, const unsigne… in PetscDrawImageSaveJPG()
297 …G(const char filename[], unsigned char palette[][3], unsigned int w, unsigned int h, const unsigne… in PetscDrawImageSave_JPG()
[all …]
/petsc/include/petsc/private/
H A Dpetsclegacycupmblas.h17 …#define cublasXgemv(a, b, c, d, e, f, g, h, i, j, k, l) cublasCgemv((a), (b), (c), (d), (cuC… argument
18 …#define cublasXgemm(a, b, c, d, e, f, g, h, i, j, k, l, m, n) cublasCgemm((a), (b), (c), (d), (e),… argument
19 …#define cublasXgeam(a, b, c, d, e, f, g, h, i, j, k, l, m) cublasCgeam((a), (b), (c), (d), (e),… argument
20 #define cublasXgemvStridedBatched(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p) \ argument
31 …#define cublasXgemv(a, b, c, d, e, f, g, h, i, j, k, l) cublasZgemv((a), (b), (c), (d), (cuD… argument
32 …#define cublasXgemm(a, b, c, d, e, f, g, h, i, j, k, l, m, n) cublasZgemm((a), (b), (c), (d), (e),… argument
33 …#define cublasXgeam(a, b, c, d, e, f, g, h, i, j, k, l, m) cublasZgeam((a), (b), (c), (d), (e),… argument
34 #define cublasXgemvStridedBatched(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p) \ argument
70 …#define cusolverDnXpotrf(a, b, c, d, e, f, g, h) cusolverDnCpotrf((a), (b),… argument
72 …#define cusolverDnXpotrs(a, b, c, d, e, f, g, h, i) cusolverDnCpotrs((a), (b),… argument
[all …]
H A Dpetscimpl.h327 #define PetscHeaderCreate(h, classid, class_name, descr, mansec, comm, destroy, view) \ argument
392 #define PetscHeaderDestroy(h) PetscHeaderDestroy_Function((PetscObject *)h) argument
431 #define PetscValidHeaderSpecificType(h, ck, arg, t) \ argument
445 #define PetscValidHeaderSpecific(h, ck, arg) \ argument
454 #define PetscValidHeader(h, arg) \ argument
511 …#define PetscAssertPointer_PetscDataType(h) ::Petsc::util::PetscAssertPointerImpl<typename std::de… argument
512 …#define PetscAssertPointer_String(h) ::Petsc::util::PetscAssertPointerImpl<typename std::de… argument
523 #define PetscAssertPointer_PetscDataType(h) \ argument
547 #define PetscAssertPointer_String(h) \ argument
563 #define PetscAssertPointer_PetscDataType(h) PETSC_CHAR argument
[all …]
H A Dhashtable.h38 #define kh_reset(name, h) \ argument
57 #define kh_foreach(h, kvar, vvar, code) \ argument
76 #define kh_foreach_key(h, kvar, code) \ argument
94 #define kh_foreach_value(h, vvar, code) \ argument
/petsc/include/
H A Dpetscblaslapack.h82 …#define LAPACKorgqr_(a, b, c, d, e, f, g, h, i) PetscMissingLapack("ORGQR", a, b, c, d, e, f, g, h… argument
103 …#define LAPACKstein_(a, b, c, d, e, f, g, h, i, j, k, l, m) PetscMissingLapack("STEIN", a, b, c, d… argument
131 …#define LAPACKormqr_(a, b, c, d, e, f, g, h, i, j, k, l, m) PetscMissingLapack("ORMQR", a, b, c, d… argument
136 …#define LAPACKstegr_(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t) PetscMissingLapac… argument
142 …#define LAPACKsteqr_(a, b, c, d, e, f, g, h) PetscMissingLapack("STEQR", a, b, c, d, e, f, g, … argument
143 …#define LAPACKREALsteqr_(a, b, c, d, e, f, g, h) PetscMissingLapack("STEQR", a, b, c, d, e, f, g, … argument
149 #define LAPACKstev_(a, b, c, d, e, f, g, h) PetscMissingLapack("STEV", a, b, c, d, e, f, g, h) argument
150 #define LAPACKREALstev_(a, b, c, d, e, f, g, h) PetscMissingLapack("STEV", a, b, c, d, e, f, g, h) argument
155 …#define LAPACKhgeqz_(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t) PetscMissingLapac… argument
160 …#define LAPACKtrtrs_(a, b, c, d, e, f, g, h, i, j) PetscMissingLapack("TRTRS", a, b, c, d, e, f, g… argument
[all …]
/petsc/src/sys/tests/linter/
H A DtestValidPointers.c3 … *a, char *b, PetscInt *c, PetscMPIInt *d, PetscInt *e, PetscBool *f, PetscScalar *g, PetscReal *h) in testValidPointers()
27 … *a, char *b, PetscInt *c, PetscMPIInt *d, PetscInt *e, PetscBool *f, PetscScalar *g, PetscReal *h) in testValidPointers2()
51 …ar **b, PetscInt **c, PetscMPIInt **d, PetscInt **e, PetscBool **f, PetscScalar **g, PetscReal **h) in testValidPointers3()
/petsc/src/tao/unconstrained/tutorials/
H A Dconvergencestudy.m5 h = zeros(5,1); variable
49 h = zeros(4,1); variable
/petsc/src/sys/logging/handler/impls/trace/
H A Dlogtrace.c12 static PetscErrorCode PetscLogHandlerEventBegin_Trace(PetscLogHandler h, PetscLogEvent event, Petsc… in PetscLogHandlerEventBegin_Trace()
37 static PetscErrorCode PetscLogHandlerEventEnd_Trace(PetscLogHandler h, PetscLogEvent event, PetscOb… in PetscLogHandlerEventEnd_Trace()
61 static PetscErrorCode PetscLogHandlerDestroy_Trace(PetscLogHandler h) in PetscLogHandlerDestroy_Trace()
112 PetscLogHandler h; in PetscLogHandlerCreateTrace() local
/petsc/src/binding/petsc4py/demo/legacy/perftest/
H A DApp.f901 subroutine formFunction_C(nx, ny, nz, h, t, x, xdot, f) & argument
6 real(kind=C_DOUBLE), intent(in) :: h(3), t local
12 subroutine formInitial_C(nx, ny, nz, h, t, x) & argument
17 real(kind=C_DOUBLE), intent(in) :: h(3), t local
43 subroutine forminitial_f(nx, ny, nz, h, t, x) argument
46 real(kind=8), intent(in) :: h(3), t local
52 subroutine formfunction_f(nx, ny, nz, h, t, x, xdot, f) argument
55 real(kind=8), intent(in) :: h(3), t local
/petsc/src/mat/impls/aij/seq/seqhipsparse/
H A Dhipsparsematimpl.h33 …#define hipsparseXcsrilu02_bufferSize(a, b, c, d, e, f, g, h, i) hipsparseCcsrilu02_bufferSize(a,… argument
34 …#define hipsparseXcsrilu02_analysis(a, b, c, d, e, f, g, h, i, j) hipsparseCcsrilu02_analysis(a, b… argument
35 …#define hipsparseXcsrilu02(a, b, c, d, e, f, g, h, i, j) hipsparseCcsrilu02(a, b, c, d, (… argument
36 …#define hipsparseXcsric02_bufferSize(a, b, c, d, e, f, g, h, i) hipsparseCcsric02_bufferSize(a, … argument
37 …#define hipsparseXcsric02_analysis(a, b, c, d, e, f, g, h, i, j) hipsparseCcsric02_analysis(a, b,… argument
38 …#define hipsparseXcsric02(a, b, c, d, e, f, g, h, i, j) hipsparseCcsric02(a, b, c, d, (h… argument
42 …#define hipsparseXcsrilu02_bufferSize(a, b, c, d, e, f, g, h, i) hipsparseZcsrilu02_bufferSize(a,… argument
43 …#define hipsparseXcsrilu02_analysis(a, b, c, d, e, f, g, h, i, j) hipsparseZcsrilu02_analysis(a, b… argument
44 …#define hipsparseXcsrilu02(a, b, c, d, e, f, g, h, i, j) hipsparseZcsrilu02(a, b, c, d, (… argument
45 …#define hipsparseXcsric02_bufferSize(a, b, c, d, e, f, g, h, i) hipsparseZcsric02_bufferSize(a, … argument
[all …]
/petsc/src/mat/impls/aij/seq/seqcusparse/
H A Dcusparsematimpl.h23 …#define cusparseXcsrilu02_bufferSize(a, b, c, d, e, f, g, h, i) cusparseCcsrilu02_bufferSize(a, b… argument
24 …#define cusparseXcsrilu02_analysis(a, b, c, d, e, f, g, h, i, j) cusparseCcsrilu02_analysis(a, b, … argument
25 …#define cusparseXcsrilu02(a, b, c, d, e, f, g, h, i, j) cusparseCcsrilu02(a, b, c, d, (cu… argument
26 …#define cusparseXcsric02_bufferSize(a, b, c, d, e, f, g, h, i) cusparseCcsric02_bufferSize(a, b,… argument
27 …#define cusparseXcsric02_analysis(a, b, c, d, e, f, g, h, i, j) cusparseCcsric02_analysis(a, b, c… argument
28 …#define cusparseXcsric02(a, b, c, d, e, f, g, h, i, j) cusparseCcsric02(a, b, c, d, (cuC… argument
32 …#define cusparseXcsrilu02_bufferSize(a, b, c, d, e, f, g, h, i) cusparseZcsrilu02_bufferSize(a, b… argument
33 …#define cusparseXcsrilu02_analysis(a, b, c, d, e, f, g, h, i, j) cusparseZcsrilu02_analysis(a, b, … argument
34 …#define cusparseXcsrilu02(a, b, c, d, e, f, g, h, i, j) cusparseZcsrilu02(a, b, c, d, (cu… argument
35 …#define cusparseXcsric02_bufferSize(a, b, c, d, e, f, g, h, i) cusparseZcsric02_bufferSize(a, b,… argument
[all …]
/petsc/src/sys/classes/draw/impls/x/
H A Dxtext.c19 PetscErrorCode PetscDrawXiFontFixed(PetscDraw_X *XBWin, int w, int h, PetscDrawXiFont **outfont) in PetscDrawXiFontFixed()
37 int w, h, descent; member
119 static PetscErrorCode PetscDrawXiMatchFontSize(PetscDrawXiFont *font, int w, int h) in PetscDrawXiMatchFontSize()
H A Dxinit.c130 …etscErrorCode PetscDrawXiDisplayWindow(PetscDraw_X *XiWin, char *label, int x, int y, int w, int h) in PetscDrawXiDisplayWindow()
257 PetscErrorCode PetscDrawXiResizeWindow(PetscDraw_X *XiWin, int w, int h) in PetscDrawXiResizeWindow()
269 PetscErrorCode PetscDrawXiGetGeometry(PetscDraw_X *XiWin, int *x, int *y, int *w, int *h) in PetscDrawXiGetGeometry()
/petsc/src/sys/logging/
H A Dplog.c156 PetscLogHandler h = PetscLogHandlers[i].handler; in PetscLogTryGetHandler() local
228 static PetscErrorCode PetscLogHandlerCopyToHot(PetscLogHandler h, PetscLogHandlerHot *hot) in PetscLogHandlerCopyToHot()
266 PetscErrorCode PetscLogHandlerStart(PetscLogHandler h) in PetscLogHandlerStart()
322 PetscErrorCode PetscLogHandlerStop(PetscLogHandler h) in PetscLogHandlerStop()
695 PetscLogHandler h = PetscLogHandlers[i].handler; in PetscLogActions() local
726 PetscLogHandler h = PetscLogHandlers[i].handler; in PetscLogObjects() local
798 PetscLogHandler h = PetscLogHandlers[i].handler; in PetscLogStagePush() local
840 PetscLogHandler h = PetscLogHandlers[i].handler; in PetscLogStagePop() local
919 PetscLogHandler h = PetscLogHandlers[i].handler; in PetscLogStageSetVisible() local
1296 PetscLogHandler h = PetscLogHandlers[i].handler; in PetscLogEventDeactivatePush() local
[all …]
/petsc/src/ts/impls/explicit/rk/
H A Dmrk.c34 PetscReal h = ts->time_step; in TSInterpolate_RK_MultirateNonsplit() local
64 PetscReal t = ts->ptime, h = ts->time_step; in TSStepRefine_RK_MultirateNonsplit() local
130 PetscReal next_time_step = ts->time_step, t = ts->ptime, h = ts->time_step; in TSStep_RK_MultirateNonsplit() local
237 PetscReal h; in TSInterpolate_RK_MultirateSplit() local
286 PetscReal h = ts->time_step; in TSEvaluateStep_RK_MultirateSplit() local
318 PetscReal t = ts->ptime, h = ts->time_step; in TSStepRefine_RK_MultirateSplit() local
375 PetscReal next_time_step = ts->time_step, t = ts->ptime, h = ts->time_step; in TSStep_RK_MultirateSplit() local
/petsc/src/ts/impls/implicit/glle/
H A Dglleadapt.c185 …ers[], const PetscReal errors[], const PetscReal cost[], PetscInt cur, PetscReal h, PetscReal tlef… in TSGLLEAdaptChoose()
223 PetscReal h; member
226 …ers[], const PetscReal errors[], const PetscReal cost[], PetscInt cur, PetscReal h, PetscReal tlef… in TSGLLEAdaptChoose_None()
254 …ers[], const PetscReal errors[], const PetscReal cost[], PetscInt cur, PetscReal h, PetscReal tlef… in TSGLLEAdaptChoose_Size()
295 …ers[], const PetscReal errors[], const PetscReal cost[], PetscInt cur, PetscReal h, PetscReal tlef… in TSGLLEAdaptChoose_Both()
301 PetscReal h, eff; in TSGLLEAdaptChoose_Both() member
/petsc/src/ts/tutorials/advection-diffusion-reaction/
H A Dex6.c117 PetscReal h; in InitialConditions() local
163 PetscReal a = appctx->a, h, PI6, PI2; in Solution() local
199 PetscScalar *uarray, *f, *uoldarray, h, uave, c; in IFunction_LaxFriedrichs() local
247 PetscScalar *uarray, *f, *uoldarray, h, RFlux, LFlux, lambda; in IFunction_LaxWendroff() local
H A Dex3.c157 PetscScalar *u, h; in InitialConditions() local
205 PetscScalar *u, ex1, ex2, sc1, sc2, h; in Solution() local
262 PetscScalar v[3], h; in RHSMatrixHeat() local
/petsc/src/vec/is/utils/hdf5/
H A Dhdf5io.c37 HDF5ReadCtx h = NULL; in PetscViewerHDF5ReadInitialize_Private() local
59 HDF5ReadCtx h; in PetscViewerHDF5ReadFinalize_Private() local
225 static PetscErrorCode PetscViewerHDF5ReadArray_Private(PetscViewer viewer, HDF5ReadCtx h, hid_t dat… in PetscViewerHDF5ReadArray_Private()
238 HDF5ReadCtx h = NULL; in PetscViewerHDF5Load_Internal() local
354 HDF5ReadCtx h = NULL; in PetscViewerHDF5ReadSizes() local
/petsc/src/tao/leastsquares/tutorials/matlab/
H A DTestingPlot.m25 h = perf_profile(H,1e-3,0); variable

12345678910