Home
last modified time | relevance | path

Searched refs:types (Results 1 – 25 of 110) sorted by relevance

12345

/petsc/src/mat/tests/
H A Dmmio.c330 const char *types[4]; in mm_typecode_to_str() local
333 if (mm_is_matrix(matcode)) types[0] = MM_MTX_STR; in mm_typecode_to_str()
337 if (mm_is_sparse(matcode)) types[1] = MM_SPARSE_STR; in mm_typecode_to_str()
338 else if (mm_is_dense(matcode)) types[1] = MM_DENSE_STR; in mm_typecode_to_str()
342 if (mm_is_real(matcode)) types[2] = MM_REAL_STR; in mm_typecode_to_str()
343 else if (mm_is_complex(matcode)) types[2] = MM_COMPLEX_STR; in mm_typecode_to_str()
344 else if (mm_is_pattern(matcode)) types[2] = MM_PATTERN_STR; in mm_typecode_to_str()
345 else if (mm_is_integer(matcode)) types[2] = MM_INT_STR; in mm_typecode_to_str()
349 if (mm_is_general(matcode)) types[3] = MM_GENERAL_STR; in mm_typecode_to_str()
350 else if (mm_is_symmetric(matcode)) types[3] = MM_SYMM_STR; in mm_typecode_to_str()
[all …]
/petsc/src/vec/is/sf/interface/
H A Dsftype.c74 MPI_Datatype types[1] = {MPI_INT}; in MPIPetsc_Type_unwrap() local
83 …CallMPI(MPIPetsc_Type_get_contents(a, nints, naddrs, ncounts, ntypes, ints, addrs, counts, types)); in MPIPetsc_Type_unwrap()
85 PetscCall(MPIPetsc_Type_unwrap(types[0], atype, flg)); in MPIPetsc_Type_unwrap()
90 PetscCallMPI(MPI_Type_free(&types[0])); in MPIPetsc_Type_unwrap()
96 …CallMPI(MPIPetsc_Type_get_contents(a, nints, naddrs, ncounts, ntypes, ints, addrs, counts, types)); in MPIPetsc_Type_unwrap()
98 PetscCall(MPIPetsc_Type_unwrap(types[0], atype, flg)); in MPIPetsc_Type_unwrap()
99 if (*flg) PetscCall(MPIPetsc_Type_free(&types[0])); in MPIPetsc_Type_unwrap()
102 PetscCall(MPIPetsc_Type_free(&types[0])); in MPIPetsc_Type_unwrap()
/petsc/config/BuildSystem/config/packages/
H A DSYCL.py51 size = self.types.checkSizeof('void *', (8, 4), lang='SYCL', save=False)
52 if size != self.types.sizes['void-p']:
69 …sycl_size = self.types.checkSizeof('teststruct', (16, 12), lang='SYCL', codeBegin=typedef, save=Fa…
70 … c_size = self.types.checkSizeof('teststruct', (16, 12), lang='C', codeBegin=typedef, save=False)
H A DHIP.py93 size = self.types.checkSizeof('void *', (8, 4), lang='HIP', save=False)
94 if size != self.types.sizes['void-p']:
111 …hip_size = self.types.checkSizeof('teststruct', (16, 12), lang='HIP', codeBegin=typedef, save=Fals…
112 … c_size = self.types.checkSizeof('teststruct', (16, 12), lang='C', codeBegin=typedef, save=False)
H A DCUDA.py264 size = self.types.checkSizeof('void *', (8, 4), lang='CUDA', save=False)
265 if size != self.types.sizes['void-p']:
298 …cuda_size = self.types.checkSizeof('teststruct', (16, 12), lang='CUDA', codeBegin=typedef, save=Fa…
299 … c_size = self.types.checkSizeof('teststruct', (16, 12), lang='C', codeBegin=typedef, save=False)
H A DpARMS.py52 g.write('CFFLAGS = ${CFDEFS} -DVOID_POINTER_SIZE_'+str(self.types.sizes['void-p'])+'\n')
/petsc/config/PETSc/options/
H A DscalarTypes.py31 self.types = framework.require('config.types', self)
37 self.types = framework.require('config.types', self)
47 if self.languages.clanguage == 'C' and not self.types.c99_complex:
49 if self.languages.clanguage == 'Cxx' and not self.types.cxx_complex:
H A DmemAlign.py23 self.types = framework.require('config.types', self)
/petsc/src/binding/petsc4py/test/
H A Dtest_optdb.py82 types = [
88 types.append(
97 types.append(
110 for pyt, pat, pget, pgetarray in types:
/petsc/include/petsc/private/
H A Dftnimpl.h372 #define PetscObjectUseFortranCallback_Private(obj, cid, types, args, cbclass) \ argument
374 void(*func) types, *_ctx; \
380 …PetscObjectUseFortranCallback(obj, cid, types, args) PetscObjectUseFortranCallback_Private(… argument
381 …cObjectUseFortranCallbackSubType(obj, cid, types, args) PetscObjectUseFortranCallback_Private(obj,… argument
/petsc/src/dm/dt/tests/
H A Dex15.c50 …const PetscDTSimplexQuadratureType types[] = {PETSCDTSIMPLEXQUAD_DEFAULT, PETSCDTSIMPLEXQUAD_CONIC… in main() local
52 for (PetscInt t = 0; t < 3; t++) PetscCall(testQuadrature(dim, deg, types[t])); in main()
/petsc/src/binding/petsc4py/docs/source/
H A Ddocumentation_standards.rst49 their types must be explicitly documented within this section.
51 For methods, types should only be specified in this section if for some reason
52 the types provided by typing prove to be inadequate. If no type is being
98 For petsc4py native types that are strings, the type is ``argument:
H A Dpetsc_python_types.rst3 PETSc Python types
6 Here we discuss details about Python-aware PETSc types that can be used within the library.
/petsc/doc/ext/
H A Dhtml5_petsc.py6 import types
48 translator = types.new_class(
58 translator = types.new_class(
/petsc/doc/miscellaneous/
H A Dindex.md4 considered together) of various types or from different sources that we consider
/petsc/src/binding/petsc4py/src/petsc4py/lib/
H A D__init__.pyi1 from types import ModuleType
/petsc/src/vec/vec/tests/
H A Dex48.c210 PetscDataType types[nt]; member
227 PetscDataType types[nt] = {PETSC_BOOL, PETSC_INT, PETSC_REAL, PETSC_STRING, PETSC_STRING}; in CapsuleCreate() local
250 c->types[t] = types[t]; in CapsuleCreate()
270 PetscCall(PetscViewerHDF5WriteAttribute(v, parent, c->names[t], c->types[t], c->vals[t])); in CapsuleWriteAttributes()
308 if (c->types[t] == PETSC_STRING) { in CapsuleReadAndCompareAttributes()
309 PetscCall(PetscViewerHDF5ReadAttribute(v, parent, attribute, c->types[t], NULL, &str)); in CapsuleReadAndCompareAttributes()
312 PetscCall(PetscViewerHDF5ReadAttribute(v, parent, attribute, c->types[t], NULL, &buffer)); in CapsuleReadAndCompareAttributes()
315 PetscCall(compare(c->types[t], ptr0, c->vals[t], &flg)); in CapsuleReadAndCompareAttributes()
318 if (c->types[t] == PETSC_STRING) PetscCall(PetscFree(str)); in CapsuleReadAndCompareAttributes()
/petsc/lib/petsc/bin/maint/petsclinter/petsclinter/util/
H A D_timeout.py17 from types import FrameType
/petsc/doc/changes/
H A D216.md22 been reorganized. This is implemented using new matrix types
27 - Added new convenience matrix types which automatically switch
H A D221.md6 - Introduced 4 new PETSc data types: PetscInt, PetscErrorCode,
12 the the other 3 types remain 32 bit (i.e. int in C and integer\*4
H A D310.md55 - Added new matrix types for limited-memory variable-metric
127 update types and nonlinear preconditioning.
/petsc/src/binding/petsc4py/conf/
H A Depydoc.cfg123 # The list of graph types that should be automatically included
125 # executable. Graph types include: "classtree", "callgraph",
126 # "umlclasstree". Use "all" to include all graph types
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DDMStag.pyx4 """Stencil types."""
11 """Stencil location types."""
80 The boundary types.
118 # boundary types
204 """Set the boundary types.
211 Boundary types for one/two/three dimensions.
479 """Return boundary types in each dimension.
867 """Boundary types in each dimension."""
/petsc/src/dm/impls/plex/
H A Dplexvtu.c55 PetscVTKType *types; in DMPlexGetVTKConnectivity() local
59 PetscCall(PetscMalloc3(piece->nconn, &conn, piece->ncells, &offsets, piece->ncells, &types)); in DMPlexGetVTKConnectivity()
111 types[countcell] = (PetscVTKType)celltype; in DMPlexGetVTKConnectivity()
118 *otypes = types; in DMPlexGetVTKConnectivity()
517 PetscVTKType *types = NULL; in DMPlexVTKWriteAll_VTU() local
518 PetscCall(DMPlexGetVTKConnectivity(dm, localized, &piece, &connectivity, &offsets, &types)); in DMPlexVTKWriteAll_VTU()
521 … PetscCall(TransferWrite(comm, viewer, fp, r, 0, types, buffer, piece.ncells, MPI_CHAR, tag)); in DMPlexVTKWriteAll_VTU()
522 PetscCall(PetscFree3(connectivity, offsets, types)); in DMPlexVTKWriteAll_VTU()
/petsc/doc/manual/
H A Dregressor.md118 One can see the list of regressor types in Table
154 Currently, linear regressor has three types, which are described
158 .. list-table:: Linear Regressor types

12345