| /petsc/config/BuildSystem/config/ |
| H A D | python.py | 28 …self.compilers.CPPFLAGS += ' '+' '.join([self.headers.getIncludeArgument(inc) for inc in includeDi… 38 …self.compilers.CPPFLAGS += ' '+' '.join([self.headers.getIncludeArgument(inc) for inc in self.incl… 50 inc = [sysconfig.get_path('include'), sysconfig.get_path('platinclude')] 51 if not self.checkInclude(inc): 53 self.include = inc 97 self.addMakeMacro('PYTHON_INCLUDE', ' '.join(['-I'+inc for inc in self.include])) 98 self.addSubstitution('PYTHON_INCLUDE', ' '.join(['-I'+inc for inc in self.include]))
|
| H A D | types.py | 34 ''' % ('\n'.join(['#include<%s>' % inc for inc in includes]))
|
| H A D | package.py | 601 …iDirs = [inc for inc in includeDirs if os.path.isabs(inc)] + [os.path.join(prefix, inc) for inc in… 602 return [inc for inc in iDirs if os.path.exists(inc)] 685 inc = [] 688 inc = self.argDB['with-'+self.package+'-include'] 690 if inc: 691 d = os.path.dirname(inc[0]) 693 if not isinstance(inc, list): inc = inc.split(' ') 695 inc = [os.path.abspath(i) for i in inc] 696 yield('User specified '+self.PACKAGE+' libraries', d, libs, inc) 1132 [dinc.append(inc) for inc in incl+self.dinclude if inc not in dinc]
|
| H A D | headers.py | 106 …tattr(self.compilers, flagsArg)+' '+' '.join([self.getIncludeArgument(inc) for inc in incl+otherIn…
|
| H A D | base.py | 728 for inc in incArgs.split(' '): 729 if inc.startswith('-I'): 731 includes.append(inc[2:])
|
| H A D | compilers.py | 1047 inc = arg.replace('-I','',1) 1048 self.logPrint('Found include directory: '+inc, 4, 'compilers') 1049 fincs.append(inc)
|
| /petsc/share/petsc/saws/js/ |
| H A D | drawDiagrams.js | 80 var inc = side/4;//the increment 82 var x_coord = blank_x + i*inc; 83 var y_coord = blank_y + i*inc; 104 var inc = 324/dim;//parallogram is 324 wide and 200 on the slant side (1.6x) 105 var shift = j*inc; 110 var inc = 141/dim;//parallelogram is 141 tall 114 var shift = 141 - inc * j;
|
| /petsc/src/ts/impls/pseudo/ |
| H A D | posindep.c | 337 PetscReal inc = pseudo->dt_increment, fnorm; in TSPseudoTimeStepDefault() local 346 if (fnorm == 0.0) *newdt = 1.e12 * inc * ts->time_step; in TSPseudoTimeStepDefault() 347 …else if (pseudo->increment_dt_from_initial_dt) *newdt = inc * pseudo->dt_initial * pseudo->fnorm_i… in TSPseudoTimeStepDefault() 348 else *newdt = inc * ts->time_step * pseudo->fnorm_previous / fnorm; in TSPseudoTimeStepDefault() 453 PetscErrorCode TSPseudoSetTimeStepIncrement(TS ts, PetscReal inc) in TSPseudoSetTimeStepIncrement() argument 457 PetscValidLogicalCollectiveReal(ts, inc, 2); in TSPseudoSetTimeStepIncrement() 458 PetscTryMethod(ts, "TSPseudoSetTimeStepIncrement_C", (TS, PetscReal), (ts, inc)); in TSPseudoSetTimeStepIncrement() 557 static PetscErrorCode TSPseudoSetTimeStepIncrement_Pseudo(TS ts, PetscReal inc) in TSPseudoSetTimeStepIncrement_Pseudo() argument 562 pseudo->dt_increment = inc; in TSPseudoSetTimeStepIncrement_Pseudo()
|
| /petsc/config/PETSc/ |
| H A D | petsc.py | 205 includes.extend([self.headers.getIncludeArgument(inc) for inc in self.mpi.include]) 250 … self.compilers.CPPFLAGS += ' '.join([self.headers.getIncludeArgument(inc) for inc in includeDir]) 263 …self.compilers.CPPFLAGS += ' '.join([self.headers.getIncludeArgument(inc) for inc in self.getInclu… 429 …self.addSubstitution('PETSC_INCLUDE', ' '.join([self.headers.getIncludeArgument(inc) for inc in se…
|
| H A D | Configure.py | 772 def staticAssertSizeMatchesVoidStar(inc,typename): argument 775 …return self.checkCompile(inc, ('#define STATIC_ASSERT(cond) char negative_length_if_false[2*(!!(co…
|
| /petsc/src/ts/impls/implicit/glle/ |
| H A D | glleadapt.c | 257 PetscReal dec = 0.2, inc = 5.0, safe = 0.9, optimal, last_desired_h; in TSGLLEAdaptChoose_Size() local 265 sz->desired_h = h * PetscMax(dec, PetscMin(inc, optimal)); /* Trim to [dec,inc] */ in TSGLLEAdaptChoose_Size() 298 PetscReal dec = 0.2, inc = 5.0, safe = 0.9; in TSGLLEAdaptChoose_Both() local 321 both->desired_h = PetscMax(h * dec, PetscMin(h * inc, current.h)); in TSGLLEAdaptChoose_Both() 327 *next_h = PetscMax(h * rat * dec, PetscMin(h * rat * inc, best.h)); in TSGLLEAdaptChoose_Both()
|
| /petsc/src/mat/tests/ |
| H A D | ex74.c | 11 …t n, mbs = 16, bs = 1, nz = 3, prob = 1, i, j, k1, k2, col[3], lf, block, row, Ii, J, n1, inc; in main() local 293 inc = bs; in main() 298 for (lf = -1; lf < 10; lf += inc) { in main() 340 …norm2 && lf - inc != -1) PetscCall(PetscPrintf(PETSC_COMM_SELF, "lf=%" PetscInt_FMT ", %" PetscInt… in main()
|
| /petsc/config/BuildSystem/config/compile/ |
| H A D | processor.py | 128 cmd.extend(['-I'+inc for inc in self.includeDirectories])
|
| /petsc/config/BuildSystem/config/packages/ |
| H A D | MAGMA.py | 223 inc = self.argDB['with-'+self.package+'-include'] 224 if inc: 225 d = os.path.dirname(inc[0])
|
| H A D | BlasLapack.py | 724 [self.dinclude.append(inc) for inc in self.include if inc not in self.dinclude] 823 …lf.framework.batchIncludeDirs.extend([self.headers.getIncludeArgument(inc) for inc in self.include…
|
| H A D | MPI.py | 227 for inc in self.include: 228 path.append(os.path.join(os.path.dirname(inc), 'bin')) 230 path.append(os.path.join(os.path.dirname(os.path.dirname(inc)),'mpd','bin'))
|
| /petsc/lib/petsc/bin/maint/petsclinter/petsclinter/classes/ |
| H A D | _util.py | 45 def __add__(self, inc: int) -> IndentLevel: 49 return IndentLevel(super().__add__(inc))
|
| /petsc/src/vec/is/utils/hdf5/ |
| H A D | hdf5io.c | 267 for (PetscInt j = 0, inc = 0; j < h->cind[i * 3 + 0]; ++j, ++off, inc += h->cind[i * 3 + 1]) { in PetscViewerHDF5Load_Internal() local 272 if (off >= map->rstart) ind[off - map->rstart] = h->cind[i * 3 + 2] + inc; in PetscViewerHDF5Load_Internal()
|
| /petsc/src/vec/vec/impls/seq/ |
| H A D | dvec2.c | 692 for (PetscInt j = j_rem, inc = 4; j < nv; j += inc, alpha += inc, y += inc) { in VecMAXPY_Seq() local 693 for (PetscInt i = 0; i < inc; ++i) PetscCall(VecGetArrayRead(y[i], yptr + i)); in VecMAXPY_Seq() 695 for (PetscInt i = 0; i < inc; ++i) PetscCall(VecRestoreArrayRead(y[i], yptr + i)); in VecMAXPY_Seq()
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexsfc.c | 1222 Ijk inc = closure_dim[dim][n]; in DMPlexCreateBoxMesh_Tensor_SFC_Internal() local 1223 Ijk nloc = {loc.i + inc.i, loc.j + inc.j, loc.k + inc.k}; in DMPlexCreateBoxMesh_Tensor_SFC_Internal() 1251 Ijk inc = closure_dim[dim][n]; in DMPlexCreateBoxMesh_Tensor_SFC_Internal() local 1252 Ijk nloc = {loc.i + inc.i, loc.j + inc.j, loc.k + inc.k}; in DMPlexCreateBoxMesh_Tensor_SFC_Internal()
|
| /petsc/src/dm/partitioner/impls/multistage/ |
| H A D | mspart.c | 261 PetscMPIInt inc = (PetscMPIInt)PetscPowInt(m, l - i - 1); in PetscPartitionerMultistage_CreateStages() local 262 if (rank % inc == 0) { in PetscPartitionerMultistage_CreateStages() 263 PetscMPIInt anch = (rank - rank % (inc * m)), r; in PetscPartitionerMultistage_CreateStages() 264 for (r = 0; r < m; r++) ranks[r] = anch + r * inc; in PetscPartitionerMultistage_CreateStages()
|
| /petsc/src/sys/objects/ |
| H A D | options.c | 3033 PetscInt n = 0, i, j, start, end, inc, nvalues; in PetscOptionsGetIntArray() local 3067 inc = 1; in PetscOptionsGetIntArray() 3073 PetscCall(PetscOptionsStringToInt(iivalue + j + 1, &inc)); in PetscOptionsGetIntArray() 3074 …PetscCheck(inc > 0, PETSC_COMM_SELF, PETSC_ERR_USER, "Error in %" PetscInt_FMT "-th array entry,%s… in PetscOptionsGetIntArray() 3080 nvalues = (end - start) / inc + (end - start) % inc; in PetscOptionsGetIntArray() 3082 for (; start < end; start += inc) { in PetscOptionsGetIntArray()
|
| /petsc/src/ksp/pc/impls/patch/ |
| H A D | pcpatch.c | 2782 const PetscInt inc[2] = {1, -1}; in PCApply_PATCH() local 2810 for (j = start[sweep]; j * inc[sweep] < end[sweep] * inc[sweep]; j += inc[sweep]) { in PCApply_PATCH()
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | petscmat.pxi | 1119 cdef PetscErrorCode matfactorinfo(PetscBool inc, PetscBool chol, object opts, argument 1121 CHKERR(MatFactorInfoDefaults(inc, chol, info))
|
| /petsc/doc/manual/ |
| H A D | ts.md | 1574 TSPseudoSetTimeStepIncrement(TS ts,PetscReal inc); 1577 or the option `-ts_pseudo_increment <inc>`.
|