Home
last modified time | relevance | path

Searched refs:kind (Results 1 – 25 of 101) sorted by relevance

12345

/petsc/src/binding/petsc4py/demo/legacy/wrap-f2py/
H A DBratu2D.pyf13 integer(kind=HANDLE_KIND) dm ! DM
14 integer(kind=HANDLE_KIND) x ! Vec
15 real(kind=8) param
21 integer(kind=HANDLE_KIND) dm ! DM
22 integer(kind=HANDLE_KIND) x ! Vec
23 integer(kind=HANDLE_KIND) f ! Vec
24 real(kind=8) param
30 integer(kind=HANDLE_KIND) dm ! DM
31 integer(kind=HANDLE_KIND) x ! Vec
32 integer(kind=HANDLE_KIND) J ! Vec
[all …]
/petsc/lib/petsc/bin/maint/petsclinter/petsclinter/checks/
H A D_util.py53 c for c in func_cursor.get_children() if c.type.get_pointee().kind == clx.TypeKind.FUNCTIONPROTO
87 obj_type_kind = obj_type.kind
313 assert petsc_object_type.kind == clx.TypeKind.RECORD, 'Symbol does not appear to be a struct!'
336 diag.kind = Diagnostic.Kind.WARNING
382 if def_cursor.kind == clx.CursorKind.VAR_DECL:
388 if def_child.kind in convert_or_dereference_cursors:
390 … child for child in def_child.walk_preorder() if child.kind == clx.CursorKind.DECL_REF_EXPR
397 elif def_cursor.kind == clx.CursorKind.FIELD_DECL:
401 if member_child.kind == clx.CursorKind.MEMBER_REF_EXPR:
403 c for c in member_child.walk_preorder() if c.kind == clx.CursorKind.DECL_REF_EXPR
[all …]
/petsc/include/petsc/finclude/
H A Dpetscsysbase.h14 #define integer8 integer(kind=C_INT64_T)
15 #define integer4 integer(kind=C_INT32_T)
16 #define integer2 integer(kind=C_INT16_T)
17 #define integer1 integer(kind=C_INT8_T)
18 #define PetscBool logical(kind=C_BOOL)
44 #define PetscSizeT integer(kind=C_SIZE_T)
65 #define PetscFortranFloat real(kind=C_FLOAT)
66 #define PetscFortranDouble real(kind=C_DOUBLE)
67 #define PetscFortranLongDouble real(kind=C_FLOAT128)
69 #define PetscComplex complex(kind=C_FLOAT_COMPLEX)
[all …]
/petsc/src/binding/petsc4py/demo/legacy/perftest/
H A DApp.pyf11 real(kind=8), intent(in) :: h(3), t
12 real(kind=8), intent(in) :: x(nx,ny,nz), xdot(nx,ny,nz)
13 real(kind=8), intent(inout) :: f(nx,ny,nz)
21 real(kind=8), intent(in) :: h(3), t
22 real(kind=8), intent(inout) :: x(nx,ny,nz)
/petsc/lib/petsc/bin/maint/petsclinter/petsclinter/classes/
H A D_cursor.py298 elif cursor.kind in clx_math_cursor_kinds:
299 if cursor.kind == clx.CursorKind.BINARY_OPERATOR:
312 elif cursor.kind in clx_cast_cursor_kinds:
314 castee = [c for c in cursor.get_children() if c.kind == clx.CursorKind.UNEXPOSED_EXPR]
321 …elif (cursor.type.get_canonical().kind == clx.TypeKind.POINTER) or (cursor.kind == clx.CursorKind.…
322 if clx.CursorKind.ARRAY_SUBSCRIPT_EXPR in {c.kind for c in cursor.get_children()}:
325 c for c in cursor.walk_preorder() if c.type.get_canonical().kind in clx_pointer_type_kinds
327 elif cursor.type.get_pointee().kind == clx.TypeKind.CHAR_S:
331 pointees = [c for c in cursor.walk_preorder() if c.kind in clx_literal_cursor_kinds]
338 pointees = [c for c in pointees if c.kind not in subscript_operator_kinds]
[all …]
H A D_linter.py275 child_kind = child.kind
298 child_kind = child.kind
302 switch_children = [c for c in child.get_children() if c.kind == COMPOUND_STMT]
324 parent_kind = possible_parent.kind
339 if sub_cursor.is_definition() and sub_cursor.kind in lintable_kinds:
347 if possible_parent.kind in clx_func_call_cursor_kinds:
453 if child.kind == clx.CursorKind.VISIBILITY_ATTR and child.spelling in {'default', 'hidden'}:
458 if func.kind != clx.CursorKind.FUNCTION_DECL or func.storage_class == clx.StorageClass.STATIC:
473 lex_parent_kind = lex_parent.kind
508 if result_type.get_declaration().kind == clx.CursorKind.NO_DECL_FOUND:
[all …]
H A D_diag.py435 kind: DiagnosticKind
437 …def __init__(self, kind: DiagnosticKind, flag: str, message: str, location: SourceLocationLike, pa…
464 self.kind = kind
493 …def from_source_range(cls, kind: DiagnosticKind, diag_flag: str, msg: str, src_range: SourceRangeL…
524 kind, diag_flag,
H A D_util.py54 return not t.kind == clx.TypeKind.INVALID
67 ret_list = [level.view(title, str(t.kind), ' '.join(fully_qualify(t)))]
81 ret_list.append(level.view(cursor.kind, cursor.spelling, cursor.displayname, cursor.location))
/petsc/share/petsc/datafiles/matrices/
H A DLFAT5.mtx11 % fields: name title A id notes aux date author ed kind
13 % kind: model reduction problem
/petsc/include/petsc/private/
H A Dcupminterface.hpp674 …est, const util::type_identity_t<D> *src, std::size_t n, cupmMemcpyKind_t kind, cupmStream_t strea… in PetscCUPMMemcpyAsync()
686 if (kind == cupmMemcpyHostToHost) { in PetscCUPMMemcpyAsync()
699 if (use_async || stream || (kind != cupmMemcpyDeviceToHost)) { in PetscCUPMMemcpyAsync()
700 PetscCallCUPM(cupmMemcpyAsync(dest, src, size, kind, stream)); in PetscCUPMMemcpyAsync()
702 PetscCallCUPM(cupmMemcpy(dest, src, size, kind)); in PetscCUPMMemcpyAsync()
704 PetscCall(PetscLogCUPMMemcpyTransfer(kind, size)); in PetscCUPMMemcpyAsync()
709 …Memcpy(D *dest, const util::type_identity_t<D> *src, std::size_t n, cupmMemcpyKind_t kind) noexcept in PetscCUPMMemcpy()
712 PetscCall(PetscCUPMMemcpyAsync(dest, src, n, kind)); in PetscCUPMMemcpy()
717 …size_t src_pitch, std::size_t width, std::size_t height, cupmMemcpyKind_t kind, cupmStream_t strea… in PetscCUPMMemcpy2DAsync()
729 if (stream || (kind != cupmMemcpyDeviceToHost)) { in PetscCUPMMemcpy2DAsync()
[all …]
/petsc/src/ksp/ksp/tutorials/output/
H A Dex29_3.out45 Chebyshev polynomial of first kind
75 Chebyshev polynomial of first kind
105 Chebyshev polynomial of first kind
135 Chebyshev polynomial of first kind
H A Dex29_4.out45 Chebyshev polynomial of first kind
75 Chebyshev polynomial of first kind
105 Chebyshev polynomial of first kind
135 Chebyshev polynomial of first kind
H A Dex66_1.out38 Chebyshev polynomial of first kind
70 Chebyshev polynomial of first kind
102 Chebyshev polynomial of first kind
H A Dex50_1.out36 Chebyshev polynomial of first kind
68 Chebyshev polynomial of first kind
100 Chebyshev polynomial of first kind
H A Dex66_2.out54 Chebyshev polynomial of first kind
85 Chebyshev polynomial of first kind
116 Chebyshev polynomial of first kind
H A Dex50_2.out52 Chebyshev polynomial of first kind
83 Chebyshev polynomial of first kind
114 Chebyshev polynomial of first kind
H A Dex34_1.out51 Chebyshev polynomial of first kind
83 Chebyshev polynomial of first kind
/petsc/src/ksp/ksp/impls/cheby/
H A Dcheby.c124 static PetscErrorCode KSPChebyshevSetKind_Chebyshev(KSP ksp, KSPChebyshevKind kind) in KSPChebyshevSetKind_Chebyshev() argument
129 cheb->chebykind = kind; in KSPChebyshevSetKind_Chebyshev()
133 static PetscErrorCode KSPChebyshevGetKind_Chebyshev(KSP ksp, KSPChebyshevKind *kind) in KSPChebyshevGetKind_Chebyshev() argument
138 *kind = cheb->chebykind; in KSPChebyshevGetKind_Chebyshev()
303 PetscErrorCode KSPChebyshevSetKind(KSP ksp, KSPChebyshevKind kind) in KSPChebyshevSetKind() argument
307 PetscValidLogicalCollectiveEnum(ksp, kind, 2); in KSPChebyshevSetKind()
308 PetscUseMethod(ksp, "KSPChebyshevSetKind_C", (KSP, KSPChebyshevKind), (ksp, kind)); in KSPChebyshevSetKind()
325 PetscErrorCode KSPChebyshevGetKind(KSP ksp, KSPChebyshevKind *kind) in KSPChebyshevGetKind() argument
329 PetscUseMethod(ksp, "KSPChebyshevGetKind_C", (KSP, KSPChebyshevKind *), (ksp, kind)); in KSPChebyshevGetKind()
/petsc/src/snes/tutorials/output/
H A Dex19_tut_2.out109 Chebyshev polynomial of first kind
139 Chebyshev polynomial of first kind
169 Chebyshev polynomial of first kind
199 Chebyshev polynomial of first kind
229 Chebyshev polynomial of first kind
H A Dex5_2.out84 Chebyshev polynomial of first kind
115 Chebyshev polynomial of first kind
146 Chebyshev polynomial of first kind
H A Dex5_2_alt.out80 Chebyshev polynomial of first kind
111 Chebyshev polynomial of first kind
142 Chebyshev polynomial of first kind
H A Dex18_3.out58 Chebyshev polynomial of first kind
89 Chebyshev polynomial of first kind
H A Dex18_1.out59 Chebyshev polynomial of first kind
90 Chebyshev polynomial of first kind
/petsc/lib/petsc/bin/maint/petsclinter/petsclinter/classes/docs/
H A D_doc_section.py438 while canon_type.kind == clx.TypeKind.POINTER:
463 kind = self._get_deref_pointer_cursor_type(arg).kind
467 if kind in clx_function_type_kinds:
732 if self._get_deref_pointer_cursor_type(c).kind == clx.TypeKind.FUNCTIONPROTO
784 if self._get_deref_pointer_cursor_type(cursor).kind == clx.TypeKind.FUNCTIONPROTO:
786 … self._get_recursive_cursor_list(c for c in cursor.get_children() if c.kind == PARM_DECL_KIND)
H A D_doc_str.py693 …def make_diagnostic(self, kind: DiagnosticKind, diag_flag: str, msg: str, src_range: Optional[Unio…
719 return Diagnostic.from_source_range(kind, diag_flag, msg, src_range, patch=patch, **kwargs)
721 …def add_diagnostic_from_source_range(self, kind: DiagnosticKind, diag_flag: str, msg: str, src_ran…
737 return self.add_diagnostic(self.make_diagnostic(kind, diag_flag, msg, src_range, **kwargs))
848 sowing_type, lay_type, self.type = self.clx_to_sowing_type[self.cursor.type.kind]

12345