Home
last modified time | relevance | path

Searched refs:htype (Results 1 – 6 of 6) sorted by relevance

/petsc/src/sys/classes/viewer/impls/hdf5/
H A Dhdf5v.c1111 PetscErrorCode PetscDataTypeToHDF5DataType(PetscDataType ptype, hid_t *htype) in PetscDataTypeToHDF5DataType() argument
1114 …if (ptype == PETSC_INT) *htype = PetscDefined(USE_64BIT_INDICES) ? H5T_NATIVE_LLONG : H5T_NATIVE_I… in PetscDataTypeToHDF5DataType()
1115 else if (ptype == PETSC_DOUBLE) *htype = H5T_NATIVE_DOUBLE; in PetscDataTypeToHDF5DataType()
1116 else if (ptype == PETSC_LONG) *htype = H5T_NATIVE_LONG; in PetscDataTypeToHDF5DataType()
1117 else if (ptype == PETSC_SHORT) *htype = H5T_NATIVE_SHORT; in PetscDataTypeToHDF5DataType()
1118 else if (ptype == PETSC_ENUM) *htype = H5T_NATIVE_INT; in PetscDataTypeToHDF5DataType()
1119 else if (ptype == PETSC_BOOL) *htype = H5T_NATIVE_HBOOL; in PetscDataTypeToHDF5DataType()
1120 else if (ptype == PETSC_FLOAT) *htype = H5T_NATIVE_FLOAT; in PetscDataTypeToHDF5DataType()
1121 else if (ptype == PETSC_CHAR) *htype = H5T_NATIVE_CHAR; in PetscDataTypeToHDF5DataType()
1122 else if (ptype == PETSC_BIT_LOGICAL) *htype = H5T_NATIVE_UCHAR; in PetscDataTypeToHDF5DataType()
[all …]
/petsc/src/mat/impls/aij/mpi/
H A Dfdmpiaij.c61 if (coloring->htype[0] == 'w') { in MatFDColoringApply_BAIJ()
80 if (ctype == IS_COLORING_GLOBAL && coloring->htype[0] == 'd') { in MatFDColoringApply_BAIJ()
108 if (coloring->htype[0] == 'w') { in MatFDColoringApply_BAIJ()
143 if (coloring->htype[0] == 'w') { in MatFDColoringApply_BAIJ()
214 if (coloring->htype[0] == 'w') { in MatFDColoringApply_AIJ()
234 if (ctype == IS_COLORING_GLOBAL && coloring->htype[0] == 'd') { in MatFDColoringApply_AIJ()
266 if (coloring->htype[0] == 'w') { in MatFDColoringApply_AIJ()
300 if (coloring->htype[0] == 'w') { in MatFDColoringApply_AIJ()
338 if (coloring->htype[0] == 'w') { in MatFDColoringApply_AIJ()
368 if (coloring->htype[0] == 'w') { in MatFDColoringApply_AIJ()
[all …]
/petsc/src/mat/matfd/
H A Dfdmatrix.c339 …_type", "Algorithm to compute h, wp or ds", "MatFDColoringCreate", matfd->htype, value, sizeof(val… in MatFDColoringSetFromOptions()
341 if (value[0] == 'w' && value[1] == 'p') matfd->htype = "wp"; in MatFDColoringSetFromOptions()
342 else if (value[0] == 'd' && value[1] == 's') matfd->htype = "ds"; in MatFDColoringSetFromOptions()
387 if (type[0] == 'w' && type[1] == 'p') matfd->htype = "wp"; in MatFDColoringSetType()
388 else if (type[0] == 'd' && type[1] == 's') matfd->htype = "ds"; in MatFDColoringSetType()
465 c->htype = "wp"; in MatFDColoringCreate()
505 if (color->htype[0] == 'w') { in MatFDColoringDestroy()
/petsc/src/mat/impls/aij/seq/
H A Dfdaij.c77 if (c->htype[0] == 'd') { /* c->htype == 'ds', use MatEntry */ in MatFDColoringSetUpBlocked_AIJ_Private()
213 if (c->htype[0] == 'd') { in MatFDColoringSetUp_SeqXAIJ()
216 } else if (c->htype[0] == 'w') { in MatFDColoringSetUp_SeqXAIJ()
259 if (c->htype[0] == 'd') { in MatFDColoringSetUp_SeqXAIJ()
/petsc/include/petsc/private/
H A Dmatimpl.h667 const char *htype; /* "wp" or "ds" */ member
/petsc/doc/manual/
H A Dsnes.md1324 -mat_fd_type <htype>