| 4abf744e | 31-Aug-2023 |
Jeremy L Thompson <jeremy@jeremylt.org> |
Merge pull request #1318 from CEED/jrwrigh/fix_collocated_basis
fix: Add `CEED_BASIS_COLLOCATED` to ceed.h |
| 056ec191 | 31-Aug-2023 |
James Wright <james@jameswright.xyz> |
fix: Add `CEED_BASIS_COLLOCATED` to ceed.h
- `CEED_BASIS_COLLOCATED` is deprecated, so should still be available to use |
| 68405a86 | 31-Aug-2023 |
Jed Brown <jed@jedbrown.org> |
Merge pull request #1314 from CEED/jed/fix-realloc
preconditioning: fix realloc use-after-free bug |
| 27789c4a | 31-Aug-2023 |
Jed Brown <jed@jedbrown.org> |
preconditioning: fix realloc use-after-free bug
realloc(&p, size) may change the value of p. In this function, we stored the local variable into a struct, then call realloc again on the (untrue) ass
preconditioning: fix realloc use-after-free bug
realloc(&p, size) may change the value of p. In this function, we stored the local variable into a struct, then call realloc again on the (untrue) assumption that the value would not change.
==31299== Invalid read of size 4 ==31299== at 0x65A38F5: CeedSingleOperatorAssembleAddDiagonal_Core (ceed-preconditioning.c:329) ==31299== by 0x65A5321: CeedOperatorLinearAssembleAddDiagonal (ceed-preconditioning.c:1751) ==31299== by 0x65A529E: CeedOperatorLinearAssembleAddDiagonal (ceed-preconditioning.c:1743) ==31299== by 0x65A52F8: CeedCompositeOperatorLinearAssembleAddDiagonal (ceed-preconditioning.c:433) ==31299== by 0x65A52F8: CeedOperatorLinearAssembleAddDiagonal (ceed-preconditioning.c:1749) ==31299== by 0x65A54B8: CeedOperatorLinearAssembleDiagonal (ceed-preconditioning.c:1694) ==31299== by 0x48C6437: RatelGetDiagonal (ratel-petsc-ops.c:71) ==31299== by 0x558FA59: MatGetDiagonal_Shell (in /home/rezgar/petsc/mpich_arch/lib/libpetsc.so.3.019.4) ==31299== by 0x55A20A7: MatGetDiagonal (in /home/rezgar/petsc/mpich_arch/lib/libpetsc.so.3.019.4) ==31299== by 0x5960EF4: PCSetUp_Jacobi (in /home/rezgar/petsc/mpich_arch/lib/libpetsc.so.3.019.4) ==31299== by 0x59611C1: PCApply_Jacobi (in /home/rezgar/petsc/mpich_arch/lib/libpetsc.so.3.019.4) ==31299== by 0x5936522: PCApply (in /home/rezgar/petsc/mpich_arch/lib/libpetsc.so.3.019.4) ==31299== by 0x58F1BE5: KSPSolve_PREONLY (in /home/rezgar/petsc/mpich_arch/lib/libpetsc.so.3.019.4) ==31299== Address 0xaf09f20 is 0 bytes inside a block of size 4 free'd ==31299== at 0x484DCD3: realloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==31299== by 0x6595067: CeedReallocArray (ceed.c:252) ==31299== by 0x65A2217: CeedOperatorAssemblyDataCreate (ceed-preconditioning.c:1265) ==31299== by 0x65A2628: CeedOperatorGetOperatorAssemblyData (ceed-preconditioning.c:1129) ==31299== by 0x65A3526: CeedSingleOperatorAssembleAddDiagonal_Core (ceed-preconditioning.c:295) ==31299== by 0x65A5321: CeedOperatorLinearAssembleAddDiagonal (ceed-preconditioning.c:1751) ==31299== by 0x65A529E: CeedOperatorLinearAssembleAddDiagonal (ceed-preconditioning.c:1743) ==31299== by 0x65A52F8: CeedCompositeOperatorLinearAssembleAddDiagonal (ceed-preconditioning.c:433) ==31299== by 0x65A52F8: CeedOperatorLinearAssembleAddDiagonal (ceed-preconditioning.c:1749) ==31299== by 0x65A54B8: CeedOperatorLinearAssembleDiagonal (ceed-preconditioning.c:1694) ==31299== by 0x48C6437: RatelGetDiagonal (ratel-petsc-ops.c:71) ==31299== by 0x558FA59: MatGetDiagonal_Shell (in /home/rezgar/petsc/mpich_arch/lib/libpetsc.so.3.019.4) ==31299== by 0x55A20A7: MatGetDiagonal (in /home/rezgar/petsc/mpich_arch/lib/libpetsc.so.3.019.4) ==31299== Block was alloc'd at ==31299== at 0x48487A9: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) ==31299== by 0x6595067: CeedReallocArray (ceed.c:252) ==31299== by 0x65A1D24: CeedOperatorAssemblyDataCreate (ceed-preconditioning.c:1201) ==31299== by 0x65A2628: CeedOperatorGetOperatorAssemblyData (ceed-preconditioning.c:1129) ==31299== by 0x65A3526: CeedSingleOperatorAssembleAddDiagonal_Core (ceed-preconditioning.c:295) ==31299== by 0x65A5321: CeedOperatorLinearAssembleAddDiagonal (ceed-preconditioning.c:1751) ==31299== by 0x65A529E: CeedOperatorLinearAssembleAddDiagonal (ceed-preconditioning.c:1743) ==31299== by 0x65A52F8: CeedCompositeOperatorLinearAssembleAddDiagonal (ceed-preconditioning.c:433) ==31299== by 0x65A52F8: CeedOperatorLinearAssembleAddDiagonal (ceed-preconditioning.c:1749) ==31299== by 0x65A54B8: CeedOperatorLinearAssembleDiagonal (ceed-preconditioning.c:1694) ==31299== by 0x48C6437: RatelGetDiagonal (ratel-petsc-ops.c:71) ==31299== by 0x558FA59: MatGetDiagonal_Shell (in /home/rezgar/petsc/mpich_arch/lib/libpetsc.so.3.019.4) ==31299== by 0x55A20A7: MatGetDiagonal (in /home/rezgar/petsc/mpich_arch/lib/libpetsc.so.3.019.4)
Reported-by: Rezgar Shakeri
show more ...
|
| 5d1e9069 | 31-Aug-2023 |
Jeremy L Thompson <jeremy@jeremylt.org> |
Merge pull request #1270 from CEED/jeremy/constantinople
Rename CEED_BASIS_COLLOCATED to CEED_BASIS_NONE |
| 4f89b061 | 31-Aug-2023 |
Jeremy L Thompson <jeremy@jeremylt.org> |
Merge pull request #1313 from CEED/sjg/ceed-composite-operator-fix
Tiny fix to use CeedCompositeOperator API |
| f754c177 | 30-Aug-2023 |
Sebastian Grimberg <sjg@amazon.com> |
Tiny fix to use CeedCompositeOperator API |
| 3384518a | 30-Aug-2023 |
Jeremy L Thompson <jeremy@jeremylt.org> |
doc - further explain change from COLLOCATED to NONE |
| 356036fa | 31-Jul-2023 |
Jeremy L Thompson <jeremy@jeremylt.org> |
interface - rename CEED_BASIS_COLLOCATED to CEED_BASIS_NONE |
| cce47851 | 30-Aug-2023 |
Jeremy L Thompson <jeremy@jeremylt.org> |
Merge pull request #1281 from CEED/jeremy/simplify-parent
Clarify op fallback parent interface |
| 2e8f5c67 | 30-Aug-2023 |
Jeremy L Thompson <jeremy@jeremylt.org> |
doc - clarify documentation on CeedOperatorGetFallbackParent(Ceed) |
| e984cf9a | 03-Aug-2023 |
Jeremy L Thompson <jeremy@jeremylt.org> |
op - update return value convention for CeedOperatorGetFallbackParentCeed |
| bb229da9 | 03-Aug-2023 |
Jeremy L Thompson <jeremy@jeremylt.org> |
op - clarify op fallback parent interface |
| 1c66c397 | 30-Aug-2023 |
Jeremy L Thompson <jeremy@jeremylt.org> |
Interface consistency fixes (#1312)
* format - consistency fixes
* format - test name consistency
* format - drop comma operator
* format - drop git add . in favor coercion
* format - ad
Interface consistency fixes (#1312)
* format - consistency fixes
* format - test name consistency
* format - drop comma operator
* format - drop git add . in favor coercion
* format - add CeedScalarSwap macro
show more ...
|
| 51b66682 | 30-Aug-2023 |
James Wright <james@jameswright.xyz> |
Merge pull request #1309 from CEED/jrwrigh/elem_restr_refactor
fluids: Add DMPlexCeedElemRestriction*Create |
| 736e557e | 29-Aug-2023 |
James Wright <james@jameswright.xyz> |
fixup! fluids: Add DMPlexCeedElemRestriction*Create |
| 701bc832 | 26-Aug-2023 |
James Wright <james@jameswright.xyz> |
fluids: Document and clarify spanstats restriction creation
- The restriction creation for the spanwise statistics is a pretty special case, so better name the functions and document what exactl
fluids: Document and clarify spanstats restriction creation
- The restriction creation for the spanwise statistics is a pretty special case, so better name the functions and document what exactly it is doing
show more ...
|
| bb85d312 | 26-Aug-2023 |
James Wright <james@jameswright.xyz> |
fluids: Add DMPlexCeedElemRestriction*Create
Replaces CreateRestrictionFromPlex and GetRestrictionForDomain |
| 524ffdfd | 29-Aug-2023 |
James Wright <james@jameswright.xyz> |
Merge pull request #1259 from CEED/jrwrigh/fluids-cleanup
fluids: Misc cleanup |
| f6ce2b0a | 17-Jul-2023 |
James Wright <james@jameswright.xyz> |
fluids: Misc changes to functions |
| 3c9e7ad1 | 17-Jul-2023 |
James Wright <james@jameswright.xyz> |
fluids: Rename files with *_NS suffix |
| f17d818d | 17-Jul-2023 |
James Wright <james@jameswright.xyz> |
fluids: Correct PetscFunction{Return,BeginUser} placement
- Respect the PETSc standard for style (https://petsc.org/release/developers/style/#coding-conventions-and-style) |
| d6e67e47 | 17-Jul-2023 |
James Wright <james@jameswright.xyz> |
fluids: Remove misc comments
- Either by inaccuracy of unnecessary |
| cbef7084 | 17-Jul-2023 |
James Wright <james@jameswright.xyz> |
fluids: Make function names in consistent format
- Mainly remove `_` and acronymns with more than 2 letters should respect CamelCase (ie. `StgFunction` not `STGFunction`) |
| 241b322a | 29-Aug-2023 |
James Wright <james@jameswright.xyz> |
Merge pull request #1311 from CEED/jrwrigh/fix-fluids-preload
fluids: Fix preloading vector |