| /petsc/config/BuildSystem/config/ |
| H A D | types.py | 26 def check(self, typeName, defaultType = None, includes = []): argument 28 self.log.write('Checking for type: '+typeName+'\n') 35 found = self.checkCompile(include,typeName+' a;\n(void)a') 37 self.addTypedef(defaultType, typeName) 39 self.log.write(typeName+' found\n') 99 …def checkSizeof(self, typeName, typeSizes, otherInclude = None, lang='C', save=True, codeBegin=''): argument 101 self.log.write('Checking for size of type: ' + typeName + '\n') 102 typename = typeName.replace(' ', '-').replace('*', 'p') 117 checkName = typeName 118 if typeName == 'enum': [all …]
|
| /petsc/src/snes/tutorials/ |
| H A D | ex47cu.cu | 26 char *tmp, typeName[256]; in main() local 31 PetscCall(PetscOptionsGetString(NULL, NULL, "-dm_vec_type", typeName, sizeof(typeName), &flg)); in main() 33 PetscCall(PetscStrstr(typeName, "cuda", &tmp)); in main()
|
| /petsc/src/sys/classes/random/interface/ |
| H A D | randomc.c | 120 char typeName[256]; in PetscRandomSetTypeFromOptions_Private() local 130 …pe", "PetscRandom type", "PetscRandomSetType", PetscRandomList, defaultType, typeName, 256, &opt)); in PetscRandomSetTypeFromOptions_Private() 132 PetscCall(PetscRandomSetType(rnd, typeName)); in PetscRandomSetTypeFromOptions_Private()
|
| /petsc/src/dm/label/tutorials/ |
| H A D | ex1.c | 10 const char *labelName, *typeName; in ViewLabels() local 22 PetscCall(DMLabelGetType(label, &typeName)); in ViewLabels() 23 …ViewerASCIIPrintf(viewer, "Label %" PetscInt_FMT ": name: %s type: %s\n", l, labelName, typeName)); in ViewLabels()
|
| /petsc/src/ts/trajectory/interface/ |
| H A D | traj.c | 617 char typeName[256]; in TSTrajectorySetTypeFromOptions_Private() local 624 …"TSTrajectory method", "TSTrajectorySetType", TSTrajectoryList, defaultType, typeName, 256, &opt)); in TSTrajectorySetTypeFromOptions_Private() 626 PetscCall(TSTrajectorySetType(tj, ts, typeName)); in TSTrajectorySetTypeFromOptions_Private()
|
| /petsc/src/dm/impls/plex/transform/interface/ |
| H A D | plextransform.c | 335 char typeName[1024], active[PETSC_MAX_PATH_LEN]; in DMPlexTransformSetFromOptions() local 342 … "DMPlexTransform", "DMPlexTransformSetType", DMPlexTransformList, defName, typeName, 1024, &flg)); in DMPlexTransformSetFromOptions() 343 if (flg) PetscCall(DMPlexTransformSetType(tr, typeName)); in DMPlexTransformSetFromOptions() 1682 const char *typeName; in DMPlexTransformCreateCellVertices_Internal() local 1689 PetscCall(DMPlexTransformGetType(tr, &typeName)); in DMPlexTransformCreateCellVertices_Internal() 1690 PetscCall(DMPlexTransformSetType(reftr, typeName)); in DMPlexTransformCreateCellVertices_Internal()
|
| /petsc/src/vec/vec/interface/ |
| H A D | vector.c | 1398 char typeName[256]; in VecSetTypeFromOptions_Private() local 1410 …OptionsFList("-vec_type", "Vector type", "VecSetType", VecList, defaultType, typeName, 256, &opt)); in VecSetTypeFromOptions_Private() 1412 PetscCall(VecSetType(vec, typeName)); in VecSetTypeFromOptions_Private()
|
| /petsc/src/snes/utils/dm/ |
| H A D | dmadapt.c | 492 char typeName[PETSC_MAX_PATH_LEN]; in DMAdaptorSetFromOptions() local 500 …t("-adaptor_type", "DMAdaptor", "DMAdaptorSetType", DMAdaptorList, defName, typeName, 1024, &flg)); in DMAdaptorSetFromOptions() 501 if (flg) PetscCall(DMAdaptorSetType(adaptor, typeName)); in DMAdaptorSetFromOptions()
|
| /petsc/src/dm/interface/ |
| H A D | dm.c | 888 char typeName[256]; in DMSetFromOptions() local 899 …Vector type used for created vectors", "DMSetVecType", VecList, dm->vectype, typeName, 256, &flg)); in DMSetFromOptions() 900 if (flg) PetscCall(DMSetVecType(dm, typeName)); in DMSetFromOptions() 901 …ces", "DMSetMatType", MatList, dm->mattype ? dm->mattype : typeName, typeName, sizeof(typeName), &… in DMSetFromOptions() 902 if (flg) PetscCall(DMSetMatType(dm, typeName)); in DMSetFromOptions()
|
| /petsc/src/ts/tutorials/ |
| H A D | ex30.c | 1613 char typeName[256]; in CreateMesh() local 1618 …pe used for created matrices", "DMSetMatType", MatList, MATAIJ, typeName, sizeof(typeName), &flg)); in CreateMesh() 1619 if (flg) PetscCall(DMSetMatType(*dm, typeName)); in CreateMesh()
|
| /petsc/src/ts/interface/ |
| H A D | ts.c | 99 char typeName[256]; in TSSetFromOptions() local 110 …PetscCall(PetscOptionsFList("-ts_type", "TS method", "TSSetType", TSList, defaultType, typeName, 2… in TSSetFromOptions() 111 if (opt) PetscCall(TSSetType(ts, typeName)); in TSSetFromOptions()
|