| /petsc/src/snes/tutorials/ |
| H A D | ex47cu.cu | 65 thrust::get<0>(t) = 1; in operator ()() 66 if ((thrust::get<4>(t) > 0) && (thrust::get<4>(t) < thrust::get<5>(t) - 1)) { in operator ()() 67 …get<0>(t) = (((PetscScalar)2.0) * thrust::get<1>(t) - thrust::get<2>(t) - thrust::get<3>(t)) / (th… in operator ()() 68 } else if (thrust::get<4>(t) == 0) { in operator ()() 69 thrust::get<0>(t) = thrust::get<1>(t) / (thrust::get<6>(t)); in operator ()() 70 } else if (thrust::get<4>(t) == thrust::get<5>(t) - 1) { in operator ()() 71 thrust::get<0>(t) = thrust::get<1>(t) / (thrust::get<6>(t)); in operator ()()
|
| /petsc/src/mat/tests/output/ |
| H A D | ex21_1.out | 15 [0] get row 0: 0 4. 1 -1. 2 -1. 16 [0] get row 1: 0 -1. 1 4. 3 -1. 17 [0] get row 2: 0 -1. 2 4. 3 -1. 4 -1. 18 [0] get row 3: 1 -1. 2 -1. 3 4. 5 -1. 19 [0] get row 4: 2 -1. 4 4. 5 -1. 20 [0] get row 5: 3 -1. 4 -1. 5 4.
|
| /petsc/src/mat/impls/aij/seq/seqcusparse/ |
| H A D | aijcusparse.cu | 395 …s, loTriFactor->csrMat->num_entries, loTriFactor->descr, loTriFactor->csrMat->values->data().get(), in MatSeqAIJCUSPARSEBuildILULowerTriMatrix() 396 …loTriFactor->csrMat->row_offsets->data().get(), loTriFactor->csrMat->column_indices->data().get(),… in MatSeqAIJCUSPARSEBuildILULowerTriMatrix() 401 …s, loTriFactor->csrMat->num_entries, loTriFactor->descr, loTriFactor->csrMat->values->data().get(), in MatSeqAIJCUSPARSEBuildILULowerTriMatrix() 402 …loTriFactor->csrMat->row_offsets->data().get(), loTriFactor->csrMat->column_indices->data().get(),… in MatSeqAIJCUSPARSEBuildILULowerTriMatrix() 524 …s, upTriFactor->csrMat->num_entries, upTriFactor->descr, upTriFactor->csrMat->values->data().get(), in MatSeqAIJCUSPARSEBuildILUUpperTriMatrix() 525 …upTriFactor->csrMat->row_offsets->data().get(), upTriFactor->csrMat->column_indices->data().get(),… in MatSeqAIJCUSPARSEBuildILUUpperTriMatrix() 530 …s, upTriFactor->csrMat->num_entries, upTriFactor->descr, upTriFactor->csrMat->values->data().get(), in MatSeqAIJCUSPARSEBuildILUUpperTriMatrix() 531 …upTriFactor->csrMat->row_offsets->data().get(), upTriFactor->csrMat->column_indices->data().get(),… in MatSeqAIJCUSPARSEBuildILUUpperTriMatrix() 863 …s, upTriFactor->csrMat->num_entries, upTriFactor->descr, upTriFactor->csrMat->values->data().get(), in MatSeqAIJCUSPARSEBuildICCTriMatrices() 864 …upTriFactor->csrMat->row_offsets->data().get(), upTriFactor->csrMat->column_indices->data().get(),… in MatSeqAIJCUSPARSEBuildICCTriMatrices() [all …]
|
| /petsc/src/mat/impls/aij/seq/seqhipsparse/ |
| H A D | aijhipsparse.hip.cxx | 340 …s, loTriFactor->csrMat->num_entries, loTriFactor->descr, loTriFactor->csrMat->values->data().get(), in MatSeqAIJHIPSPARSEBuildILULowerTriMatrix() 341 …loTriFactor->csrMat->row_offsets->data().get(), loTriFactor->csrMat->column_indices->data().get(),… in MatSeqAIJHIPSPARSEBuildILULowerTriMatrix() 345 …s, loTriFactor->csrMat->num_entries, loTriFactor->descr, loTriFactor->csrMat->values->data().get(), in MatSeqAIJHIPSPARSEBuildILULowerTriMatrix() 346 …loTriFactor->csrMat->row_offsets->data().get(), loTriFactor->csrMat->column_indices->data().get(),… in MatSeqAIJHIPSPARSEBuildILULowerTriMatrix() 456 …s, upTriFactor->csrMat->num_entries, upTriFactor->descr, upTriFactor->csrMat->values->data().get(), in MatSeqAIJHIPSPARSEBuildILUUpperTriMatrix() 457 …upTriFactor->csrMat->row_offsets->data().get(), upTriFactor->csrMat->column_indices->data().get(),… in MatSeqAIJHIPSPARSEBuildILUUpperTriMatrix() 461 …s, upTriFactor->csrMat->num_entries, upTriFactor->descr, upTriFactor->csrMat->values->data().get(), in MatSeqAIJHIPSPARSEBuildILUUpperTriMatrix() 462 …upTriFactor->csrMat->row_offsets->data().get(), upTriFactor->csrMat->column_indices->data().get(),… in MatSeqAIJHIPSPARSEBuildILUUpperTriMatrix() 620 …s, upTriFactor->csrMat->num_entries, upTriFactor->descr, upTriFactor->csrMat->values->data().get(), in MatSeqAIJHIPSPARSEBuildICCTriMatrices() 621 …upTriFactor->csrMat->row_offsets->data().get(), upTriFactor->csrMat->column_indices->data().get(),… in MatSeqAIJHIPSPARSEBuildICCTriMatrices() [all …]
|
| /petsc/doc/ext/ |
| H A D | html5_petsc.py | 146 lang = node.get('language', 'default') 147 linenos = node.get('linenos', False) 148 highlight_args = node.get('highlight_args', {}) 149 highlight_args['force'] = node.get('force', False) 150 opts = self.config.highlight_options.get(lang, {}) 177 lang = node.get("language", None) 184 opts = self.config.highlight_options.get(lang, {})
|
| /petsc/config/BuildSystem/config/utilities/ |
| H A D | missing.py | 28 if self.ftm.defines.get('_POSIX_C_SOURCE_200112L'): 34 if self.ftm.defines.get('_BSD_SOURCE'): 40 if self.ftm.defines.get('_DEFAULT_SOURCE'): 46 if self.ftm.defines.get('_GNU_SOURCE'):
|
| /petsc/src/sys/classes/random/impls/curand/ |
| H A D | curand2.cu | 24 …t::tuple<PetscReal, size_t> x) { return thrust::get<1>(x) % 2 ? thrust::get<0>(x) * iw + il : thru… in operator ()()
|
| /petsc/src/ksp/pc/impls/hpddm/ |
| H A D | pchpddm.cxx | 1120 PetscCall(VecISCopy(std::get<2>(*p)[0], std::get<1>(*p), SCATTER_FORWARD, x)); in PCApply_Schur_Private() 1121 if (!T) PetscCall(PCApply(factor, std::get<2>(*p)[0], std::get<2>(*p)[1])); in PCApply_Schur_Private() 1122 else PetscCall(PCApplyTranspose(factor, std::get<2>(*p)[0], std::get<2>(*p)[1])); in PCApply_Schur_Private() 1123 PetscCall(VecISCopy(std::get<2>(*p)[1], std::get<1>(*p), SCATTER_REVERSE, y)); in PCApply_Schur_Private() 1139 PetscCall(VecISCopy(y, std::get<1>(*p), SCATTER_FORWARD, x)); in PCApply_Schur_Private() 1148 PetscCall(VecISCopy(x, std::get<1>(*p), SCATTER_REVERSE, y)); in PCApply_Schur_Private() 1167 PetscCall(KSPGetPC(std::get<0>(*p), &factor)); in PCApply_Schur() 1199 PetscCall(ISDestroy(&std::get<1>(*p))); in PCDestroy_Schur() 1200 PetscCall(VecDestroy(std::get<2>(*p))); in PCDestroy_Schur() 1201 PetscCall(VecDestroy(std::get<2>(*p) + 1)); in PCDestroy_Schur() [all …]
|
| /petsc/ |
| H A D | setup.py | 104 options = os.environ.get('PETSC_CONFIGURE_OPTIONS', '') 131 mpicc = os.environ.get('MPICC') or shutil.which('mpicc') 132 mpicxx = os.environ.get('MPICXX') or shutil.which('mpicxx') 134 os.environ.get('MPIFORT') 135 or os.environ.get('MPIF90') 175 os.environ.get(prefix + '_BUILD_BACKEND')
|
| H A D | README.md | 7 ### How do I get set up? ###
|
| /petsc/src/sys/tests/linter/output/ |
| H A D | testStaticFunctionCandidates.patch | 10 // this should get static! 38 // ironically enough, this will get static
|
| /petsc/src/vec/vec/impls/seq/cupm/ |
| H A D | vecseqcupm_impl.hpp | 1721 …const auto u = thrust::get<0>(x); // with x.get<0>(), cuda-12.4.0 gives error: class "cuda::st… in operator ()() 1722 const auto y = thrust::get<1>(x); in operator ()() 1726 const auto tola = skip ? 0.0 : PetscRealPart(thrust::get<2>(x)); in operator ()() 1727 const auto tolr = skip ? 0.0 : PetscRealPart(thrust::get<3>(x)) * PetscMax(au, ay); in operator ()() 1748 const auto au = PetscAbsScalar(thrust::get<0>(x)); in operator ()() 1749 const auto ay = PetscAbsScalar(thrust::get<1>(x)); in operator ()() 1751 const auto tola = skip ? 0.0 : PetscRealPart(thrust::get<3>(x)); in operator ()() 1752 const auto tolr = skip ? 0.0 : PetscRealPart(thrust::get<4>(x)) * PetscMax(au, ay); in operator ()() 1754 const auto err = PetscAbsScalar(thrust::get<2>(x)); in operator ()() 1778 PetscMax(thrust::get<0>(lhs), thrust::get<0>(rhs)), in operator ()() [all …]
|
| /petsc/config/ |
| H A D | gmakegen.py | 61 petsc_dir = os.environ.get('PETSC_DIR') 64 … petsc_dir = parse_makefile(os.path.join('lib','petsc','conf', 'petscvariables')).get('PETSC_DIR') 69 petsc_arch = os.environ.get('PETSC_ARCH') 72 …= parse_makefile(os.path.join(petsc_dir, 'lib','petsc','conf', 'petscvariables')).get('PETSC_ARCH') 135 self.have_fortran = int(self.conf.get('PETSC_USE_FORTRAN_BINDINGS', '0')) 139 return self.conf.get(val) 293 …etsc-arch', help='Set PETSC_ARCH different from environment', default=os.environ.get('PETSC_ARCH'))
|
| H A D | gmakegentest.py | 354 subst = {key : testDict.get(key, '') for key in testparse.acceptedkeys if key != 'test'} 376 dp = self.conf.get('DATAFILESPATH','') 568 for lfile in subst.get('localrunfiles','').split(): 572 for stest in subst.get("subtests",[]): 573 for lfile in testDict[stest].get('localrunfiles','').split(): 589 …self._writeTodoSkip(fh,'todo',[s for s in [srcDict.get('TODO',''), testDict.get('TODO','')] if s],… 590 self._writeTodoSkip(fh,'skip',srcDict.get('SKIP',[]) + testDict.get('SKIP',[]),footer) 690 if srcDict.get("TODO"): 711 if testDict.get('nsize', '1') != '1': 720 if testDict[stest].get('nsize', '1') != '1': [all …]
|
| /petsc/config/BuildSystem/config/packages/ |
| H A D | mpi4py.py | 84 if self.argDB.get('with-mpi4py-dir'): 86 elif self.argDB.get('download-mpi4py'): 89 elif self.argDB.get('with-mpi4py'):
|
| /petsc/src/binding/petsc4py/ |
| H A D | setup.py | 128 abi = os.environ.get("PETSC4PY_BUILD_PYSABI", "").lower() 177 pa = os.environ.get('PETSC_ARCH', '') 183 numpy_include = os.environ.get('NUMPY_INCLUDE') 274 PKG_DIR = os.environ.get(pkg.upper() + '_DIR')
|
| /petsc/src/sys/objects/device/impls/cupm/ |
| H A D | cupmevent.hpp | 117 PETSC_NODISCARD cupmEvent_t get() noexcept; 153 inline typename CUPMEvent<T>::cupmEvent_t CUPMEvent<T>::get() noexcept in get() function in Petsc::device::cupm::CUPMEvent 164 PetscCallCUPM(cupmEventRecord(get(), stream)); in record()
|
| /petsc/src/benchmarks/ |
| H A D | ssget | 252 -f download matrix and get path to archive 256 -n get number of matrices in collection 263 -v get database version
|
| /petsc/src/binding/petsc4py/src/petsc4py/lib/ |
| H A D | __init__.py | 86 module = sys.modules.get(f'{pkg}.{name}') 135 arch_env = arch_list(os.environ.get(rcvar, '')) 158 arch_cfg = arch_list(configrc.get(rcvar, ''))
|
| /petsc/src/sys/classes/matlabengine/ |
| H A D | matlab.c | 273 PetscErrorCode (*get)(PetscObject, void *); in PetscMatlabEngineGet() local 278 PetscCall(PetscObjectQueryFunction(obj, "PetscMatlabEngineGet_C", &get)); in PetscMatlabEngineGet() 279 …PetscCheck(get, PETSC_COMM_SELF, PETSC_ERR_SUP, "Object %s cannot be gotten from MATLAB engine", o… in PetscMatlabEngineGet() 281 PetscCall((*get)(obj, mengine->ep)); in PetscMatlabEngineGet()
|
| /petsc/src/mat/impls/aij/seq/seqviennacl/ |
| H A D | aijviennacl.cxx | 54 …viennaclstruct->compressed_mat->set(row_buffer.get(), row_indices.get(), col_buffer.get(), a->a, A… in MatViennaCLCopyToGPU() 70 … viennaclstruct->mat->set(row_buffer.get(), col_buffer.get(), a->a, A->rmap->n, A->cmap->n, a->nz); in MatViennaCLCopyToGPU() 133 viennacl::backend::memory_read(Agpu->handle1(), 0, row_buffer.raw_size(), row_buffer.get()); in MatViennaCLCopyFromGPU() 143 viennacl::backend::memory_read(Agpu->handle2(), 0, col_buffer.raw_size(), col_buffer.get()); in MatViennaCLCopyFromGPU()
|
| /petsc/lib/petsc/bin/saws/ |
| H A D | SAWs.py | 22 r = requests.get(url)
|
| /petsc/src/dm/tests/output/ |
| H A D | ex12_1.out | 9 To get started, type one of these: helpwin, helpdesk, or demo.
|
| /petsc/src/binding/petsc4py/conf/ |
| H A D | confpetsc.py | 154 if sys.modules.get('Cython'): 226 dest_dir = os.environ.get('DESTDIR') 243 def get(self, item, default=None): member in PetscConfig 244 return self.configdict.get(item, default) 278 PETSC_ARCH = makefile(open(petscvars, 'rt')).get('PETSC_ARCH') 324 if sys.modules.get('petsc') is not None: 340 getenv = os.environ.get 385 PCXX = PCC if self.language == 'c++' else self.get('CXX', cxx) 521 petsc_arch = conf.get('PETSC_ARCH', '') 685 python_path = env.get('PYTHONPATH', "")
|
| /petsc/doc/developers/ |
| H A D | mrfork.md | 56 - `URL with branchname` = `https://gitlab.com/paul.kuehner/petsc/-/tree/add-tao-get-constraints` ("… 59 - `branchname` = `add-tao-get-constraints`
|