| feea8592 | 28-Sep-2023 |
James Wright <james@jameswright.xyz> |
fix(fluids): Don't use IntArrayC2P in diff filter
IntArrayC2P frees the input array, when I need both the `PetscInt` array and the `CeedInt` array. |
| 9dbcead6 | 27-Sep-2023 |
Jeremy L Thompson <jeremy@jeremylt.org> |
DMSwarm Example with Interpolation and Projection (#1284)
* petsc - initial DMSwarm example
* swarm - links and runs
* swarm - fixed default box dims
* swarm - clearer error messages
* s
DMSwarm Example with Interpolation and Projection (#1284)
* petsc - initial DMSwarm example
* swarm - links and runs
* swarm - fixed default box dims
* swarm - clearer error messages
* swarm - clearer background mesh setup requirements
* swarm - Tensor bad :(
* Fix inequality direction for verification
* swarm - add viewing command
* swarm - DMSwarmPICField_coor
* swarm - DMSwarmGetCellDM
* swarm - dm_plex_hash_location true
* fix coordinate ordering
* "working" two-way projection
* libceed mostly correct, off by a permutation or something
* add tolerance parameter and make test succeed
* Use DMProjectFunction to support high-order bases
* minor clarity change
* prefer PetscPrintf over printf
* consistency
* minor - make uniform vs sin distributed points cl option
* fix VLA declaration
* minor reorganizing
* swarm value check in separate fn
* minor reorg and rename
* style
* separate interpolate logic into its own fns
* consistency
* fix error message
* woops, use field name arg
* improve indexing, switch to uniform for test
* fix multiple comp
* drop unused function
* draft documentation
* style
* Update PETSc style documentation
Co-authored-by: Zach Atkins <zach.atkins@colorado.edu>
* Update examples/petsc/dmswarm.c
* add create/destroy for ceed ctx object
* use libCEED rstr
* add P2C/C2P utils
* minor simplifications
* add projection swarm to mesh
* minor
* update gitignore
* add gauss point locations, lumped comparison
* simplify uniform/gauss coords logic
* fix segfault
* drop comparison - can replicate with CL options
* add polynomial target option
* minor tidying
* revert accidental change
* lumped test
* update tolerance option description
Co-authored-by: Zach Atkins <zach.atkins@colorado.edu>
* add points_per_cell option
* Fix siliness by Jeremy
Co-authored-by: Zach Atkins <zach.atkins@colorado.edu>
* fix scoping and logic
* style
* discontinuous sphere target
* add cellwise random swarm
---------
Co-authored-by: Zach Atkins <zach.atkins@colorado.edu>
show more ...
|
| 48bb5a66 | 27-Sep-2023 |
James Wright <james@jameswright.xyz> |
Merge pull request #1349 from CEED/jrwrigh/remove_ctx_update
fluids: Use normal `CeedOperatorSetContextDouble` instead of `UpdateContextLabel` |
| 7d4c6def | 26-Sep-2023 |
James Wright <james@jameswright.xyz> |
fluids: Use normal CeedOperatorSetContextDouble
That instead of `UpdateContextLabel`, as #1347 built that functionality into the normal label setting functions themselves |
| 85df0564 | 26-Sep-2023 |
James Wright <james@jameswright.xyz> |
fluids: Fix 64bit Int typing issues |
| 1b561cd6 | 22-Sep-2023 |
James Wright <james@jameswright.xyz> |
fluids: Add ASAN, Correct memory out-of-bounds error |
| ac5aa7bc | 19-Sep-2023 |
Jeremy L Thompson <jeremy@jeremylt.org> |
minor - spelling is hard |
| 0382e78d | 18-Sep-2023 |
James Wright <james@jameswright.xyz> |
fluids: Use explicit array size for new_bounds
- `new_bounds` was previously changed to remove the explicit array size declaration because Sycl's online compiler didn't like it. - Trying to do
fluids: Use explicit array size for new_bounds
- `new_bounds` was previously changed to remove the explicit array size declaration because Sycl's online compiler didn't like it. - Trying to do a direct cast results in: ``` /home/jrwrigh/software/libCEED/examples/fluids/problems/../qfunctions/sgs_dd_model.h:67:39: error: used type 'const CeedScalar[6][2]' (aka 'const double[6][2]') where arithmetic or pointer type is required const CeedScalar new_bounds[6][2] = (const CeedScalar[6][2]) & sgsdd_ctx->data[sgsdd_ctx->offsets.out_scaling]; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ``` - This represents the best compromise; can't do a direct pointer cast (requiring more compiler work to be efficient and obfuscating what's happening), but can at least keep the explicit array sizes for `new_bounds`
show more ...
|
| 4e5897fc | 15-Sep-2023 |
James Wright <james@jameswright.xyz> |
fluids: Change variable name "local" to appease ocloc
- For reasons only God knows, ocloc (online compiler for OpenCL for Intel hardware) doesn't approve of the variable name `local`. It returns
fluids: Change variable name "local" to appease ocloc
- For reasons only God knows, ocloc (online compiler for OpenCL for Intel hardware) doesn't approve of the variable name `local`. It returns: ``` $ build/fluids-navierstokes -ceed /gpu/sycl/ref -options_file examples/fluids/tests-output/stats_test.yaml -test_type solver -compare_final_state_atol 1e-11 -compare_final_state_filename examples/fluids/tests-output/fluids-navierstokes-turb-spanstats-stats.bin Command was: ocloc -q -spv_only -device pvc -64 -options "-cl-std=CL3.0 -Dint32_t=int" -file main.cl [0]PETSC ERROR: --------------------- Error Message -------------------------------------------------------------- [0]PETSC ERROR: Error in external library [0]PETSC ERROR: /home/jczhang/libCEED/backends/sycl/ceed-sycl-compile.sycl.cpp:73 in CeedJitCompileSource_Sycl(): ocloc reported compilation errors: { Build failed with error code: -11 } ```
show more ...
|
| 21f16bf6 | 13-Sep-2023 |
Jeremy L Thompson <jeremy@jeremylt.org> |
Merge pull request #1315 from CEED/jeremy/queep
Backend Consistency Fixes |
| 09b5d125 | 13-Sep-2023 |
James Wright <james@jameswright.xyz> |
fluids: Fix Sycl related arguments
- These arguments work fine in CUDA and HIP, but OpenCL (specifically, the online compiler used for Sunspot) isn't happy with these minor changes in pointer de
fluids: Fix Sycl related arguments
- These arguments work fine in CUDA and HIP, but OpenCL (specifically, the online compiler used for Sunspot) isn't happy with these minor changes in pointer definitions.
show more ...
|
| edb2538e | 01-Sep-2023 |
Jeremy L Thompson <jeremy@jeremylt.org> |
style - spell rstr consistently |
| 07328cde | 11-Sep-2023 |
James Wright <james@jameswright.xyz> |
test: Add fluids test for MatShell code
- Previously, `-amat_type shell -pmat_pbdiagonal` weren't tested at all - This also helps to test `CeedOperatorLinearAssemblePointBlockDiagonalSymbolic` |
| 01f0e615 | 18-Jun-2023 |
James Wright <james@jameswright.xyz> |
Add CeedOperatorLinearAssemblePointBlockDiagonalSymbolic |
| f3e15844 | 07-Sep-2023 |
James Wright <james@jameswright.xyz> |
fluids: Add QF value qdata packing/unpacking |
| 356036fa | 31-Jul-2023 |
Jeremy L Thompson <jeremy@jeremylt.org> |
interface - rename CEED_BASIS_COLLOCATED to CEED_BASIS_NONE |
| 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 ...
|
| 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 |
| 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`) |