Home
last modified time | relevance | path

Searched refs:typename (Results 1 – 21 of 21) sorted by relevance

/petsc/include/
H A Dpetsccxxcomplexfix.h51 template <typename Cmplex, typename Atype> // operation on a complex and an arithmetic type
63 template <typename Cmplex, typename Atype>
64 inline typename std::enable_if<petsccomplex_extended_type<Cmplex, Atype>::value, Cmplex>::type oper…
69 template <typename Cmplex, typename Atype>
70 inline typename std::enable_if<petsccomplex_extended_type<Cmplex, Atype>::value, Cmplex>::type oper…
75 template <typename Cmplex, typename Atype>
76 inline typename std::enable_if<petsccomplex_extended_type<Cmplex, Atype>::value, Cmplex>::type oper…
81 template <typename Cmplex, typename Atype>
82 inline typename std::enable_if<petsccomplex_extended_type<Cmplex, Atype>::value, Cmplex>::type oper…
87 template <typename Cmplex, typename Atype>
[all …]
H A Dpetscoptions.h281 template <typename... T>
284 template <typename... T>
286 template <typename... T>
288 template <typename... T>
290 template <typename... T>
292 template <typename... T>
294 template <typename... T>
296 template <typename... T>
298 template <typename... T>
300 template <typename... T>
[all …]
H A Dpetscerror.h1897 template <typename F, typename... Args>
1899 template <typename F, typename... Args>
H A Dpetscmacros.h1176 template <typename T>
/petsc/lib/petsc/bin/
H A Dgeneratefortranbindings.py53 ktypename = k.typename.replace('MPI_', 'MPIU_').replace('MPIU_Fint', 'MPI_Fint')
77 if k.typename == 'PetscCtxRt':
92 if k.typename == 'PetscCtxRt':
103 fun.arguments[0].typename = 'PetscFortranAddr'
104 fun.arguments[2].typename = 'PetscFortranAddr'
122 ktypename = k.typename
148 ktypename = k.typename.replace('MPI_', 'MPIU_').replace('MPIU_Fint', 'MPI_Fint')
182 fun.arguments[0].typename = 'PetscObject'
183 fun.arguments[2].typename = 'PetscObject'
206 if k.array and k.stars and not k.typename == 'char': skipbody = True
[all …]
H A DgetAPI.py92 …def __init__(self, name = None, typename = None, stars = 0, array = False, const = False, *args, *… argument
94 self.typename = typename
108 mstr = ' ' + str(self.typename) + ' '
602 arg.typename = i
604 if arg.typename == 'char' and not arg.array and arg.stars == 1:
607 if arg.typename == 'char' and not arg.array and arg.stars == 0:
611 if arg.typename.endswith('Fn'):
613 if arg.typename == 'external':
616 if arg.typename.count('_') and not arg.typename in ['MPI_Comm', 'size_t']:
618 …ents and not fun.arguments[-1].const and fun.arguments[-1].typename == 'char' and arg.typename == …
/petsc/include/petsc/private/
H A Dveccupmimpl.h44 template <typename... T>
51 template <typename T>
61 template <typename U>
82 template <device::cupm::DeviceType T, typename Derived>
126 template <typename CastFunctionType>
169 template <typename U = Derived>
180 template <typename U = Derived>
183 template <typename U = Derived>
235 template <typename SetupFunctionT = no_op>
256 template <device::cupm::DeviceType T, typename D>
[all …]
H A Dpetscimpl.h415 template <typename T>
417 template <typename T>
419 template <typename T>
421 template <typename T>
425 template <typename T>
470 template <typename T>
511 …#define PetscAssertPointer_PetscDataType(h) ::Petsc::util::PetscAssertPointerImpl<typename std::de…
512 …#define PetscAssertPointer_String(h) ::Petsc::util::PetscAssertPointerImpl<typename std::de…
846 template <typename Ta, typename Tb>
848 template <typename Ta, typename Tb>
[all …]
H A Dmatdensecupmimpl.h154 template <device::cupm::DeviceType T, typename Derived>
166 template <typename U = Derived>
173 template <typename F>
191 template <device::cupm::DeviceType T, typename D>
211 template <device::cupm::DeviceType T, typename D>
220 template <device::cupm::DeviceType T, typename D>
229 template <device::cupm::DeviceType T, typename D>
239 template <device::cupm::DeviceType T, typename D>
262 template <device::cupm::DeviceType T, typename D>
269 template <device::cupm::DeviceType T, typename D>
[all …]
H A Ddeviceimpl.h41 template <typename T>
43 template <typename T, typename U>
45 template <typename T>
47 template <typename T>
49 template <typename T, typename U>
51 template <typename T>
53 template <typename T>
55 template <typename T, typename U>
H A Dmatimpl.h281 template <typename Tm>
283 template <typename Tm>
1308 template <typename Tm>
1310 template <typename Tm>
/petsc/lib/petsc/bin/maint/petsclinter/petsclinter/checks/
H A D_util.py189 def check_is_not_type(typename: str, linter: Linter, obj: Cursor, func_cursor: Cursor, valid_func: …
210 if typename in obj.derivedtypename:
272 if ('PetscBool' not in obj.derivedtypename) and ('bool' not in obj.typename):
306 if obj.typename not in classid_map:
326 typename = obj_decl.typename
332 if typename.startswith('_p_'):
361 expected = classid_map[obj.typename]
/petsc/config/BuildSystem/config/
H A Dtypes.py102 typename = typeName.replace(' ', '-').replace('*', 'p')
129 self.sizes[typename] = size
130 self.addDefine('SIZEOF_'+typename.replace('-', '_').upper(), str(size))
/petsc/lib/petsc/bin/maint/petsclinter/petsclinter/classes/
H A D_cursor.py132 typename: str
156 self.typename = cursor.typename
164 self.typename = self.get_typename_from_cursor(cursor)
268 typename = cls.get_typename_from_cursor(cursor)
421 return cursor.typename
586 … aka_mess = '' if cursor.typename == cursor.derivedtypename else f' (a.k.a. \'{cursor.typename}\')'
/petsc/src/vec/vec/impls/nest/
H A Dvecnestimpl.h42 template <typename Tv>
44 template <typename Tv>
/petsc/lib/petsc/bin/maint/petsclinter/petsclinter/
H A DREADME.rst112 template <typename T, typename U>
/petsc/doc/changes/
H A D216.md79 - -mat_type typename overloads the requested type for DAGetMatrix
/petsc/config/PETSc/
H A DConfigure.py772 def staticAssertSizeMatchesVoidStar(inc,typename): argument
776 + 'STATIC_ASSERT(sizeof(void*) == sizeof(%s));'%typename))
800 typename = default_typename
803 for include, typename, print_format in generator():
804 if staticAssertSizeMatchesVoidStar(include, typename):
808 self.addDefine(macro_name , typename)
/petsc/src/binding/petsc4py/docs/source/
H A Dapidoc.py159 typename = type(value).__name__
/petsc/src/tao/unconstrained/tutorials/
H A Drosenbrock4.h324 template <typename T>
/petsc/src/sys/objects/
H A Daoptions.c880 … static_assert(std::is_same<typename std::decay<decltype(amsopt->nlist)>::type, char>::value, ""); in PetscOptionsEList_Private()