| /petsc/src/ksp/ksp/tutorials/output/ |
| H A D | ex73_mg_3lv_2mg_customcommsize.out | 1 [size 12] DMCreateMatrix_ShellDA (66049 x 66049) 2 [size 12] DMCreateMatrix_ShellDA (66049 x 66049) 3 [size 12] DMCreateMatrix_ShellDA (16641 x 16641) 4 [size 12] DMCreateMatrix_ShellDA (4225 x 4225) 6 User supplied state scatter (fine [size 12]-> coarse [size 2]) 7 [size 2] DMCreateMatrix_ShellDA (4225 x 4225) 8 [size 2] DMCreateMatrix_ShellDA (1089 x 1089) 9 [size 2] DMCreateMatrix_ShellDA (289 x 289) 10 User supplied state scatter (fine [size 2]-> coarse [size 1]) 11 [size 1] DMCreateMatrix_ShellDA (289 x 289) [all …]
|
| H A D | ex73_mg_3lv_2mg.out | 1 [size 4] DMCreateMatrix_ShellDA (66049 x 66049) 2 [size 4] DMCreateMatrix_ShellDA (66049 x 66049) 3 [size 4] DMCreateMatrix_ShellDA (16641 x 16641) 4 [size 4] DMCreateMatrix_ShellDA (4225 x 4225) 6 User supplied state scatter (fine [size 4]-> coarse [size 2]) 7 [size 2] DMCreateMatrix_ShellDA (4225 x 4225) 8 [size 2] DMCreateMatrix_ShellDA (1089 x 1089) 9 [size 2] DMCreateMatrix_ShellDA (289 x 289) 10 User supplied state scatter (fine [size 2]-> coarse [size 1]) 11 [size 1] DMCreateMatrix_ShellDA (289 x 289) [all …]
|
| H A D | ex73_mg_2lv_2mg_alt.out | 1 [size 6] DMCreateMatrix_ShellDA (66049 x 66049) 2 [size 6] DMCreateMatrix_ShellDA (66049 x 66049) 3 [size 6] DMCreateMatrix_ShellDA (16641 x 16641) 4 [size 6] DMCreateMatrix_ShellDA (4225 x 4225) 6 User supplied state scatter (fine [size 6]-> coarse [size 1]) 7 [size 1] DMCreateMatrix_ShellDA (4225 x 4225) 8 [size 1] DMCreateMatrix_ShellDA (1089 x 1089) 9 [size 1] DMCreateMatrix_ShellDA (289 x 289) 11 User supplied state scatter (fine [size 6]-> coarse [size 1]) 13 User supplied state scatter (fine [size 6]-> coarse [size 1]) [all …]
|
| H A D | ex73_mg_2lv_2mg.out | 1 [size 6] DMCreateMatrix_ShellDA (66049 x 66049) 2 [size 6] DMCreateMatrix_ShellDA (66049 x 66049) 3 [size 6] DMCreateMatrix_ShellDA (16641 x 16641) 4 [size 6] DMCreateMatrix_ShellDA (4225 x 4225) 6 User supplied state scatter (fine [size 6]-> coarse [size 1]) 7 [size 1] DMCreateMatrix_ShellDA (4225 x 4225) 8 [size 1] DMCreateMatrix_ShellDA (1089 x 1089) 9 [size 1] DMCreateMatrix_ShellDA (289 x 289) 11 User supplied state scatter (fine [size 6]-> coarse [size 1]) 13 User supplied state scatter (fine [size 6]-> coarse [size 1]) [all …]
|
| /petsc/src/ts/tutorials/output/ |
| H A D | ex3_2.out | 2 Timestep 0: step size = 0.0005, time = 0., 2-norm error = 0., max norm error = 0. 3 Timestep 1: step size = 0.0005, time = 0.0005, 2-norm error = 0.00103714, max norm error = 0.0014… 4 Timestep 2: step size = 0.0005, time = 0.001, 2-norm error = 0.00173865, max norm error = 0.00251… 5 Timestep 3: step size = 0.0005, time = 0.0015, 2-norm error = 0.00218619, max norm error = 0.0031… 6 Timestep 4: step size = 0.0005, time = 0.002, 2-norm error = 0.00244382, max norm error = 0.00355… 7 Timestep 5: step size = 0.0005, time = 0.0025, 2-norm error = 0.00256155, max norm error = 0.0037… 8 Timestep 6: step size = 0.0005, time = 0.003, 2-norm error = 0.0025782, max norm error = 0.003786… 9 Timestep 7: step size = 0.0005, time = 0.0035, 2-norm error = 0.00252374, max norm error = 0.0037… 10 Timestep 8: step size = 0.0005, time = 0.004, 2-norm error = 0.00242114, max norm error = 0.00359… 11 Timestep 9: step size = 0.0005, time = 0.0045, 2-norm error = 0.00228786, max norm error = 0.0034… [all …]
|
| H A D | ex3_1.out | 2 Timestep 0: step size = 0.0005, time = 0., 2-norm error = 0., max norm error = 0. 3 Timestep 1: step size = 0.0005, time = 0.0005, 2-norm error = 0.00103714, max norm error = 0.0014… 4 Timestep 2: step size = 0.0005, time = 0.001, 2-norm error = 0.00173865, max norm error = 0.00251… 5 Timestep 3: step size = 0.0005, time = 0.0015, 2-norm error = 0.00218619, max norm error = 0.0031… 6 Timestep 4: step size = 0.0005, time = 0.002, 2-norm error = 0.00244382, max norm error = 0.00355… 7 Timestep 5: step size = 0.0005, time = 0.0025, 2-norm error = 0.00256155, max norm error = 0.0037… 8 Timestep 6: step size = 0.0005, time = 0.003, 2-norm error = 0.0025782, max norm error = 0.003786… 9 Timestep 7: step size = 0.0005, time = 0.0035, 2-norm error = 0.00252374, max norm error = 0.0037… 10 Timestep 8: step size = 0.0005, time = 0.004, 2-norm error = 0.00242114, max norm error = 0.00359… 11 Timestep 9: step size = 0.0005, time = 0.0045, 2-norm error = 0.00228786, max norm error = 0.0034… [all …]
|
| H A D | ex3_fischer_guess_2.out | 2 Timestep 0: step size = 0.0005, time = 0., 2-norm error = 0., max norm error = 0. 4 Timestep 1: step size = 0.0005, time = 0.0005, 2-norm error = 0.00920347, max norm error = 0.0133… 6 Timestep 2: step size = 0.0005, time = 0.001, 2-norm error = 0.0155367, max norm error = 0.0225476 8 Timestep 3: step size = 0.0005, time = 0.0015, 2-norm error = 0.0196742, max norm error = 0.02866… 10 Timestep 4: step size = 0.0005, time = 0.002, 2-norm error = 0.0221499, max norm error = 0.0324123 12 Timestep 5: step size = 0.0005, time = 0.0025, 2-norm error = 0.0233849, max norm error = 0.034389 14 Timestep 6: step size = 0.0005, time = 0.003, 2-norm error = 0.0237097, max norm error = 0.0350595 16 Timestep 7: step size = 0.0005, time = 0.0035, 2-norm error = 0.0233823, max norm error = 0.03478… 18 Timestep 8: step size = 0.0005, time = 0.004, 2-norm error = 0.0226031, max norm error = 0.033854 20 Timestep 9: step size = 0.0005, time = 0.0045, 2-norm error = 0.0215263, max norm error = 0.03247… [all …]
|
| H A D | ex3_fischer_guess.out | 2 Timestep 0: step size = 0.0005, time = 0., 2-norm error = 0., max norm error = 0. 4 Timestep 1: step size = 0.0005, time = 0.0005, 2-norm error = 0.00920347, max norm error = 0.0133… 6 Timestep 2: step size = 0.0005, time = 0.001, 2-norm error = 0.0155367, max norm error = 0.0225476 8 Timestep 3: step size = 0.0005, time = 0.0015, 2-norm error = 0.0196742, max norm error = 0.02866… 10 Timestep 4: step size = 0.0005, time = 0.002, 2-norm error = 0.0221499, max norm error = 0.0324123 12 Timestep 5: step size = 0.0005, time = 0.0025, 2-norm error = 0.0233849, max norm error = 0.034389 14 Timestep 6: step size = 0.0005, time = 0.003, 2-norm error = 0.0237097, max norm error = 0.0350595 16 Timestep 7: step size = 0.0005, time = 0.0035, 2-norm error = 0.0233823, max norm error = 0.03478… 18 Timestep 8: step size = 0.0005, time = 0.004, 2-norm error = 0.0226031, max norm error = 0.033854 20 Timestep 9: step size = 0.0005, time = 0.0045, 2-norm error = 0.0215263, max norm error = 0.03247… [all …]
|
| H A D | ex3_fischer_guess_3.out | 2 Timestep 0: step size = 0.0005, time = 0., 2-norm error = 1.02978e-15, max norm error = 3.10862e-… 4 Timestep 1: step size = 0.0005, time = 0.0005, 2-norm error = 0.00920347, max norm error = 0.0133… 6 Timestep 2: step size = 0.0005, time = 0.001, 2-norm error = 0.0155367, max norm error = 0.0225476 8 Timestep 3: step size = 0.0005, time = 0.0015, 2-norm error = 0.0196742, max norm error = 0.02866… 10 Timestep 4: step size = 0.0005, time = 0.002, 2-norm error = 0.0221499, max norm error = 0.0324123 12 Timestep 5: step size = 0.0005, time = 0.0025, 2-norm error = 0.0233849, max norm error = 0.034389 14 Timestep 6: step size = 0.0005, time = 0.003, 2-norm error = 0.0237097, max norm error = 0.0350595 16 Timestep 7: step size = 0.0005, time = 0.0035, 2-norm error = 0.0233823, max norm error = 0.03478… 18 Timestep 8: step size = 0.0005, time = 0.004, 2-norm error = 0.0226031, max norm error = 0.033854 20 Timestep 9: step size = 0.0005, time = 0.0045, 2-norm error = 0.0215263, max norm error = 0.03247… [all …]
|
| H A D | ex3_pod_guess_Ainner.out | 2 Timestep 0: step size = 0.0005, time = 0., 2-norm error = 0., max norm error = 0. 4 Timestep 1: step size = 0.0005, time = 0.0005, 2-norm error = 0.00920347, max norm error = 0.0133… 6 Timestep 2: step size = 0.0005, time = 0.001, 2-norm error = 0.0155367, max norm error = 0.0225476 8 Timestep 3: step size = 0.0005, time = 0.0015, 2-norm error = 0.0196742, max norm error = 0.02866… 10 Timestep 4: step size = 0.0005, time = 0.002, 2-norm error = 0.0221499, max norm error = 0.0324123 12 Timestep 5: step size = 0.0005, time = 0.0025, 2-norm error = 0.0233849, max norm error = 0.034389 14 Timestep 6: step size = 0.0005, time = 0.003, 2-norm error = 0.0237097, max norm error = 0.0350595 16 Timestep 7: step size = 0.0005, time = 0.0035, 2-norm error = 0.0233823, max norm error = 0.03478… 18 Timestep 8: step size = 0.0005, time = 0.004, 2-norm error = 0.0226031, max norm error = 0.033854 20 Timestep 9: step size = 0.0005, time = 0.0045, 2-norm error = 0.0215263, max norm error = 0.03247… [all …]
|
| H A D | ex3_pod_guess.out | 2 Timestep 0: step size = 0.0005, time = 0., 2-norm error = 0., max norm error = 0. 4 Timestep 1: step size = 0.0005, time = 0.0005, 2-norm error = 0.00920347, max norm error = 0.0133… 6 Timestep 2: step size = 0.0005, time = 0.001, 2-norm error = 0.0155367, max norm error = 0.0225476 8 Timestep 3: step size = 0.0005, time = 0.0015, 2-norm error = 0.0196742, max norm error = 0.02866… 10 Timestep 4: step size = 0.0005, time = 0.002, 2-norm error = 0.0221499, max norm error = 0.0324123 12 Timestep 5: step size = 0.0005, time = 0.0025, 2-norm error = 0.0233849, max norm error = 0.034389 14 Timestep 6: step size = 0.0005, time = 0.003, 2-norm error = 0.0237097, max norm error = 0.0350595 16 Timestep 7: step size = 0.0005, time = 0.0035, 2-norm error = 0.0233823, max norm error = 0.03478… 18 Timestep 8: step size = 0.0005, time = 0.004, 2-norm error = 0.0226031, max norm error = 0.033854 20 Timestep 9: step size = 0.0005, time = 0.0045, 2-norm error = 0.0215263, max norm error = 0.03247… [all …]
|
| /petsc/include/petsc/private/ |
| H A D | mempoison.h | 14 #define ASAN_POISON_MEMORY_REGION(addr, size) ((void)(addr), (void)(size)) argument 15 #define ASAN_UNPOISON_MEMORY_REGION(addr, size) ((void)(addr), (void)(size)) argument 28 #define VALGRIND_MAKE_MEM_NOACCESS(addr, size) ((void)(addr), (void)(size)) argument 29 #define VALGRIND_MAKE_MEM_UNDEFINED(addr, size) ((void)(addr), (void)(size)) argument 30 #define VALGRIND_MAKE_MEM_DEFINED(addr, size) ((void)(addr), (void)(size)) argument 92 static inline PetscErrorCode PetscPoisonMemoryRegion(const void *ptr, size_t size) in PetscPoisonMemoryRegion() argument 98 ASAN_POISON_MEMORY_REGION(ptr, size); in PetscPoisonMemoryRegion() 100 (void)VALGRIND_MAKE_MEM_NOACCESS(ptr, size); in PetscPoisonMemoryRegion() 101 (void)VALGRIND_MAKE_MEM_UNDEFINED(ptr, size); in PetscPoisonMemoryRegion() 104 (void)size; in PetscPoisonMemoryRegion() [all …]
|
| /petsc/src/sys/utils/ |
| H A D | sortso.c | 28 static inline void COPYSWAPPY(char *a, char *b, char *t, size_t size) in COPYSWAPPY() argument 30 __builtin_memcpy(t, b, size); in COPYSWAPPY() 31 __builtin_memmove(b, a, size); in COPYSWAPPY() 32 __builtin_memcpy(a, t, size); in COPYSWAPPY() 47 static inline void Petsc_memcpy(char *dest, const char *src, size_t size) in Petsc_memcpy() argument 49 __builtin_memcpy(dest, src, size); in Petsc_memcpy() 60 static inline void Petsc_memmove(char *dest, const char *src, size_t size) in Petsc_memmove() argument 62 __builtin_memmove(dest, src, size); in Petsc_memmove() 73 static inline void COPYSWAPPY(char *a, char *b, char *t, size_t size) in COPYSWAPPY() argument 76 PetscCallAbort(PETSC_COMM_SELF, PetscMemcpy(t, b, size)); in COPYSWAPPY() [all …]
|
| H A D | psplit.c | 28 PetscMPIInt size, rank; in PetscSplitOwnershipBlock() local 38 PetscCallMPI(MPI_Comm_size(comm, &size)); in PetscSplitOwnershipBlock() 40 *n = bs * (Nbs / size + ((Nbs % size) > rank)); in PetscSplitOwnershipBlock() 69 PetscMPIInt size, rank; in PetscSplitOwnership() local 77 PetscCallMPI(MPI_Comm_size(comm, &size)); in PetscSplitOwnership() 79 …PetscCheck(!g[0] || g[0] == size, comm, PETSC_ERR_ARG_INCOMP, "All processes must supply PETSC_DEC… in PetscSplitOwnership() 80 …PetscCheck(!g[1] || g[1] == size, comm, PETSC_ERR_ARG_INCOMP, "All processes must supply PETSC_DEC… in PetscSplitOwnership() 86 PetscCallMPI(MPI_Comm_size(comm, &size)); in PetscSplitOwnership() 88 *n = *N / size + ((*N % size) > rank); in PetscSplitOwnership() 125 PetscMPIInt size, rank; in PetscSplitOwnershipEqual() local [all …]
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | arraynpy.pxi | 81 cdef inline ndarray empty_b(PetscInt size): argument 82 cdef npy_intp s = <npy_intp> size 85 cdef inline ndarray empty_i(PetscInt size): argument 86 cdef npy_intp s = <npy_intp> size 89 cdef inline ndarray empty_r(PetscInt size): argument 90 cdef npy_intp s = <npy_intp> size 93 cdef inline ndarray empty_s(PetscInt size): argument 94 cdef npy_intp s = <npy_intp> size 97 cdef inline ndarray empty_c(PetscInt size): argument 98 cdef npy_intp s = <npy_intp> size [all …]
|
| /petsc/src/sys/objects/cxx/memory/ |
| H A D | object_pool.cxx | 32 size_type size; member 43 …locator::AllocationHeader::AllocationHeader(size_type size, align_type align) noexcept : size{size… in AllocationHeader() argument 102 constexpr PoolAllocator::size_type PoolAllocator::total_size_(size_type size, align_type align) noe… in total_size_() argument 106 return AllocationHeader::header_size() + size + util::to_underlying(align) - 1; in total_size_() 134 PetscCall(PetscUnpoisonMemoryRegion(header, total_size_(header->size, header->align))); in delete_ptr_() 297 PetscErrorCode PoolAllocator::allocate_ptr_(size_type size, align_type align, void **ret_ptr) noexc… in allocate_ptr_() argument 300 const auto total_size = total_size_(size, align); in allocate_ptr_() 330 …unsigned char *>(util::construct_at(reinterpret_cast<AllocationHeader *>(base_ptr), size, align))); in allocate_ptr_() 334 *ret_ptr = std::align(util::to_underlying(align), size, aligned_ptr, usable_size); in allocate_ptr_() 336 …ign() failed to align pointer %p (size %zu, alignment %zu)", aligned_ptr, size, util::to_underlyin… in allocate_ptr_() [all …]
|
| /petsc/src/dm/dt/space/impls/ptrimmed/tests/output/ |
| H A D | ex1_1.out | 3 Space in 0 variables with 1 components, size 1 7 Space in 0 variables with 2 components, size 2 11 Space in 0 variables with 1 components, size 1 15 Space in 0 variables with 1 components, size 1 19 Space in 0 variables with 2 components, size 2 23 Space in 0 variables with 1 components, size 1 27 Space in 0 variables with 1 components, size 1 31 Space in 0 variables with 2 components, size 2 35 Space in 0 variables with 1 components, size 1 39 Space in 0 variables with 1 components, size 1 [all …]
|
| /petsc/src/ksp/ksp/tests/ |
| H A D | ex61.c | 14 PetscInt size = 8, lda = 10, i, j; in main() local 19 PetscCall(PetscMalloc1(lda * size, &b)); in main() 20 for (i = 0; i < size; i++) { in main() 21 for (j = 0; j < size; j++) b[i + j * lda] = rand(); in main() 24 PetscCall(MatSetSizes(A, size, size, size, size)); in main() 29 for (i = 0; i < size; i++) { in main() 30 for (j = 0; j < size; j++) a[i + j * size] = b[i + j * lda]; in main() 37 PetscCall(MatSetSizes(B, size, size, size, size)); in main() 44 PetscCall(PetscMalloc1(size, &x)); in main() 45 for (i = 0; i < size; i++) x[i] = 1.0; in main() [all …]
|
| /petsc/src/snes/tutorials/output/ |
| H A D | ex56_0.out | 10 depth: 4 strata with value/size (0 (8), 1 (12), 2 (6), 3 (1)) 11 marker: 1 strata with value/size (1 (23)) 12 Face Sets: 4 strata with value/size (1 (1), 2 (1), 3 (1), 6 (1)) 13 celltype: 4 strata with value/size (0 (8), 1 (12), 4 (6), 7 (1)) 14 boundary: 1 strata with value/size (1 (23)) 25 celltype: 4 strata with value/size (0 (27), 1 (54), 4 (36), 7 (8)) 26 depth: 4 strata with value/size (0 (27), 1 (54), 2 (36), 3 (8)) 27 marker: 1 strata with value/size (1 (77)) 28 Face Sets: 4 strata with value/size (1 (9), 2 (9), 3 (9), 6 (9)) 29 boundary: 1 strata with value/size (1 (77)) [all …]
|
| /petsc/src/dm/impls/plex/tests/output/ |
| H A D | ex46_0.out | 7 marker: 1 strata with value/size (1 (2)) 8 Face Sets: 2 strata with value/size (1 (1), 2 (1)) 9 depth: 2 strata with value/size (0 (6), 1 (5)) 10 celltype: 2 strata with value/size (0 (6), 1 (5)) 18 celltype: 2 strata with value/size (0 (8), 1 (7)) 19 depth: 2 strata with value/size (0 (8), 1 (7)) 20 marker: 1 strata with value/size (1 (2)) 21 Face Sets: 2 strata with value/size (1 (1), 2 (1)) 33 celltype: 2 strata with value/size (0 (11), 1 (10)) 34 depth: 2 strata with value/size (0 (11), 1 (10)) [all …]
|
| H A D | ex16_2.out | 8 depth: 3 strata with value/size (0 (185), 1 (340), 2 (156)) 9 marker: 1 strata with value/size (1 (71)) 10 Face Sets: 3 strata with value/size (1 (7), 2 (20), 3 (8)) 11 celltype: 3 strata with value/size (0 (185), 1 (340), 4 (156)) 19 celltype: 0 strata with value/size () 20 depth: 3 strata with value/size (0 (0), 1 (0), 2 (0)) 21 marker: 0 strata with value/size () 22 Face Sets: 0 strata with value/size () 23 cells: 0 strata with value/size () 31 celltype: 3 strata with value/size (0 (185), 1 (340), 4 (156)) [all …]
|
| H A D | ex16_1.out | 8 depth: 3 strata with value/size (0 (185), 1 (340), 2 (156)) 9 marker: 1 strata with value/size (1 (71)) 10 Face Sets: 3 strata with value/size (1 (7), 2 (20), 3 (8)) 11 celltype: 3 strata with value/size (0 (185), 1 (340), 4 (156)) 19 celltype: 3 strata with value/size (0 (115), 1 (203), 4 (89)) 20 depth: 3 strata with value/size (0 (115), 1 (203), 2 (89)) 21 marker: 1 strata with value/size (1 (37)) 22 Face Sets: 2 strata with value/size (1 (7), 2 (11)) 23 cells: 1 strata with value/size (1 (407)) 31 celltype: 3 strata with value/size (0 (122), 1 (212), 4 (91)) [all …]
|
| H A D | ex11_univ.out | 60 celltype: 3 strata with value/size (0 (9), 1 (16), 3 (8)) 61 depth: 3 strata with value/size (0 (9), 1 (16), 2 (8)) 62 marker: 1 strata with value/size (1 (16)) 63 Face Sets: 4 strata with value/size (1 (2), 2 (2), 3 (2), 4 (2)) 64 Boundary Faces: 1 strata with value/size (13 (8)) 65 Boundary: 1 strata with value/size (121 (16)) 90 celltype: 3 strata with value/size (0 (9), 1 (16), 3 (8)) 91 depth: 3 strata with value/size (0 (9), 1 (16), 2 (8)) 92 marker: 1 strata with value/size (1 (16)) 93 Face Sets: 4 strata with value/size (1 (2), 2 (2), 3 (2), 4 (2)) [all …]
|
| /petsc/src/sys/tests/output/ |
| H A D | ex33_1.out | 2 Invalid stack size 0, pop foo 3 Invalid stack size 0, pop foo 4 Invalid stack size 0, pop foo 5 Invalid stack size 0, pop foo 6 Invalid stack size 0, pop foo 7 Invalid stack size 0, pop foo 8 Invalid stack size 0, pop foo 9 Invalid stack size 0, pop foo 10 Invalid stack size 0, pop foo 11 Invalid stack size 0, pop foo [all …]
|
| /petsc/src/mat/tutorials/ |
| H A D | ex2.c | 17 PetscInt size = 8, size1 = 6, size2 = 2, i, j; in main() local 27 PetscCall(PetscMalloc1(size * size, &a)); in main() 28 PetscCall(PetscMalloc1(size * size, &b)); in main() 29 for (i = 0; i < size; i++) { in main() 30 for (j = 0; j < size; j++) { in main() 31 PetscCall(PetscRandomGetValue(rnd, &a[i + j * size])); in main() 32 b[i + j * size] = a[i + j * size]; in main() 36 PetscCall(MatSetSizes(A, size, size, size, size)); in main() 42 PetscCall(PetscMalloc1(size, &x)); in main() 43 for (i = 0; i < size; i++) x[i] = one; in main() [all …]
|