| #
506c99b8
|
| 17-Jun-2025 |
Jed Brown <jed@jedbrown.org> |
Merge pull request #1837 from CEED/jed/ci-noether-cuda-12.9
* ci: noether CUDA_DIR=/usr/local/cuda-12.9 * makefiles: update defaults from c99 to c11 * tidy: -clang-analyzer-security.insecureAPI.Depr
Merge pull request #1837 from CEED/jed/ci-noether-cuda-12.9
* ci: noether CUDA_DIR=/usr/local/cuda-12.9 * makefiles: update defaults from c99 to c11 * tidy: -clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling * ci: noether rocm-6.3
show more ...
|
| #
d4f9124c
|
| 17-Jun-2025 |
Jed Brown <jed@jedbrown.org> |
makefiles: update defaults from c99 to c11
cuda-12.9 contains anonymous unions, which are not in c99. But c11 is widely supported these days so it seems fair to update.
One nit is that c11 does not
makefiles: update defaults from c99 to c11
cuda-12.9 contains anonymous unions, which are not in c99. But c11 is widely supported these days so it seems fair to update.
One nit is that c11 does not require VLA, and libCEED uses VLA-pointers internally for some purposes.
show more ...
|
| #
91d8b1ea
|
| 28-Jun-2024 |
Jeremy L Thompson <jeremy@jeremylt.org> |
Merge pull request #1623 from CEED/jeremy/disable-smartsim
fluids - drop SGS, SmartSim, Torch (moved to HONEE)
|
| #
3e0c2f3f
|
| 27-Jun-2024 |
Jeremy L Thompson <jeremy@jeremylt.org> |
fluids - Remove SGS, SmartSim, Torch (moved to HONEE)
|
| #
9702fad5
|
| 12-Jun-2024 |
James Wright <james@jameswright.xyz> |
Merge pull request #1581 from CEED/jrwrigh/pytorch_external_sgs
fluids: Add PyTorch external DD SGS evaluation
|
| #
c0bf4d34
|
| 24-May-2024 |
James Wright <james@jameswright.xyz> |
fluids: Force recompilation if Makefile changes
|
| #
013a5551
|
| 04-Oct-2023 |
James Wright <james@jameswright.xyz> |
fluids: Add PyTorch external DD SGS evaluation
- Rename sequential_internal -> *_ceed
|
| #
fad128ee
|
| 13-Mar-2024 |
James Wright <james@jameswright.xyz> |
Merge pull request #1510 from CEED/jrwrigh/fluids_matceed
fluids: Add MatCeed
|
| #
ed9ed3de
|
| 12-Mar-2024 |
James Wright <james@jameswright.xyz> |
fluids: Make MatShell functions static
This is done primarily to allow MatCeed to coexist with the context operators for right now.
This has the nasty side-effect of forcing `Mat` objects to be NUL
fluids: Make MatShell functions static
This is done primarily to allow MatCeed to coexist with the context operators for right now.
This has the nasty side-effect of forcing `Mat` objects to be NULL when they're passed into CreateMatShell_Ceed, but that will soon be replaced with MatCeed, so it is only temporary for the transition in this PR
show more ...
|
| #
bc7ab607
|
| 29-Feb-2024 |
James Wright <james@jameswright.xyz> |
Merge pull request #1494 from CEED/jrwrigh/log_filter
Fluids: Add LogEvent for Differential Filter and Velocity Gradient Projection
|
| #
e51ac267
|
| 29-Feb-2024 |
James Wright <james@jameswright.xyz> |
fluids: Include config.mk from top level
Now `SMARTREDIS_DIR` can be added to the config.mk and it passed into the fluids Makefile
|
| #
3451ca54
|
| 27-Nov-2023 |
James Wright <james@jameswright.xyz> |
Merge pull request #1203 from CEED/jrwrigh/smartsim
fluids: SmartSim Online Data-Driven SGS training
|
| #
fc818f1b
|
| 07-Jun-2023 |
James Wright <james@jameswright.xyz> |
fluids: Add SmartSim build to Makefile
|
| #
c00586a4
|
| 22-Sep-2023 |
James Wright <james@jameswright.xyz> |
Merge pull request #1345 from CEED/jrwrigh/fluids-asan
fluids: Add ASAN, Correct memory out-of-bounds error
|
| #
1b561cd6
|
| 22-Sep-2023 |
James Wright <james@jameswright.xyz> |
fluids: Add ASAN, Correct memory out-of-bounds error
|
| #
11a69ce0
|
| 30-Aug-2022 |
James Wright <james@jameswright.xyz> |
fluids: Fix time label for strong STG #1057
|
| #
a25bd800
|
| 28-Aug-2022 |
James Wright <james@jameswright.xyz> |
fluids: Add STATIC and print-% to makefile
|
| #
502edf57
|
| 06-Jun-2022 |
Jed Brown <jed@jedbrown.org> |
Merge pull request #962 from CEED/jed/fluids-jacobian
examples/fluids: add analytic Jacobian
|
| #
e334ad8f
|
| 13-May-2022 |
Jed Brown <jed@jedbrown.org> |
examples/fluids: add IJacobian for SUPG
I think this is exact for Galerkin on channel.yaml and blasius.yaml. Specifically, SNES converges almost perfectly in this test than when -snes_mf_operator is
examples/fluids: add IJacobian for SUPG
I think this is exact for Galerkin on channel.yaml and blasius.yaml. Specifically, SNES converges almost perfectly in this test than when -snes_mf_operator is added.
-options_file examples/fluids/channel.yaml -snes_monitor -ksp_converged_reason -stab none -ts_max_steps 3 -newtonian_unit_tests -ksp_rtol 1e-10 -order 2 -ts_dt 3e-6 -pc_type lu
I say "think" because something is fishy with the viscous energy term velocity*stress. If I disable that term, then convergence is clearly better with the analytic Jacobian (makes sense because it's accuracy is machine epsilon) than with -snes_mf_operator. This is unexpected, but the difference is near the limit of numerical stability so I'm not confident it's wrong. Also, the term itself is so simple.
The Jacobian is inexact for SUPG in that Tau_d is frozen.
WIP: examples/fluids: support MatShell and Blasius_Inflow_Jacobian
show more ...
|
| #
ce18bed9
|
| 17-Mar-2022 |
Jeremy L Thompson <jeremy@jeremylt.org> |
Merge pull request #858 from CEED/jeremy/dump-copy-stuff
Strip redundant/outdated license info duplication
|
| #
3d8e8822
|
| 17-Mar-2022 |
Jeremy L Thompson <jeremy@jeremylt.org> |
minor - update copyright headers
|
| #
77841947
|
| 27-May-2021 |
Leila Ghaffari <49916147+LeilaGhaffari@users.noreply.github.com> |
Fluids - Refactor and add GPU support (#754)
* Initial commit for using PetscFunctionList in fluids example
* WIP: debugging
* Debug: initialize PetscFunctionList with NULL
* allocate memor
Fluids - Refactor and add GPU support (#754)
* Initial commit for using PetscFunctionList in fluids example
* WIP: debugging
* Debug: initialize PetscFunctionList with NULL
* allocate memory for context problem
* freed allocated memory
* WIP: fluids: split density current into new compilation unit
I have dropped last changes before this commit so there might be some
bugs
* Fixed bugs after dropping the commit containing unnecessary changes
* NS: dropped unused variable from User struct
* WIP: factored out DMAddBoundary() for density_current
* split advection and advection2d into separate compilation units as well
* fluids: added *.o to make clean
* removed bc from problemData
* style
* commented the error handlers and moved petsc options regarding the boundary conditions to each compilation unit
* call bc functions inside SetUpDM()
* Moved all bc related statements from SetUpDM() to each compilation unit
* examples/fluids/advection.h: style
* WIP: modified CeedQFunctionContexts
* FFR: By creating a struct for DC context, one of the last test crushed so I had to reverse it. This should be investigated later.
* style
* examples/navierstokes: Use heap memory for ctxSetup
* examples/fluids: WIP - reading arrays through cl options for DC is enabled by using double pointers but there is still a problem with unit conversions and also need to fix other structs
* style
* WIP: Trying to assign values to context data in each problem function
* bug: there is a problem in pointer to struct
* WIP: Everything seems to be working but it breaks and I haven't figured out the reason ...
* fixed typo
* comment out stuff that have been moved to densitycurrent.c
* WIP: The first two regression test pass. There is a problem with stabilization.
* style
* Fluids: QFContext -> Physics
* WIP: passing StabilizationType to Physics (but PETSc is not happy and it diverges for SU and SUPG)
* Initial commit for refactoring advection(2d)
* WIP: Advection is set up except for wind_type
* WIP: refactored advection2d; need to fix the BCs for translation and also passing implicit to advection correctly
* WIP: pass wind_type to all functions correctly but there is still a problem with BCs in the case of translation (changes are not applied to advection yet)
* Apply the same fixes for BCs in advection
* Fluids - Refactor: Moved warnings to advection(2d)
* Fluids - Refactor: remove dead code
* Fluids - Refactor: Move *.h to /qfunctions and *.c to /src
* style
* Fluids - Refactor: drop the supg regression test for now
We need to debug SU/SUPG for density_current. The test does not work.
* Fluids - Refactor: Fixed the double-pointer issue
* Fluids - Refactor: Assign ctxSetup->time = 0 inside each problem's *.c
* Fluids - Refactor: make implicit a member of Physics
* Fluids - Refactor: Add warning for the usage of explicit and supg
* Some comments and naming
* Merge main after v0.8 (#723)
* Fluids - Five regression tests added for euler_vortex
* Fluids - Drop some of the regression tests for now (Needs to get fixed)
* Fluids - Moved all functions to their corresponding source files
* Fluids - move problem source files to /problems
* Fluids - drop dead regression test reference files
* Fluids - more consistent file names
* Fluids - drop dead code and comments
* Fluids - removed CreateVectorFromPetscVec() since it was only used once
* Fluids - created AppCtx for cl option variables and moved cl options to a cloption.c
* Fluids: change style of AppCtx
* style
* Fluids: /src -> /utils
* Created CreateDistributedDM() and some style
* Fluids - create RegisterProblem()
* style - minor
* style - minor
* Fluids - some more C style
* Fluids - /utils -> /src
* Fluids - create VizRefineDM() for viz_refine
* Fluids: some style and name change
* Fluids - style
* Fluids - remove the second ceed initialization
* Fluids - Created CeedData and SetupLibCEED()
* Fluids - create SetupContextForProblems()
* Fluids - Assign structs after they are created
* Fluids - style, minor
* Fluids - created RegressionTests_NS
* Fluids - created GetError_NS()
* Fluids - created PrintOutput_NS()
This processes bash output except for the problem summary which will be
included after mem_type is managed properly.
* Fluids - remove unused variables
* Fluids - created TSSolve_NS() which creates, sets up, and solves ts
* Fluids: Fixed a bug caused by merging#714
* Fluids - style
* Fluids - created SetupICsFromBinary() for case of -continue
* Fluids - create SetBCsFromICs_NS()
* Fluids - default degree had is 1 not 2
* Fluids: clean-up
* Fluids: style - minor
* Fluids - drop redundant operation
* Fluids: clean-up SetupLibCEED()
* Fluids: style - minor
* Fluids: WIP - C style
* Fluids: style - minor
* Fluids: move ceed vector creation to SetupLibCEED()
* Fluids: WIP - clean-up CreateOperatorForDomain()
* Fluids: major clean-up in CreateOperatorForDomain()
* Fluids: style - minor
* Fluids: drop VectorPlacePetscVec()
* Fluids: move ICs_FixMultiplicity() to misc.c
* Fluids: WIP - C style
* Fluids: fix merge conflict after d63eecaab22a26d3072677a1b66c0cf77aa9009d
* Fluids: drop unused function call DMLocalizeCoordinates()
* Fluids: replace user requested memType with MemTypeP2C()
* Fluids: C style
* Fluids: Q->num_Q (Q (# qpts) and Q (global state vector) were confusing my fresh petsc config)
* Fluids: WIP - add GPU vectors
* Fluids: Fixed the memory leak caused by Physics struct
* Fluids: style -minor
* Fluids: no need for casting
* Fluids: Fix mem leak (q0_ceed had to be destroyed at the end of navierstokes.c)
* Fluids: Fixed all mem leaks
* Fluids: Set VecType for dm_hierarchy
* Fluids/doc: fix style
* Fluids: fix missing VecRestoreArray()
* Fluids: clean-up ComputeLumpedMassMatrix()
* Fluids: Cleanup ICs_FixMultiplicity()
* Fluids: WIP - cleanup setupts.c
* Fluids: style - minor
* Fluids: Create element coord ceed vector locally and drop it from CeedData
* Fluids: fix some todos
* Fluids: drop unused code for EULER BCs
* Fluids: PetscMalloc1 -> PetscCalloc1
* Fluids - Define BCs for ADVECTION(2D) for all cases without having the user specify them and change the regressions accordingly
ToDo: For some reason I can't create new regression tests for explicit scheme.
* Fluids - Define problem->print_info() for each problem
* Fluids: Shorten some problem specific command line variables & style
* Fluids - Cleanup BCs in the translation mode
* Fluids - cleanup
* Fluids - more cleanup in BCs
* Fluids - Updated doc, README, and cleanup in the code and cl options
* Fluids - add more regression tests
* Fluids - Define tolerance for the convergence test
* Fluids: include x_coord in CeedData
* wip - gpu
Revert "Fluids: include x_coord in CeedData"
I had to revert this commit since it crashes DC
* style
* Fluids - remove unused variables
* Fluids - fix unused function warnings
* Fluids - fix the remaining warnings
* Fluids - style
* Fluids - add missing licence
* Fluids - bring back contexts to the QFunction header files
* Fluids - transfer QFunctions for boundary integral to their corresponding setupgeo(2d).h header files and add description for Setup2d
* fluids - fix context data sizes
* GPU - add helper function macro
* ex - use consistent MPI info output
* GPU - improve CEED_QFUNCTION_HELPER macro, more flexible
* Fluids - turn on some gpu tests
* Fluids - bring back element coordinate to CeedData
* Fluids - cleanup
* qfunction - clean up helper function macro
* Fixed the remaining conflicts from #769 (helped-by: @rezgarshakeri)
Co-authored-by: Jed Brown <jed@jedbrown.org>
Co-authored-by: jeremylt <thompson.jeremy.luke@gmail.com>
show more ...
|
| #
777ff853
|
| 14-Aug-2020 |
Jeremy L Thompson <25011573+jeremylt@users.noreply.github.com> |
QFunction Context Data Object (#596)
* Ctx - create context object for QFunction context data
* Context - rename UserContext -> QFunctionContext
* Ctx - add lcov markers
* Ctx - fix leak in
QFunction Context Data Object (#596)
* Ctx - create context object for QFunction context data
* Context - rename UserContext -> QFunctionContext
* Ctx - add lcov markers
* Ctx - fix leak in identity QFunctions
* Hip/Cuda - rename sync functions for vector/context
* Tests - lcov marker update
* QFunction - drop unused function
* Python - fix copy-paste errors
* Ctx - update notes for Fortran usage
* Fortran - drop unneeded cast
Co-authored-by: Jed Brown <jed@jedbrown.org>
* Interface - use void* for SetData interfaces
* Make - use call quiet for NVCC
* Interface - use void* for GetData interfaces
* Make - add quiet call option for examples
* Makefile - create common makefile to reduce duplication/complexity in example makefiles
Co-authored-by: Jed Brown <jed@jedbrown.org>
show more ...
|
| #
c5fcd9d5
|
| 27-Mar-2020 |
Jed Brown <jed@jedbrown.org> |
Merge pull request #491 from CEED/jed/intel-compiler
Jed/intel compiler
|
| #
843fcb4b
|
| 27-Mar-2020 |
Jed Brown <jed@jedbrown.org> |
make: support CEED_LDFLAGS for things like -dynamic on Cray
|