Home
last modified time | relevance | path

Searched defs:id (Results 1 – 25 of 153) sorted by relevance

1234567

/petsc/src/vec/is/tests/
H A Dex7.c26 PetscInt id[4] = {0, 1, 2, 3}; in main() local
29 PetscInt id[4] = {2, 3, 6, 7}; in main() local
32 PetscInt id[4] = {1, 4, 3, 5}; in main() local
35 PetscInt id[8] = {3, 5, 7, 8}; in main() local
40 PetscInt id[8] = {0, 1, 2, 3, 1, 4, 3, 5}; in main() local
43 PetscInt id[8] = {2, 3, 6, 7, 3, 5, 7, 8}; in main() local
50 PetscInt id[16] = {0, 1, 2, 3, 1, 4, 3, 5, 2, 3, 6, 7, 3, 5, 7, 8}; in main() local
58 PetscInt id[3] = {1, 2, 3}; in main() local
61 PetscInt id[4] = {1, 4, 5, 3}; in main() local
64 PetscInt id[3] = {3, 6, 2}; in main() local
[all …]
/petsc/src/mat/utils/
H A Dpheap.c5 PetscInt id; member
37 PetscInt id, val; in Swap() local
79 PetscErrorCode PetscHeapAdd(PetscHeap h, PetscInt id, PetscInt val) in PetscHeapAdd()
98 PetscErrorCode PetscHeapPop(PetscHeap h, PetscInt *id, PetscInt *val) in PetscHeapPop()
127 PetscErrorCode PetscHeapPeek(PetscHeap h, PetscInt *id, PetscInt *val) in PetscHeapPeek()
141 PetscErrorCode PetscHeapStash(PetscHeap h, PetscInt id, PetscInt val) in PetscHeapStash()
156 PetscInt id = Id(h, h->stash), value = Value(h, h->stash); in PetscHeapUnstash() local
/petsc/src/sys/objects/device/impls/sycl/
H A Dsycldevice.sycl.cxx34 …DeviceInternal(int id) noexcept : id_(id), devInitialized_(false), syclDevice_(chooseSYCLDevice_(i… in DeviceInternal()
35 int id() const { return id_; } in id() function in Petsc::device::sycl::Device::DeviceInternal
92 static ::sycl::device chooseSYCLDevice_(int id) in chooseSYCLDevice_()
133 auto id = *defaultDeviceId; in initialize() local
191 const auto id = *inid == PETSC_DECIDE ? defaultDevice_ : (int)*inid; in init_device_id_() local
210 PetscErrorCode Device::get_attribute_(PetscInt id, PetscDeviceAttribute attr, void *value) noexcept in get_attribute_()
H A Dsyclcontext.sycl.cxx41 static PetscErrorCode initialize_(PetscInt id, PetscDeviceContext dctx) noexcept in initialize_()
71 PetscInt id; in setUp() local
/petsc/src/snes/tutorials/network/water/
H A Dwaterreaddata.c190 int id = 0, pattern = 0; in WaterReadData() local
208 int id = 0, pattern = 0; in WaterReadData() local
224 int id = 0, curve = 0; in WaterReadData() local
245 int id = 0, node1 = 0, node2 = 0; in WaterReadData() local
272 int id = 0, node1 = 0, node2 = 0, paramid = 0; in WaterReadData() local
H A Dwater.h24 PetscInt id; /* id */ member
31 PetscInt id; /* id */ member
37 PetscInt id; /* id */ member
48 PetscInt id; /* id */ member
57 PetscInt id; /* id */ member
71 PetscInt id; /* id */ member
88 PetscInt id; /* id */ member
/petsc/src/ksp/ksp/tests/raja/
H A Dex1.raja.cxx148 int id = n * (N + 2) + m; in main() local
201 int id = n * (N + 2) + m; in main() local
248 int id = n * (N + 2) + m; in main() local
418 int id = tx + grid.n * ty; in computeErr() local
/petsc/src/sys/objects/
H A Dstate.c91 PetscErrorCode PetscObjectComposedDataRegister(PetscInt *id) in PetscObjectComposedDataRegister()
217 PetscErrorCode PetscObjectGetId(PetscObject obj, PetscObjectId *id) in PetscObjectGetId()
246 PetscErrorCode PetscObjectCompareId(PetscObject obj, PetscObjectId id, PetscBool *eq) in PetscObjectCompareId()
/petsc/lib/petsc/bin/maint/abi-compliance-checker/modules/Internals/Scripts/
H A DSections.js1 function showContent(header, id) argument
/petsc/src/sys/objects/device/tests/
H A Dex11.cxx24 PetscObjectId id = 0; in operator ()() local
106 PetscObjectId id; in TestAllCombinations() local
181 …cMemoryAccessMode, std::vector<PetscDeviceContext>>> make_map_entry(PetscObjectId id, PetscMemoryA… in make_map_entry()
222 PetscObjectId id; in CheckMapEqual() local
248 …onst auto create_container = [&](PetscContainer *c, const char name[], PetscObjectId *id) { in main()
/petsc/src/sys/objects/device/impls/cupm/
H A Dcupmdevice.cxx42 PETSC_NODISCARD auto id() const -> decltype(id_) { return id_; } in id() function in Petsc::device::cupm::Device::DeviceInternal
313 const auto id = *inid == PETSC_DECIDE ? defaultDevice_ : (int)*inid; in init_device_id_() local
348 PetscErrorCode Device<T>::get_attribute_(PetscInt id, PetscDeviceAttribute attr, void *value) noexc… in get_attribute_()
H A Dcupmstream.hpp109 static id_type id = 0; in new_id_() local
/petsc/src/mat/tests/
H A Dex29.c9 PetscInt id, val, cnt, *values; in main() local
/petsc/src/sys/objects/device/impls/
H A Dimpldevicebase.hpp82 static PetscErrorCode init_device_id_(PetscInt *id) noexcept in init_device_id_()
94 inline PetscErrorCode DeviceBase<D>::getDevice(PetscDevice device, PetscInt id) noexcept in getDevice()
180 …Base<D>::PetscOptionDeviceSelect(PetscOptionItems PetscOptionsObject, PetscInt *id, PetscBool *fla… in PetscOptionDeviceSelect()
/petsc/src/sys/objects/device/interface/
H A Dmemory.cxx49 PetscObjectId id = 0; // id of allocation member
190 … *PETSC_RESTRICT ptr, PetscMemType mtype, std::size_t size, PetscObjectId *PETSC_RESTRICT id = nul… in PetscDeviceRegisterMemory_Private()
327 PetscObjectId id = 0; in PetscDeviceAllocate_Private() local
H A Dmark_dcontext.cxx77 PetscObjectId id; in PetscDeviceContextRecordEvent_Private() local
500 …odes(MarkedObjectMap::mapped_type &marked, PetscDeviceContext dctx, PetscObjectId id, PetscMemoryA… in MarkFromID_CompatibleModes()
529 …rite(MarkedObjectMap::mapped_type &marked, PetscDeviceContext dctx, PetscObjectId id, PetscMemoryA… in MarkFromID_IncompatibleModes_UpdateLastWrite()
573 …odes(MarkedObjectMap::mapped_type &marked, PetscDeviceContext dctx, PetscObjectId id, PetscMemoryA… in MarkFromID_IncompatibleModes()
594 …PetscDeviceContextMarkIntentFromID_Private(PetscDeviceContext dctx, PetscObjectId id, PetscMemoryA… in PetscDeviceContextMarkIntentFromID_Private()
642 PetscErrorCode PetscDeviceContextMarkIntentFromID(PetscDeviceContext dctx, PetscObjectId id, PetscM… in PetscDeviceContextMarkIntentFromID()
H A Dpetscdevice_interface_internal.hpp104 …PETSC_NODISCARD std::pair<bool, typename marked_type::iterator> get_marked_(PetscObjectId id) noex… in get_marked_()
142 inline PetscErrorCode CxxData::add_mark(PetscObjectId id) noexcept in add_mark()
/petsc/include/petsc/private/
H A Dpetscimpl.h112 …PetscObjectId id; /* this is used to compare object for identity that may no longer exist since me… member
1102 #define PetscObjectComposedDataSetInt(obj, id, data) \ argument
1131 #define PetscObjectComposedDataGetInt(obj, id, data, flag) ((PetscErrorCode)(((obj)->intcomposedsta… argument
1158 #define PetscObjectComposedDataSetIntstar(obj, id, data) \ argument
1189 #define PetscObjectComposedDataGetIntstar(obj, id, data, flag) \ argument
1215 #define PetscObjectComposedDataSetReal(obj, id, data) \ argument
1244 #define PetscObjectComposedDataGetReal(obj, id, data, flag) ((PetscErrorCode)(((obj)->realcomposeds… argument
1271 #define PetscObjectComposedDataSetRealstar(obj, id, data) \ argument
1302 #define PetscObjectComposedDataGetRealstar(obj, id, data, flag) \ argument
1329 #define PetscObjectComposedDataSetScalar(obj, id, data) \ argument
[all …]
/petsc/share/petsc/saws/js/
H A Dutils.js64 function scrollTo(id) argument
/petsc/src/ksp/ksp/tutorials/network/
H A Dex1.c38 PetscInt id; /* node id */ member
44 PetscInt id; /* branch id */ member
H A Dex1_nest.c37 PetscInt id; /* node id */ member
43 PetscInt id; /* branch id */ member
/petsc/src/dm/impls/plex/tests/
H A Dex102.c22 PetscInt id; in SetupBoundaries() local
/petsc/src/ksp/ksp/impls/gmres/agmres/
H A Dagmresleja.c25 PetscScalar rd, id, pd, max; in KSPAGMRESLejaCfpdMax() local
/petsc/src/sys/objects/device/util/
H A Ddevicereg.c95 static PetscErrorCode PetscDeviceRegisterEvent_Private(const char name[], PetscClassId id, PetscLog… in PetscDeviceRegisterEvent_Private()
/petsc/src/vec/vec/impls/shared/
H A Dshvec.c108 int *arena, id, key = 0; in PetscSharedMalloc() local

1234567