| /petsc/lib/petsc/bin/ |
| H A D | petscversion | 23 major=$(grep "#define PETSC_VERSION_MAJOR" "$file" | tr -s ' ' | cut -d" " -f 3) 29 echo "${major}"."${minor}"."${subminor}" 48 if [ "$major" != "$vmajor" ]; then echo 0; exit 0; fi 57 if [ "$major" -lt "$vmajor" ]; then echo 1; exit 0; fi 58 if [ "$major" -gt "$vmajor" ]; then echo 0; exit 0; fi 68 if [ "$major" -lt "$vmajor" ]; then echo 1; exit 0; fi 69 if [ "$major" -gt "$vmajor" ]; then echo 0; exit 0; fi 78 if [ "$major" -gt "$vmajor" ]; then echo 1; exit 0; fi 79 if [ "$major" -lt "$vmajor" ]; then echo 0; exit 0; fi 88 if [ "$major" -gt "$vmajor" ]; then echo 1; exit 0; fi [all …]
|
| H A D | petscnagupgrade.py | 23 major = int(re.compile(' PETSC_VERSION_MAJOR[ ]*([0-9]*)').search(pv).group(1)) 27 return Version('%d.%d.%d' % (major, minor, subminor)) 29 return Version('%d.%d.0rc0' % (major,minor+1))
|
| H A D | petsc_tas_style.mplstyle | 17 xtick.major.size : 25 21 ytick.major.size : 25
|
| /petsc/src/sys/tutorials/ |
| H A D | ex17f.F90 | 8 PetscInt :: major, minor, subminor, release 14 PetscCallA(PetscGetVersionNumber(major, minor, subminor, release, ierr)) 16 if (major /= PETSC_VERSION_MAJOR) then 17 write (outputString, *) 'Library major', major, 'does not equal include', PETSC_VERSION_MAJOR
|
| H A D | ex17.c | 7 PetscInt major, minor, subminor; in main() local 22 PetscCall(PetscGetVersionNumber(&major, &minor, &subminor, NULL)); in main() 23 …PetscCheck(major == PETSC_VERSION_MAJOR, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Library major %" PetscI… in main()
|
| /petsc/include/ |
| H A D | petscmacros.h | 1322 #define PETSC_DEPRECATED_IDENTIFIER_(__PETSC_DEPRECATION_MACRO__, __SILENCE_MACRO__, major, minor, … argument 1324 …_PETSC_DEPRECATION_MACRO__)(PetscStringize(Use replacement (since version major.minor.subminor) in… 1326 #define PETSC_DEPRECATED_IDENTIFIER(__PETSC_DEPRECATION_MACRO__, major, minor, subminor, ...) \ argument 1327 …TION_MACRO__, PetscConcat6(SILENCE_DEPRECATION_WARNINGS_, major, _, minor, _, subminor), major, mi… 1329 …ETSC_DEPRECATED_OBJECT(major, minor, subminor, replacement, ...) PETSC_DEPRECATED_IDENTIFIER(PET… argument 1330 …SC_DEPRECATED_FUNCTION(major, minor, subminor, replacement, ...) PETSC_DEPRECATED_IDENTIFIER(PETSC… argument 1331 …TSC_DEPRECATED_TYPEDEF(major, minor, subminor, replacement, ...) PETSC_DEPRECATED_IDENTIFIER(PETS… argument 1332 … PETSC_DEPRECATED_ENUM(major, minor, subminor, replacement, ...) PETSC_DEPRECATED_IDENTIFIER(P… argument 1333 …PETSC_DEPRECATED_MACRO(major, minor, subminor, replacement, ...) PETSC_DEPRECATED_IDENTIFIER(PE… argument
|
| /petsc/src/sys/objects/ |
| H A D | version.c | 53 PetscErrorCode PetscGetVersionNumber(PetscInt *major, PetscInt *minor, PetscInt *subminor, PetscInt… in PetscGetVersionNumber() argument 55 if (major) *major = PETSC_VERSION_MAJOR; in PetscGetVersionNumber()
|
| /petsc/lib/petsc/bin/maint/petsclinter/petsclinter/ |
| H A D | __version__.py | 66 def py_version_lt(major: int, minor: int, sub_minor: int = 0) -> bool: 92 version = (major, minor, sub_minor)
|
| /petsc/config/BuildSystem/config/packages/ |
| H A D | make.py | 145 major = int(gver.group(1)) 147 if (major,minor) >= self.versionToTuple(self.minversion): haveGNUMake = True 148 if (major > 3): haveGNUMake4 = True 149 foundVersion = ".".join([str(major),str(minor)]) 150 if (major,minor) >= (4,4): haveGNUMake44 = True
|
| /petsc/src/dm/impls/plex/tests/ |
| H A D | ex99.c | 115 int inum = 0, major = 0, minor = 0, micro = 0; in main() local 118 if (fp) inum = fscanf(fp, "Version %s %d.%d.%d", space, &major, &minor, µ); in main() 120 if (inum != 4 || major < 4 || (major == 4 && minor < 2)) { in main()
|
| /petsc/src/binding/petsc4py/ |
| H A D | setup.py | 241 def requires(pkgname, major, minor, release=True): argument 267 major = int(numpy.__version__.partition('.')[0]) 268 numpy_pin = 'numpy>=1.19' if major >= 2 else 'numpy<2'
|
| /petsc/doc/manual/ |
| H A D | section.md | 89 In other words, will the array be laid out in a point-major or field-major fashion. 91 Point-major ordering corresponds to $v[\mathrm{pStart} <= point < \mathrm{pEnd}][0 <= field < \math… 93 Field-major ordering corresponds to $v[0 <= field < \mathrm{num\_fields}][\mathrm{pStart} <= point … 99 Point-major order would result in: 105 Conversely, field-major ordering would result in: 113 …tscSectionSetPointMajor()`, where `PETSC_TRUE` sets point-major and `PETSC_FALSE` sets field major. 115 … The current default is for point-major, and many operations on `DMPlex` will only work with this …
|
| H A D | versionchecking.md | 13 $ $PETSC_DIR/lib/petsc/bin/petscversion <eq,gt,lt,ge,le> major.minor<.subminor>
|
| /petsc/ |
| H A D | setup.py | 306 major = int(version_re['major'].search(data).groups()[0]) 311 v = "%d.%d.%d" % (major, minor, micro) 313 v = "%d.%d.0.dev%d" % (major, minor+1, 0)
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | Sys.pyx | 28 major : int 41 cdef PetscInt major=0, minor=0, micro=0, release=0 43 CHKERR(PetscGetVersionNumber(&major, &minor, µ, &release)) 44 out = version = (toInt(major), toInt(minor), toInt(micro)) 79 return dict(major = version[0],
|
| /petsc/lib/petsc/bin/maint/ |
| H A D | gcov.py | 78 def __init__(self, major, minor, micro): argument 79 self.major = int(major) 82 self.__version = (self.major, self.minor, self.micro) 102 return 'Version(major={}, minor={}, micro={})'.format(self.major, self.minor, self.micro)
|
| /petsc/doc/community/ |
| H A D | roadmap.md | 5 Planned major focus areas for PETSc development include the following.
|
| /petsc/config/ |
| H A D | configure.py | 253 major=int(m.group(1)) 256 if ((major < 1) or (major == 1 and minor < 7) or (major == 1 and minor == 7 and subminor < 34)):
|
| /petsc/src/binding/petsc4py/test/ |
| H A D | runtests.py | 149 (major, minor, micro), devel = module.Sys.getVersion(devel=True) 156 return "%s %d.%d.%d %s (conf: '%s')" % (name, major, minor, micro, release, arch)
|
| /petsc/src/sys/yaml/include/ |
| H A D | yaml.h | 44 int major; member 275 int major; member
|
| /petsc/src/dm/impls/plex/hdf5/ |
| H A D | plexhdf5.c | 18 PetscCall(PetscSNPrintf(str, len, "%d.%d.%d", version->major, version->minor, version->subminor)); in PetscViewerPrintVersion_Private() 41 v->major = (int)ti[0]; in PetscViewerParseVersion_Private() 81 switch (version->major) { in PetscViewerCheckVersion_Private() 137 …), PETSC_ERR_SUP, "DMPlexStorageVersion %d.%d.%d not supported", version->major, version->minor, v… in PetscViewerCheckVersion_Private() 141 static inline PetscBool DMPlexStorageVersionEQ(DMPlexStorageVersion version, int major, int minor, … in DMPlexStorageVersionEQ() argument 143 …return (PetscBool)(version->major == major && version->minor == minor && version->subminor == subm… in DMPlexStorageVersionEQ() 146 static inline PetscBool DMPlexStorageVersionGE(DMPlexStorageVersion version, int major, int minor, … in DMPlexStorageVersionGE() argument 148 …major == major && version->minor == minor && version->subminor >= subminor) || (version->major == … in DMPlexStorageVersionGE() 201 viewerVersion->major = version->major; in PetscViewerHDF5SetDMPlexStorageVersionWriting() 315 viewerVersion->major = version->major; in PetscViewerHDF5SetDMPlexStorageVersionReading() [all …]
|
| /petsc/src/sys/objects/device/impls/cupm/ |
| H A D | cupmdevice.cxx | 103 PetscDeviceCUPMRuntimeArch = dprop_.major * 10 + dprop_.minor; in configure() 132 …PetscCall(PetscViewerASCIIPrintf(sviewer, "Compute capability: %d.%d\n", dprop_.major, dprop_.mino… in view()
|
| /petsc/src/sys/yaml/src/ |
| H A D | scanner.c | 693 yaml_mark_t start_mark, int *major, int *minor); 1994 int major, minor; in yaml_parser_scan_directive() local 2015 &major, &minor)) in yaml_parser_scan_directive() 2022 VERSION_DIRECTIVE_TOKEN_INIT(*token, major, minor, in yaml_parser_scan_directive() 2158 yaml_mark_t start_mark, int *major, int *minor) in yaml_parser_scan_version_directive_value() argument 2171 if (!yaml_parser_scan_version_directive_number(parser, start_mark, major)) in yaml_parser_scan_version_directive_value()
|
| H A D | parser.c | 1263 if (token->data.version_directive.major != 1 in yaml_parser_process_directives() 1277 version_directive->major = token->data.version_directive.major; in yaml_parser_process_directives()
|
| /petsc/doc/miscellaneous/ |
| H A D | prizes.md | 5 - Selected by the DOE Office of Science for the 40th anniversary collection of 40 major
|