| /petsc/src/mat/impls/aij/seq/hdf5/ |
| H A D | aijhdf5.c | 42 PetscCall(PetscStrallocpy("jc", &i_name)); in MatLoad_AIJ_HDF5() 43 PetscCall(PetscStrallocpy("ir", &j_name)); in MatLoad_AIJ_HDF5() 44 PetscCall(PetscStrallocpy("data", &a_name)); in MatLoad_AIJ_HDF5() 45 PetscCall(PetscStrallocpy("MATLAB_sparse", &c_name)); in MatLoad_AIJ_HDF5() 49 PetscCall(PetscStrallocpy("jc", &i_name)); in MatLoad_AIJ_HDF5() 50 PetscCall(PetscStrallocpy("ir", &j_name)); in MatLoad_AIJ_HDF5() 51 PetscCall(PetscStrallocpy("data", &a_name)); in MatLoad_AIJ_HDF5() 52 PetscCall(PetscStrallocpy("MATLAB_sparse", &c_name)); in MatLoad_AIJ_HDF5()
|
| /petsc/src/sys/dll/ |
| H A D | demangle.c | 62 PetscCall(PetscStrallocpy(mangledName, name)); in PetscDemangleSymbol() 71 PetscCall(PetscStrallocpy(mangledName, name)); in PetscDemangleSymbol() 74 PetscCall(PetscStrallocpy(newname, name)); in PetscDemangleSymbol()
|
| /petsc/src/sys/utils/ |
| H A D | str.c | 158 for (PetscInt i = 0; i < n; i++) PetscCall(PetscStrallocpy(list[i], (*t) + i)); in PetscStrArrayallocpy() 212 for (PetscInt i = 0; i < n; i++) PetscCall(PetscStrallocpy(list[i], (*t) + i)); in PetscStrNArrayallocpy() 298 PetscCall(PetscStrallocpy(a, &aa)); in PetscStrcasecmp() 299 PetscCall(PetscStrallocpy(b, &bb)); in PetscStrcasecmp() 437 PetscCall(PetscStrallocpy(a, &(*t)->array)); in PetscTokenCreate() 560 if (aa == b) PetscCall(PetscStrallocpy(aa, &a)); in PetscStrreplace() 564 PetscCall(PetscStrallocpy(PETSC_ARCH, &r[0])); in PetscStrreplace() 565 PetscCall(PetscStrallocpy(PETSC_DIR, &r[1])); in PetscStrreplace() 566 PetscCall(PetscStrallocpy(PETSC_LIB_DIR, &r[2])); in PetscStrreplace() 577 PetscCall(PetscStrallocpy(PETSC_OMAKE, &r[8])); in PetscStrreplace() [all …]
|
| /petsc/src/sys/classes/draw/interface/ |
| H A D | dsave.c | 68 PetscCall(PetscStrallocpy(savename, &draw->savefilename)); in PetscDrawSetSave() 69 PetscCall(PetscStrallocpy(imageext, &draw->saveimageext)); in PetscDrawSetSave() 107 PetscCall(PetscStrallocpy(movieext, &draw->savemovieext)); in PetscDrawSetSaveMovie() 156 PetscCall(PetscStrallocpy(filename, &draw->savefinalfilename)); in PetscDrawSetSaveFinalImage() 332 PetscCall(PetscStrallocpy(filename, &image->filename)); in PetscImageListAdd() 333 PetscCall(PetscStrallocpy(ext, &image->ext)); in PetscImageListAdd()
|
| H A D | draw.c | 203 PetscCall(PetscStrallocpy(title, &draw->title)); in PetscDrawSetTitle() 240 PetscCall(PetscStrallocpy(title, &draw->title)); in PetscDrawAppendTitle() 349 PetscCall(PetscStrallocpy(display, &draw->display)); in PetscDrawSetDisplay()
|
| /petsc/src/sys/objects/ |
| H A D | pname.c | 26 PetscCall(PetscStrallocpy(name, &obj->name)); in PetscObjectSetName() 123 PetscCall(PetscStrallocpy(name, &obj->name)); in PetscObjectName() 133 PetscCall(PetscStrallocpy(type_name, &obj->type_name)); in PetscObjectChangeTypeName()
|
| /petsc/src/dm/interface/ |
| H A D | dmgenerate.c | 108 PetscCall(PetscStrallocpy(sname, &entry->name)); in DMGenerateRegister() 192 PetscCall(PetscStrallocpy(dm->vectype, (char **)&(*dmAdapt)->vectype)); in DMAdaptLabel() 194 PetscCall(PetscStrallocpy(dm->mattype, (char **)&(*dmAdapt)->mattype)); in DMAdaptLabel() 264 PetscCall(PetscStrallocpy(dm->vectype, (char **)&(*dmAdapt)->vectype)); in DMAdaptMetric() 266 PetscCall(PetscStrallocpy(dm->mattype, (char **)&(*dmAdapt)->mattype)); in DMAdaptMetric()
|
| /petsc/src/mat/tests/ |
| H A D | bench_spmv.c | 232 PetscCall(PetscStrallocpy(MATAIJCUSPARSE, petscmatformat)); in MapToPetscMatType() 235 PetscCall(PetscStrallocpy(MATAIJHIPSPARSE, petscmatformat)); in MapToPetscMatType() 237 } else PetscCall(PetscStrallocpy(MATAIJ, petscmatformat)); in MapToPetscMatType() 243 PetscCall(PetscStrallocpy(MATSELLCUDA, petscmatformat)); in MapToPetscMatType() 246 PetscCall(PetscStrallocpy(MATSELLHIP, petscmatformat)); in MapToPetscMatType() 248 } else PetscCall(PetscStrallocpy(MATSELL, petscmatformat)); in MapToPetscMatType() 251 if (iscsrkokkos) PetscCall(PetscStrallocpy(MATAIJKOKKOS, petscmatformat)); in MapToPetscMatType() 279 PetscCall(PetscStrallocpy("csr", &matformats[0])); in main()
|
| /petsc/src/mat/interface/ |
| H A D | matreg.c | 253 PetscCall(PetscStrallocpy(vtype, &mat->defaultvectype)); in MatSetVecType() 326 PetscCall(PetscStrallocpy(rname, &names->rname)); in MatRegisterRootName() 327 PetscCall(PetscStrallocpy(sname, &names->sname)); in MatRegisterRootName() 328 PetscCall(PetscStrallocpy(mname, &names->mname)); in MatRegisterRootName()
|
| /petsc/src/mat/impls/aij/seq/cholmod/ |
| H A D | aijcholmod.c | 74 PetscCall(PetscStrallocpy("cholmod", &((PetscObject)B)->type_name)); in MatGetFactor_seqaij_cholmod() 93 PetscCall(PetscStrallocpy(MATSOLVERCHOLMOD, &B->solvertype)); in MatGetFactor_seqaij_cholmod() 95 …PetscCall(PetscStrallocpy(MATORDERINGEXTERNAL, (char **)&B->preferredordering[MAT_FACTOR_CHOLESKY]… in MatGetFactor_seqaij_cholmod()
|
| /petsc/src/mat/graphops/partition/impls/hierarchical/ |
| H A D | hierarchical.c | 81 PetscCall(PetscStrallocpy("NONE", &hpart->coarseparttype)); in MatPartitioningApply_Hierarchical() 82 PetscCall(PetscStrallocpy("NONE", &hpart->fineparttype)); in MatPartitioningApply_Hierarchical() 122 PetscCall(PetscStrallocpy(MATPARTITIONINGPARMETIS, &hpart->coarseparttype)); in MatPartitioningApply_Hierarchical() 125 PetscCall(PetscStrallocpy(MATPARTITIONINGPTSCOTCH, &hpart->coarseparttype)); in MatPartitioningApply_Hierarchical() 185 PetscCall(PetscStrallocpy(MATPARTITIONINGPARMETIS, &hpart->fineparttype)); in MatPartitioningApply_Hierarchical() 188 PetscCall(PetscStrallocpy(MATPARTITIONINGPTSCOTCH, &hpart->fineparttype)); in MatPartitioningApply_Hierarchical() 191 PetscCall(PetscStrallocpy(MATPARTITIONINGCHACO, &hpart->fineparttype)); in MatPartitioningApply_Hierarchical() 194 PetscCall(PetscStrallocpy(PETSC_HAVE_PARTY, &hpart->fineparttype)); in MatPartitioningApply_Hierarchical() 423 PetscCall(PetscStrallocpy(value, &hpart->coarseparttype)); in MatPartitioningSetFromOptions_Hierarchical() 428 PetscCall(PetscStrallocpy(value, &hpart->fineparttype)); in MatPartitioningSetFromOptions_Hierarchical()
|
| /petsc/src/vec/pf/impls/matlab/ |
| H A D | cmatlab.c | 56 if (flag) PetscCall(PetscStrallocpy((char *)value, &matlab->string)); in PFSetFromOptions_Matlab() 72 if (value) PetscCall(PetscStrallocpy((char *)value, &matlab->string)); in PFCreate_Matlab()
|
| /petsc/src/mat/impls/aij/seq/bas/ |
| H A D | basfactor.c | 192 PetscCall(PetscStrallocpy(MATORDERINGND, (char **)&(*B)->preferredordering[MAT_FACTOR_LU])); in MatGetFactor_seqaij_bas() 193 PetscCall(PetscStrallocpy(MATORDERINGND, (char **)&(*B)->preferredordering[MAT_FACTOR_CHOLESKY])); in MatGetFactor_seqaij_bas() 197 PetscCall(PetscStrallocpy(MATSOLVERBAS, &(*B)->solvertype)); in MatGetFactor_seqaij_bas() 199 PetscCall(PetscStrallocpy(MATORDERINGNATURAL, (char **)&(*B)->preferredordering[MAT_FACTOR_ICC])); in MatGetFactor_seqaij_bas()
|
| /petsc/src/mat/impls/aij/seq/essl/ |
| H A D | essl.c | 134 PetscCall(PetscStrallocpy("essl", &((PetscObject)B)->type_name)); in MatGetFactor_seqaij_essl() 147 PetscCall(PetscStrallocpy(MATORDERINGEXTERNAL, (char **)&B->preferredordering[MAT_FACTOR_LU])); in MatGetFactor_seqaij_essl() 149 PetscCall(PetscStrallocpy(MATSOLVERESSL, &B->solvertype)); in MatGetFactor_seqaij_essl()
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexgenerate.c | 111 PetscCall(PetscStrallocpy(opts, &mesh->triangleOpts)); in DMPlexTriangleSetOptions() 136 PetscCall(PetscStrallocpy(opts, &mesh->tetgenOpts)); in DMPlexTetgenSetOptions()
|
| /petsc/src/sys/logging/state/ |
| H A D | logregistry.c | 95 PetscCall(PetscStrallocpy(sname, &stage_info.name)); in PetscLogRegistryStageRegister() 110 PetscCall(PetscStrallocpy(name, &new_info.name)); in PetscLogRegistryEventRegister() 124 PetscCall(PetscStrallocpy(name, &new_info.name)); in PetscLogRegistryClassRegister() 234 PetscCall(PetscStrallocpy(names[i], &global_names[i])); in PetscLogGlobalNamesCreate_Internal() 288 PetscCall(PetscStrallocpy(names[s], &global_names[num_names_global])); in PetscLogGlobalNamesCreate_Internal() 298 PetscCall(PetscStrallocpy(str_buffer, &global_names[num_names_global])); in PetscLogGlobalNamesCreate_Internal()
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | petscmem.pxi | 8 PetscErrorCode PetscStrallocpy(const char[], char*[])
|
| /petsc/src/sys/info/ |
| H A D | verboseinfo.c | 104 PetscCall(PetscStrallocpy(fname, &PetscInfoFilename)); in PetscInfoSetFile() 146 PetscCall(PetscStrallocpy(PetscInfoFilename, filename)); in PetscInfoGetFile() 302 PetscCall(PetscStrallocpy(classname, PetscInfoNames + idx)); in PetscInfoProcessClass() 373 PetscCall(PetscStrallocpy(optstring, &loc0_)); in PetscInfoSetFromOptions()
|
| /petsc/src/sys/classes/viewer/impls/glvis/ |
| H A D | glvis.c | 64 PetscCall(PetscStrallocpy(" %g", &socket->fmt)); in PetscViewerGLVisSetPrecision_GLVis() 156 PetscCall(PetscStrallocpy(name, &socket->windowtitle[i])); in PetscViewerGLVisSetFields_GLVis() 157 PetscCall(PetscStrallocpy(fec_type[i], &socket->fec_type[i])); in PetscViewerGLVisSetFields_GLVis() 203 PetscCall(PetscStrallocpy(socket->fmt, &info->fmt)); in PetscViewerGLVisAttachInfo_Private() 563 PetscCall(PetscStrallocpy(name, &socket->name)); in PetscViewerFileSetName_GLVis() 621 PetscCall(PetscStrallocpy(name, &socket->name)); in PetscViewerGLVisOpen() 688 PetscCall(PetscStrallocpy("localhost", &socket->name)); in PetscViewerCreate_GLVis() 697 PetscCall(PetscStrallocpy(" %g", &socket->fmt)); in PetscViewerCreate_GLVis()
|
| /petsc/src/sys/info/ftn-custom/ |
| H A D | zverboseinfof.c | 15 PetscCall(PetscStrallocpy(in, out)); in PetscFixSlashN()
|
| /petsc/src/mat/tutorials/ |
| H A D | ex7.c | 120 PetscCall(PetscStrallocpy("mat,vec,sys", &testClassesStr)); in main() 142 PetscCall(PetscStrallocpy("vec,sys", &testClassesStr)); in main()
|
| /petsc/src/sys/classes/viewer/impls/cgns/ |
| H A D | cgnsv.c | 112 PetscCall(PetscStrallocpy(filename_numbered, &cgv->filename)); in PetscViewerCGNSFileOpen_Internal() 196 PetscCall(PetscStrallocpy(filename, &cgv->filename_template)); in PetscViewerFileSetName_CGNS() 199 PetscCall(PetscStrallocpy(filename, &cgv->filename)); in PetscViewerFileSetName_CGNS() 436 PetscCall(PetscStrallocpy(pointer_id_name_ref, &pointer_id_name)); in PetscViewerCGNSGetSolutionFileIndex_Internal() 577 PetscCall(PetscStrallocpy(buffer, &cgv->solution_name)); in PetscViewerCGNSGetSolutionName()
|
| /petsc/src/sys/classes/viewer/impls/ascii/ftn-custom/ |
| H A D | zfilevf.c | 18 PetscCall(PetscStrallocpy(in, out)); in PetscFixSlashN()
|
| /petsc/src/vec/vec/interface/ |
| H A D | veccreate.c | 17 PetscCall(PetscStrallocpy(PETSCRANDER48, &v->defaultrandtype)); in VecCreate_Common_Private()
|
| /petsc/src/mat/impls/aij/seq/klu/ |
| H A D | klu.c | 272 PetscCall(PetscStrallocpy("klu", &((PetscObject)B)->type_name)); in MatGetFactor_seqaij_klu() 290 PetscCall(PetscStrallocpy(MATSOLVERKLU, &B->solvertype)); in MatGetFactor_seqaij_klu() 292 PetscCall(PetscStrallocpy(MATORDERINGEXTERNAL, (char **)&B->preferredordering[MAT_FACTOR_LU])); in MatGetFactor_seqaij_klu()
|