Searched refs:newname (Results 1 – 7 of 7) sorted by relevance
| /petsc/src/sys/dll/ |
| H A D | demangle.c | 15 char *newname; in PetscDemangleSymbol() local 66 newname = cxa_demangle(mangledName, PETSC_NULLPTR, PETSC_NULLPTR, &status); in PetscDemangleSymbol() 74 PetscCall(PetscStrallocpy(newname, name)); in PetscDemangleSymbol() 75 free(newname); in PetscDemangleSymbol()
|
| /petsc/lib/petsc/bin/maint/ |
| H A D | normalizeOutput.py | 19 newname=os.path.join(rootdir,base+"_1.out") 20 subprocess.call("git mv "+ofile+" "+newname,shell=True)
|
| /petsc/src/binding/petsc4py/test/ |
| H A D | test_object.py | 113 newname = f'{oldname}-{oldname}' 114 self.obj.setName(newname) 115 self.assertEqual(self.obj.getName(), newname)
|
| /petsc/config/ |
| H A D | configure.py | 68 for oldname,newname in optMap: 69 if optname.find(oldname) >=0 and not optname.find(newname) >=0: 70 raise ValueError('The option '+opt+' should probably be '+opt.replace(oldname,newname))
|
| /petsc/src/sys/objects/ |
| H A D | options.c | 1201 PetscErrorCode PetscOptionsSetAlias(PetscOptions options, const char newname[], const char oldname[… in PetscOptionsSetAlias() argument 1207 PetscAssertPointer(newname, 2); in PetscOptionsSetAlias() 1210 PetscCall(PetscOptionsValidKey(newname, &valid)); in PetscOptionsSetAlias() 1211 PetscCheck(valid, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "Invalid aliased option %s", newname); in PetscOptionsSetAlias() 1230 newname++; in PetscOptionsSetAlias() 1232 PetscCall(PetscStrlen(newname, &len)); in PetscOptionsSetAlias() 1234 PetscCall(PetscStrncpy(options->aliases1[options->Na], newname, len + 1)); in PetscOptionsSetAlias() 3322 …te(PetscOptionItems PetscOptionsObject, const char oldname[], const char newname[], const char ver… in PetscOptionsDeprecated_Private() argument 3342 if (newname) { in PetscOptionsDeprecated_Private() 3346 PetscCall(PetscOptionsFindPair(options, prefix, newname, NULL, &newfound)); in PetscOptionsDeprecated_Private() [all …]
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexcreate.c | 5046 char newname[PETSC_MAX_PATH_LEN]; in DMPlexCreateFromOptions_Internal() local 5054 PetscCall(PetscSNPrintf(newname, PETSC_MAX_PATH_LEN, "%s%" PetscInt_FMT, name, points[0])); in DMPlexCreateFromOptions_Internal() 5055 PetscCall(DMCreateLabel(dm, newname)); in DMPlexCreateFromOptions_Internal() 5056 PetscCall(DMGetLabel(dm, newname, &label)); in DMPlexCreateFromOptions_Internal()
|
| /petsc/doc/manual/ |
| H A D | other.md | 106 alias -newname -oldname
|