Home
last modified time | relevance | path

Searched refs:pair (Results 1 – 25 of 28) sorted by relevance

12

/petsc/src/sys/objects/device/impls/
H A Dimpldevicebase.hpp49 …etscOptionDeviceAll(MPI_Comm, std::pair<PetscDeviceInitType, PetscBool> &, std::pair<PetscInt, Pet…
53 …DeviceBasic(PetscOptionItems, std::pair<PetscDeviceInitType, PetscBool> &, std::pair<PetscInt, Pet…
205 …ms PetscOptionsObject, std::pair<PetscDeviceInitType, PetscBool> &initType, std::pair<PetscInt, Pe… in PetscOptionDeviceBasic()
215 …viceAll(MPI_Comm comm, std::pair<PetscDeviceInitType, PetscBool> &initType, std::pair<PetscInt, Pe… in PetscOptionDeviceAll()
/petsc/src/sys/objects/device/interface/
H A Dpetscdevice_interface_internal.hpp104 …PETSC_NODISCARD std::pair<bool, typename marked_type::iterator> get_marked_(PetscObjectId id) noex… in get_marked_()
148 const auto pair = get_marked_(id); in add_mark() local
150 if (!pair.first) PetscCallCXX(marked_objects_.insert(pair.second, id)); in add_mark()
179 …ternal(PetscOptionItems PetscOptionsObject, std::pair<PetscDeviceType, PetscBool> &deviceType, std… in PetscDeviceContextQueryOptions_Internal()
H A Ddevice.cxx384 std::array<std::pair<PetscDevice, bool>, PETSC_DEVICE_MAX> defaultDevices = {};
/petsc/include/petsc/private/cpp/
H A Dunordered_map.hpp121 std::pair<iterator, bool> emplace(Args &&...) noexcept;
123 std::pair<iterator, bool> insert(const value_type &) noexcept;
124 std::pair<iterator, bool> insert(value_type &&) noexcept;
144 …PETSC_NODISCARD std::pair<iterator, bool> find_and_emplace_(KeyType &&, ValueTypeArgs &&...) noexc…
146 PETSC_NODISCARD std::pair<iterator, bool> find_and_emplace_(KeyValueType &&) noexcept;
254 …PETSC_NODISCARD std::pair<iterator, bool> find_and_emplace_final_(KeyType &&, ValueConstructor &&)…
613 inline std::pair<typename KHashTable<V, H, KE>::iterator, bool> KHashTable<V, H, KE>::find_and_empl… in find_and_emplace_final_()
746 inline std::pair<typename KHashTable<V, H, KE>::iterator, bool> KHashTable<V, H, KE>::find_and_empl… in find_and_emplace_()
753 inline std::pair<typename KHashTable<V, H, KE>::iterator, bool> KHashTable<V, H, KE>::find_and_empl… in find_and_emplace_()
1074 inline std::pair<typename KHashTable<V, H, KE>::iterator, bool> KHashTable<V, H, KE>::emplace(Args … in emplace()
[all …]
H A Dutility.hpp123 class compressed_pair_impl<T, U, 0> : std::pair<T, U> {
124 using base_type = std::pair<T, U>;
H A Dobject_pool.hpp64 …using pool_type = std::vector<std::pair<align_type, UnorderedMap<size_type, std::vector<void *>>>…
/petsc/config/BuildSystem/config/
H A Dframework.py723 for pair in self.substFiles.items():
724 self.substituteFile(pair[0], pair[1])
728 for pair in self.subst.items():
729 print(pair[0]+' ---> '+pair[1])
730 for pair in self.argSubst.items():
731 print(pair[0]+' ---> '+self.argDB[pair[1]])
735 for pair in child.subst.items():
737 print(substPrefix+'_'+pair[0]+' ---> '+str(pair[1]))
739 print(pair[0]+' ---> '+str(pair[1]))
740 for pair in child.argSubst.items():
[all …]
/petsc/src/sys/objects/
H A Doptionsyaml.c40 for (yaml_node_pair_t *pair = MAP(node).start; pair < MAP(node).top; pair++) { in PetscParseLayerYAML() local
41 yaml_node_t *keynode = yaml_document_get_node(doc, pair->key); in PetscParseLayerYAML()
42 yaml_node_t *valnode = yaml_document_get_node(doc, pair->value); in PetscParseLayerYAML()
/petsc/src/sys/tests/
H A Dex64.cxx40 using pair_type = std::pair<int, double>;
234 using insert_return_type = std::pair<typename map_type::iterator, bool>; in test_insert()
239 const auto pair = std::make_pair(key_const, value_const); in test_insert() local
256 PetscCall(CHECK_REINSERT(map.insert(pair))); in test_insert()
678 const auto pair_printer = [](const std::pair<int, double> &value, std::string &buf) { in main()
729 auto pair = std::make_pair(make_int(), make_double()); in main() local
730 return std::make_pair(pair, pair); in main()
732 …PetscCall(make_tester<std::pair<int, double>, std::pair<int, double>>(vwr, "pair<int, double>-pair… in main()
733 …PetscCall(make_tester<std::pair<int, double>, std::pair<int, double>, BadHash>(vwr, "pair<int, dou… in main()
/petsc/src/sys/objects/cxx/memory/
H A Dobject_pool.cxx151 …>pool().end(), align, [](const pool_type::value_type &pair, const align_type &align) { return pair in find_align_() argument
156 …>pool().end(), align, [](const pool_type::value_type &pair, const align_type &align) { return pair in find_align_() argument
/petsc/src/sys/yaml/src/
H A Dloader.c314 yaml_node_pair_t pair; in yaml_parser_load_node_add() local
323 pair.key = index; in yaml_parser_load_node_add()
324 pair.value = 0; in yaml_parser_load_node_add()
327 if (!PUSH(parser, parent->data.mapping.pairs, pair)) in yaml_parser_load_node_add()
/petsc/src/sys/objects/device/tests/
H A Dex11.cxx181 PETSC_NODISCARD static std::pair<PetscObjectId, std::pair<PetscMemoryAccessMode, std::vector<PetscD… in make_map_entry()
188 static PetscErrorCode CheckMapEqual(std::unordered_map<PetscObjectId, std::pair<PetscMemoryAccessMo… in CheckMapEqual()
/petsc/src/dm/impls/plex/
H A Dgmshlex.h275 } pair; in GmshLexOrder_PRI() typedef
276 pair ij[SN2(GMSH_MAX_ORDER)], tmp[SN2(GMSH_MAX_ORDER)]; in GmshLexOrder_PRI()
/petsc/src/dm/impls/moab/
H A Ddmmbutil.cxx178 static std::pair<PetscInt, PetscInt> DMMoab_SetElementConnectivity_Private(DMMoabMeshGeneratorCtx &… in DMMoab_SetElementConnectivity_Private()
195 return std::pair<PetscInt, PetscInt>(vcount * subelem, subelem); in DMMoab_SetElementConnectivity_Private()
314 …std::pair<PetscInt, PetscInt> entoffset = DMMoab_SetElementConnectivity_Private(genCtx, ix, corner… in DMMoab_GenerateElements_Private()
/petsc/doc/manual/
H A Dsection.md146 To handle distributed data and data with constraints, we use a pair of `PetscSections` called the `…
179 In addition to describing parallel data, the `localSection`/`globalSection` pair can be used to des…
H A Dadvanced.md35 Each submatrix may be parallel, existing on a `MPI_Comm` associated with each pair of `IS` `rows[k]…
H A Dprofiling.md402 Events are logged by using the pair
H A Dgetting_started.md389 processed with the pair of commands
/petsc/src/vec/is/sf/impls/basic/kokkos/
H A Dsfkok.kokkos.cxx662 PackInit_PairType<Kokkos::pair<int, int>>(link); in PetscSFLinkSetUp_Kokkos()
664 PackInit_PairType<Kokkos::pair<PetscInt, PetscInt>>(link); in PetscSFLinkSetUp_Kokkos()
/petsc/src/vec/vec/impls/seq/kokkos/
H A Dveckok.kokkos.cxx356 …kkos::RangePolicy<WorkTag>(exec, 0, N), mdot, Kokkos::subview(zv, Kokkos::pair<PetscInt, PetscInt>… in VecMultiDot_Private()
365 …auto results = Kokkos::subview(zv, Kokkos::pair<PetscInt, PetscInt>(cur, c… in VecMultiDot_Private()
576 const auto &Y = Kokkos::subview(A, std::pair<PetscInt, PetscInt>(0, n), Kokkos::ALL); in VecMultiDot_SeqKokkos_GEMV()
882 const auto &A = Kokkos::subview(B, std::pair<PetscInt, PetscInt>(0, n), Kokkos::ALL); in VecMAXPY_SeqKokkos_GEMV()
/petsc/doc/developers/
H A Dkernel.md314 Events are logged by using the pair `PetscLogEventBegin()` and `PetscLogEventEnd()`.
/petsc/src/ksp/pc/impls/hpddm/
H A Dpchpddm.cxx1332 for (const std::pair<const PetscInt, PetscInt> &i : order) *concatenate++ = i.second; in PCHPDDMPermute_Private()
1343 for (const std::pair<const PetscInt, PetscInt> &i : order) *concatenate++ = i.first; in PCHPDDMPermute_Private()
1599 std::pair<PC, Vec[2]> *p; in PCApply_Nest()
1625 std::pair<PC, Vec[2]> *p; in PCView_Nest()
1635 std::pair<PC, Vec[2]> *p; in PCDestroy_Nest()
2659 std::pair<PC, Vec[2]> *p; in PCSetUp_HPDDM()
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DPC.pyx883 """Set the overlap between a pair of subdomains.
1040 """Set the overlap between a pair of subdomains.
H A DKSP.pyx1392 change the other to find a compatible pair. If no such
/petsc/share/petsc/datafiles/meshes/
H A Dtestcase3D.cas4502 (mp/reg-trans/aiad/sfc-coeff-cont-pair 0)
9851 …(polar-pair-list ((polar-real-angle . 0) (polar-real-intensity . 0)) ((polar-real-angle . 0) (pola…
9852 (pold-pair-list-rad . #f)
10167 …(polar-pair-list ((polar-real-angle . 0) (polar-real-intensity . 0)) ((polar-real-angle . 0) (pola…
10168 (pold-pair-list-rad . #f)
10483 …(polar-pair-list ((polar-real-angle . 0) (polar-real-intensity . 0)) ((polar-real-angle . 0) (pola…
10484 (pold-pair-list-rad . #f)
10799 …(polar-pair-list ((polar-real-angle . 0) (polar-real-intensity . 0)) ((polar-real-angle . 0) (pola…
10800 (pold-pair-list-rad . #f)

12