History log of /libCEED/rust/libceed-sys/c-src/backends/cuda/ (Results 51 – 75 of 180)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
0d0321e022-Dec-2021 Jeremy L Thompson <jeremy@jeremylt.org>

style - consistent nameing and style for gpu backends


/libCEED/backends/cuda-gen/ceed-cuda-gen-operator-build.cpp
/libCEED/backends/cuda-gen/ceed-cuda-gen-operator.c
/libCEED/backends/cuda-ref/ceed-cuda-ref-basis.c
/libCEED/backends/cuda-ref/ceed-cuda-ref-operator.c
/libCEED/backends/cuda-ref/ceed-cuda-ref-qfunction-load.cpp
/libCEED/backends/cuda-ref/ceed-cuda-ref-qfunction-load.h
/libCEED/backends/cuda-ref/ceed-cuda-ref-qfunction.c
/libCEED/backends/cuda-ref/ceed-cuda-ref-qfunctioncontext.c
/libCEED/backends/cuda-ref/ceed-cuda-ref.c
/libCEED/backends/cuda-ref/ceed-cuda-ref.h
/libCEED/backends/cuda-ref/ceed-cuda-restriction.c
/libCEED/backends/cuda-ref/ceed-cuda-vector.c
/libCEED/backends/cuda-ref/kernels/cuda-ref-vector.cu
/libCEED/backends/cuda/ceed-cuda-common.c
/libCEED/backends/cuda/ceed-cuda-common.h
/libCEED/backends/cuda/ceed-cuda-compile.c
/libCEED/backends/cuda/ceed-cuda-compile.h
/libCEED/backends/hip-gen/ceed-hip-gen-operator-build.cpp
/libCEED/backends/hip-ref/ceed-hip-ref-basis.c
/libCEED/backends/hip-ref/ceed-hip-ref-operator.c
/libCEED/backends/hip-ref/ceed-hip-ref-qfunction-load.cpp
/libCEED/backends/hip-ref/ceed-hip-ref-qfunction-load.h
/libCEED/backends/hip-ref/ceed-hip-ref-qfunction.c
/libCEED/backends/hip-ref/ceed-hip-ref-qfunctioncontext.c
/libCEED/backends/hip-ref/ceed-hip-ref-restriction.c
/libCEED/backends/hip-ref/ceed-hip-ref-vector.c
/libCEED/backends/hip-ref/ceed-hip-ref.c
/libCEED/backends/hip-ref/ceed-hip-ref.h
/libCEED/backends/hip-ref/ceed-hip.h
/libCEED/backends/hip-ref/kernels/hip-ref-vector.hip.cpp
/libCEED/backends/hip/ceed-hip-common.c
/libCEED/backends/hip/ceed-hip-common.h
/libCEED/backends/hip/ceed-hip-compile.cpp
/libCEED/backends/hip/ceed-hip-compile.h
f87d896c22-Dec-2021 Jeremy L Thompson <jeremy@jeremylt.org>

gpu - drop unused argument in init

d7c981f322-Dec-2021 Jeremy L Thompson <jeremy@jeremylt.org>

gpu - drop unused [HIP, CUDA]_MAX_PATH constant

7fcac03622-Dec-2021 Jeremy L Thompson <jeremy@jeremylt.org>

gpu - split common cuda/hip data into separate folder


/libCEED/Makefile
/libCEED/backends/cuda-gen/ceed-cuda-gen-operator-build.cpp
/libCEED/backends/cuda-gen/ceed-cuda-gen.c
/libCEED/backends/cuda-gen/ceed-cuda-gen.h
/libCEED/backends/cuda-ref/ceed-cuda-basis.c
/libCEED/backends/cuda-ref/ceed-cuda-operator.c
/libCEED/backends/cuda-ref/ceed-cuda-qfunction-load.cpp
/libCEED/backends/cuda-ref/ceed-cuda-qfunction-load.h
/libCEED/backends/cuda-ref/ceed-cuda-qfunction.c
/libCEED/backends/cuda-ref/ceed-cuda-qfunctioncontext.c
/libCEED/backends/cuda-ref/ceed-cuda-restriction.c
/libCEED/backends/cuda-ref/ceed-cuda-vector.c
/libCEED/backends/cuda-ref/ceed-cuda.c
/libCEED/backends/cuda-ref/ceed-cuda.h
/libCEED/backends/cuda-ref/kernels/cuda-vector.cu
/libCEED/backends/cuda-shared/ceed-cuda-shared.c
/libCEED/backends/cuda-shared/ceed-cuda-shared.h
/libCEED/backends/cuda/ceed-cuda-common.c
/libCEED/backends/cuda/ceed-cuda-common.h
/libCEED/backends/cuda/ceed-cuda-compile.c
/libCEED/backends/hip-gen/ceed-hip-gen-operator-build.cpp
/libCEED/backends/hip-gen/ceed-hip-gen-qfunction.c
/libCEED/backends/hip-gen/ceed-hip-gen.c
/libCEED/backends/hip-gen/ceed-hip-gen.h
/libCEED/backends/hip-ref/ceed-hip-basis.c
/libCEED/backends/hip-ref/ceed-hip-operator.c
/libCEED/backends/hip-ref/ceed-hip-qfunction-load.cpp
/libCEED/backends/hip-ref/ceed-hip-qfunction-load.h
/libCEED/backends/hip-ref/ceed-hip-qfunction.c
/libCEED/backends/hip-ref/ceed-hip-qfunctioncontext.c
/libCEED/backends/hip-ref/ceed-hip-restriction.c
/libCEED/backends/hip-ref/ceed-hip-vector.c
/libCEED/backends/hip-ref/ceed-hip.c
/libCEED/backends/hip-ref/ceed-hip.h
/libCEED/backends/hip-ref/kernels/hip-vector.hip.cpp
/libCEED/backends/hip-shared/ceed-hip-shared-basis.c
/libCEED/backends/hip-shared/ceed-hip-shared.c
/libCEED/backends/hip-shared/ceed-hip-shared.h
/libCEED/backends/hip/ceed-hip-common.c
/libCEED/backends/hip/ceed-hip-common.h
/libCEED/backends/hip/ceed-hip-compile.cpp
6d69246a21-Dec-2021 Jeremy L Thompson <jeremy@jeremylt.org>

cuda - separate compile functionality into new header

9c774edd17-Dec-2021 Jeremy L Thompson <jeremy@jeremylt.org>

vec/qf - initial valid/borrowed/owned split for data (#853)

* vec/qf - initial valid/borrowed/owned split for data

* vec/qf - tidy logic for checking active/stale data

* minor - add missing NU

vec/qf - initial valid/borrowed/owned split for data (#853)

* vec/qf - initial valid/borrowed/owned split for data

* vec/qf - tidy logic for checking active/stale data

* minor - add missing NULL

* doc - explain VectorTakeArray update

* minor - update error messages

* test - update error message in junit/tap

* gpu - fix stray CeedScalar vs void for QFunctionContext

* vec/qf - clarify/simplify access logic

* vec - calloc host arrays when no value set to make empty

* style - minor

* style - minor

* minor - fix error messages

* vec/qf - move data validity checking to backend interface

* gpu - add missing sync error checking for qfcontext

* gpu - homogonize use of impl for backend data to reduce confusion

* vec - clarify access conditions

* python - update test for stricter vector access

* vec - minor fixes

* minor - fix ipython change

* vec - add missing declarations in ceed/backend.h

* ctx - mirror vector borrowed data check in ctx interface

* vec - add CeedVectorGetArrayWrite

* vec - consistent use of CeedVectorGetArray vs CeedVectorGetArrayWrite

* python - small vec fixes

* doc - describe vector data semantics

* magma - update restriction

* gpu - fix restr bug I added, need to sum into target

* magma - fix restriction bug

* cpu - fix restriction bug here too

* op - fix evec allocations

* julia - fix ElemRestriction for new vector access rules

* op - double check GetArray vs Read vs Write usage

* doc - small fix

* restr - clean up read/write logic for restr

* python - add vec.array_write

* magma - typo fix

show more ...


/libCEED/.github/workflows/rust-test-with-style.yml
/libCEED/.gitlab-ci.yml
/libCEED/Cargo.toml
/libCEED/backends/blocked/ceed-blocked-operator.c
/libCEED/backends/cuda-shared/ceed-cuda-shared-basis.c
/libCEED/backends/cuda/ceed-cuda-basis.c
/libCEED/backends/cuda/ceed-cuda-operator.c
/libCEED/backends/cuda/ceed-cuda-qfunction.c
/libCEED/backends/cuda/ceed-cuda-qfunctioncontext.c
/libCEED/backends/cuda/ceed-cuda-restriction.c
/libCEED/backends/cuda/ceed-cuda-vector.c
/libCEED/backends/cuda/ceed-cuda.h
/libCEED/backends/hip-shared/ceed-hip-shared-basis.c
/libCEED/backends/hip/ceed-hip-basis.c
/libCEED/backends/hip/ceed-hip-operator.c
/libCEED/backends/hip/ceed-hip-qfunction.c
/libCEED/backends/hip/ceed-hip-qfunctioncontext.c
/libCEED/backends/hip/ceed-hip-restriction.c
/libCEED/backends/hip/ceed-hip-vector.c
/libCEED/backends/hip/ceed-hip.h
/libCEED/backends/magma/ceed-magma-basis.c
/libCEED/backends/magma/ceed-magma-restriction.c
/libCEED/backends/memcheck/ceed-memcheck-qfunction.c
/libCEED/backends/opt/ceed-opt-operator.c
/libCEED/backends/ref/ceed-ref-basis.c
/libCEED/backends/ref/ceed-ref-operator.c
/libCEED/backends/ref/ceed-ref-qfunction.c
/libCEED/backends/ref/ceed-ref-qfunctioncontext.c
/libCEED/backends/ref/ceed-ref-restriction.c
/libCEED/backends/ref/ceed-ref-vector.c
/libCEED/backends/ref/ceed-ref.h
/libCEED/doc/sphinx/source/libCEEDdev.md
/libCEED/doc/sphinx/source/releasenotes.md
/libCEED/examples/ceed/ex1-volume.c
/libCEED/examples/ceed/ex2-surface.c
/libCEED/examples/petsc/area.c
/libCEED/examples/rust/ex1-volume/src/opt.rs
/libCEED/examples/rust/ex2-surface/src/main.rs
/libCEED/examples/rust/ex2-surface/src/opt.rs
/libCEED/examples/rust/ex3-vector-volume/.gitignore
/libCEED/examples/rust/ex3-vector-volume/Cargo.toml
/libCEED/examples/rust/ex3-vector-volume/src/main.rs
/libCEED/examples/rust/ex3-vector-volume/src/opt.rs
/libCEED/examples/rust/ex3-vector-volume/src/transform.rs
/libCEED/examples/rust/ex4-vector-surface/.gitignore
/libCEED/examples/rust/ex4-vector-surface/Cargo.toml
/libCEED/examples/rust/ex4-vector-surface/src/main.rs
/libCEED/examples/rust/ex4-vector-surface/src/opt.rs
/libCEED/examples/rust/ex4-vector-surface/src/transform.rs
/libCEED/examples/rust/mesh/src/lib.rs
/libCEED/gallery/ceed-gallery-list.h
/libCEED/gallery/mass-vector/ceed-vectormassapply.c
/libCEED/gallery/mass-vector/ceed-vectormassapply.h
/libCEED/gallery/mass/ceed-mass1dbuild.c
/libCEED/gallery/mass/ceed-mass1dbuild.h
/libCEED/gallery/mass/ceed-mass2dbuild.c
/libCEED/gallery/mass/ceed-mass2dbuild.h
/libCEED/gallery/mass/ceed-mass3dbuild.c
/libCEED/gallery/mass/ceed-mass3dbuild.h
/libCEED/gallery/mass/ceed-massapply.c
/libCEED/gallery/mass/ceed-massapply.h
/libCEED/gallery/poisson-vector/ceed-vectorpoisson1dapply.c
/libCEED/gallery/poisson-vector/ceed-vectorpoisson1dapply.h
/libCEED/gallery/poisson-vector/ceed-vectorpoisson2dapply.c
/libCEED/gallery/poisson-vector/ceed-vectorpoisson2dapply.h
/libCEED/gallery/poisson-vector/ceed-vectorpoisson3dapply.c
/libCEED/gallery/poisson-vector/ceed-vectorpoisson3dapply.h
/libCEED/gallery/poisson/ceed-poisson1dapply.c
/libCEED/gallery/poisson/ceed-poisson1dapply.h
/libCEED/gallery/poisson/ceed-poisson1dbuild.c
/libCEED/gallery/poisson/ceed-poisson1dbuild.h
/libCEED/gallery/poisson/ceed-poisson2dapply.c
/libCEED/gallery/poisson/ceed-poisson2dapply.h
/libCEED/gallery/poisson/ceed-poisson2dbuild.c
/libCEED/gallery/poisson/ceed-poisson2dbuild.h
/libCEED/gallery/poisson/ceed-poisson3dapply.c
/libCEED/gallery/poisson/ceed-poisson3dapply.h
/libCEED/gallery/poisson/ceed-poisson3dbuild.c
/libCEED/gallery/poisson/ceed-poisson3dbuild.h
/libCEED/include/ceed-impl.h
/libCEED/include/ceed/backend.h
/libCEED/include/ceed/ceed.h
/libCEED/interface/ceed-fortran.c
/libCEED/interface/ceed-preconditioning.c
/libCEED/interface/ceed-qfunctioncontext.c
/libCEED/interface/ceed-vector.c
/libCEED/interface/ceed.c
/libCEED/julia/LibCEED.jl/examples/ex2-surface.jl
/libCEED/julia/LibCEED.jl/src/ElemRestriction.jl
/libCEED/python/ceed_vector.py
/libCEED/python/tests/test-0-ceed.py
/libCEED/python/tests/test-1-vector.py
/libCEED/python/tests/test-5-operator.py
/libCEED/rust/libceed/src/operator.rs
/libCEED/tests/junit.py
/libCEED/tests/t102-vector-f.f90
/libCEED/tests/t102-vector.c
/libCEED/tests/t109-vector-f.f90
/libCEED/tests/t109-vector.c
/libCEED/tests/t110-vector.c
/libCEED/tests/t111-vector.c
/libCEED/tests/t112-vector.c
/libCEED/tests/t113-vector.c
/libCEED/tests/t115-vector.c
/libCEED/tests/t116-vector.c
/libCEED/tests/t117-vector.c
/libCEED/tests/t118-vector.c
/libCEED/tests/t122-vector.c
/libCEED/tests/t124-vector-f.f90
/libCEED/tests/t124-vector.c
/libCEED/tests/t325-basis.c
/libCEED/tests/t410-qfunction.c
/libCEED/tests/t414-qfunction.c
/libCEED/tests/t415-qfunction.c
/libCEED/tests/t502-operator-f.f90
/libCEED/tests/t502-operator.c
/libCEED/tests/t506-operator-f.f90
/libCEED/tests/t506-operator.c
/libCEED/tests/t507-operator.c
/libCEED/tests/tap.sh
965b642809-Dec-2021 Jeremy L Thompson <jeremy@jeremylt.org>

gpu - remove edata from backend operator structs

bf4cb66408-Dec-2021 Jeremy L Thompson <jeremy@jeremylt.org>

op - turn magic number 16 into constant CEED_FIELD_MAX

3f21f6b110-Nov-2021 Jeremy L Thompson <jeremy@jeremylt.org>

debug - create CeedDebugEnv macro, refactor CeedDebug macro

56a9a76710-Nov-2021 Jeremy L Thompson <jeremy@jeremylt.org>

tidy - suppress spurious warning


/libCEED/backends/cuda/ceed-cuda.c
/libCEED/doc/sphinx/source/releasenotes.md
/libCEED/examples/fluids/qfunctions/advection.h
/libCEED/examples/fluids/qfunctions/advection2d.h
/libCEED/examples/fluids/qfunctions/densitycurrent.h
/libCEED/examples/fluids/qfunctions/eulervortex.h
/libCEED/examples/fluids/qfunctions/mass.h
/libCEED/examples/fluids/qfunctions/setupgeo.h
/libCEED/examples/fluids/qfunctions/setupgeo2d.h
/libCEED/examples/nek/bps/bps.h
/libCEED/examples/petsc/qfunctions/area/areacube.h
/libCEED/examples/petsc/qfunctions/area/areasphere.h
/libCEED/examples/petsc/qfunctions/bps/bp1.h
/libCEED/examples/petsc/qfunctions/bps/bp1sphere.h
/libCEED/examples/petsc/qfunctions/bps/bp2.h
/libCEED/examples/petsc/qfunctions/bps/bp2sphere.h
/libCEED/examples/petsc/qfunctions/bps/bp3.h
/libCEED/examples/petsc/qfunctions/bps/bp3sphere.h
/libCEED/examples/petsc/qfunctions/bps/bp4.h
/libCEED/examples/petsc/qfunctions/bps/bp4sphere.h
/libCEED/examples/solids/qfunctions/constant-force.h
/libCEED/examples/solids/qfunctions/finite-strain-mooney-rivlin-initial-1.h
/libCEED/examples/solids/qfunctions/finite-strain-neo-hookean-current-1.h
/libCEED/examples/solids/qfunctions/finite-strain-neo-hookean-current-2.h
/libCEED/examples/solids/qfunctions/finite-strain-neo-hookean-initial-1.h
/libCEED/examples/solids/qfunctions/finite-strain-neo-hookean-initial-2.h
/libCEED/examples/solids/qfunctions/linear.h
/libCEED/examples/solids/qfunctions/manufactured-force.h
/libCEED/examples/solids/qfunctions/manufactured-true.h
/libCEED/examples/solids/qfunctions/small-strain-neo-hookean.h
/libCEED/tests/t406-qfunction-helper.h
/libCEED/tests/t406-qfunction.c
/libCEED/tests/t406-qfunction.h
3d3250a010-Nov-2021 Jeremy L Thompson <jeremy@jeremylt.org>

gpu - refactor common jit code into common functions

43e1b16f10-Nov-2021 Jeremy L Thompson <jeremy@jeremylt.org>

qf - add function to retreive kernel name, stored path now excludes kernel name


/libCEED/.github/workflows/rust-test-with-style.yml
/libCEED/.gitlab-ci.yml
/libCEED/CITATION.cff
/libCEED/Makefile
/libCEED/azure-pipelines.yml
/libCEED/backends/blocked/ceed-blocked-operator.c
/libCEED/backends/blocked/ceed-blocked.h
/libCEED/backends/cuda-gen/ceed-cuda-gen-qfunction.c
/libCEED/backends/cuda/ceed-cuda-qfunction.c
/libCEED/backends/hip-gen/ceed-hip-gen-qfunction.c
/libCEED/backends/hip/ceed-hip-qfunction.c
/libCEED/backends/occa/ceed-occa.cpp
/libCEED/backends/opt/ceed-opt-operator.c
/libCEED/backends/opt/ceed-opt.h
/libCEED/backends/ref/ceed-ref-operator.c
/libCEED/backends/ref/ceed-ref.h
/libCEED/doc/sphinx/source/libCEEDdev.md
/libCEED/doc/sphinx/source/releasenotes.md
/libCEED/examples/fluids/README.md
/libCEED/examples/fluids/conv_test.sh
/libCEED/examples/fluids/index.md
/libCEED/examples/fluids/navierstokes.c
/libCEED/examples/fluids/navierstokes.h
/libCEED/examples/fluids/problems/eulervortex.c
/libCEED/examples/fluids/src/setupdm.c
/libCEED/examples/fluids/tests-output/fluids-navierstokes-conv-euler.csv
/libCEED/examples/fluids/tests-output/fluids-navierstokes-euler-explicit.bin
/libCEED/examples/fluids/tests-output/fluids-navierstokes-euler-implicit.bin
/libCEED/examples/index.md
/libCEED/examples/python/tutorial-5-operator.ipynb
/libCEED/examples/rust/ex1-volume/src/main.rs
/libCEED/examples/rust/ex2-surface/src/main.rs
/libCEED/examples/rust/mesh/src/lib.rs
/libCEED/examples/solids/README.md
/libCEED/examples/solids/qfunctions/finite-strain-mooney-rivlin-initial-1.h
/libCEED/examples/solids/qfunctions/finite-strain-neo-hookean-current-1.h
/libCEED/examples/solids/qfunctions/finite-strain-neo-hookean-current-2.h
/libCEED/examples/solids/qfunctions/finite-strain-neo-hookean-initial-1.h
/libCEED/examples/solids/qfunctions/finite-strain-neo-hookean-initial-2.h
/libCEED/examples/solids/src/setup-dm.c
/libCEED/include/ceed-impl.h
/libCEED/include/ceed/backend.h
/libCEED/include/ceed/ceed.h
/libCEED/interface/ceed-operator.c
/libCEED/interface/ceed-qfunction.c
/libCEED/interface/ceed.c
/libCEED/python/ceed_operator.py
/libCEED/python/tests/output/test_402.out
/libCEED/python/tests/test-5-operator.py
/libCEED/rust/libceed/src/lib.rs
/libCEED/rust/libceed/src/operator.rs
/libCEED/tests/output/t402-qfunction-f.out
/libCEED/tests/output/t402-qfunction.out
32507f7727-Sep-2021 Jeremy L Thompson <jeremy@jeremylt.org>

gpu - cache two more vectors used in operator diagonal assembly

70a7ffb314-Sep-2021 Jeremy L Thompson <jeremy@jeremylt.org>

op - add CeedOperatorLinearAssembleQFunctionBuildOrUpdate to reduce kernel calls in diagonal/full/fdm assembly

8605dc9114-Sep-2021 Jeremy L Thompson <jeremy@jeremylt.org>

cuda - drop unused function declarations

7e7773b509-Sep-2021 Jeremy L Thompson <jeremy@jeremylt.org>

interface - refactor *GetFields to include number of fields

44abf3e807-Sep-2021 Jed Brown <jed@jedbrown.org>

backends/cuda: record cudaDeviceProp struct instead of just max block size

4853cbf005-Sep-2021 Jed Brown <jed@jedbrown.org>

backends/cuda: choose block size based on number of registers used by kernel

Complicate QFunctions, such as those in solid mechanics, use too many
registers to launch blocks of 1024 threads (hardwar

backends/cuda: choose block size based on number of registers used by kernel

Complicate QFunctions, such as those in solid mechanics, use too many
registers to launch blocks of 1024 threads (hardware max on
Volta/Ampere). We ask the kernel how large a block it can use and select
that block size. As a refinement, we could consider making the block
sizes smaller if there are fewer blocks than SMs (strong scaling limit).

show more ...

80a9ef0502-Sep-2021 Natalie Beams <246972+nbeams@users.noreply.github.com>

Allow CeedScalar to be single precision (#788)

One can modify `ceed.h` to include `ceed-f32.h` and then use single precision. This is tested for C in CI and has been tested by developers with Rust,

Allow CeedScalar to be single precision (#788)

One can modify `ceed.h` to include `ceed-f32.h` and then use single precision. This is tested for C in CI and has been tested by developers with Rust, Julia, and Python. This interface is evolving and should be considered experimental at this time (thus lack of automated build support).

* Introduce CeedScalarType enum

* WIP changes to allow different definitions of CeedScalar

* Introduce new header files for float and double

* Only use avx tensor contract and MAGMA non-tensor basis if CeedScalar is double

* WIP changes to allow CeedScalar to be float

* WIP start trying to adjust test tolerances for float or double

* fix typos in comments

* install ceed-f32/64 headers

* Fix missing casts for hipMAGMA element restrictions

* make CeedQFunctionContextGetContextSize available for Python bindings

* Changes to Python bindings to allow CeedScalar to be float

* WIP adjust Python tests for float or double

* make style

* remove QFunctionContextGetContextSize from backend header

* Use quotes instead of <> in include statement

* Remove unncessary includes

* Update tolerances for tests

* [Julia] allow CeedScalar to be Float32

* [Julia] Use Preferences instead of custom build configuration

# Conflicts:
# julia/LibCEED.jl/src/C.jl

* [Makefile] Change definition of CC_VENDOR so it works with cross-compilation

* [Julia] Use Preferences in CI

# Conflicts:
# .github/workflows/julia-test-with-style.yml

* [Julia] Update docs about preferences

* [Julia] Add test/Project.toml workaround for Preferences

* Add CeedGetScalarType to get the type of CeedScalar at runtime

* [Julia] Move functions from Ceed.jl to LibCEED.jl

* [Julia] Add support for getting library path and scalar type at runtime

* [Julia] Minor change to checking if CUDA is loaded

* [Julia] Check correct CeedScalar types in basis functions

* [Julia] Fix tests comparing with output file

* [Julia] Change devtests to use CeedScalar instead of Float64

* Update test 402 so context will be same size in double or float

* Update tolerances for ceed examples

* [Julia] CUDA fixes

* remove unused variable in t208

* SchurDecomposition: do not compute tau on final iteration

* Update tolerances for some basis tests (for single precision)

* Make style

* Python style fixes for basis test

* Add single precision output for t300 and t320 and adjust checks; skip t541 in single

* Add LCOV exclusions after moving to new line

* fix spacing

* Python: make CEED_EPSILON available as libceed.EPSILON

* Python: optional parameter to specify different output file for test comparison

* Python: update tests' use of EPSILON and change test_300 output file for single precision

* Python: add convenience function for getting dtype corresponding to CeedScalar

* rust - add single precision support

* [Julia] Fall back on Float64 if CeedGetScalarType is not available

* [Julia] style

* Adjust tolerance for t301

* xsmm - add single precision support

* avx - add single precision support

* Add initial single precision support for MAGMA non-tensor basis

* Skip t300 and t320 in single precision; revert Python t300 changes

* Revert output changes for t300 and t320 in junit

* [Julia] Changes to autogenerated bindings for mixed precision

* [Julia] style

* [Julia] Check scalar type when changing libceed library path

The check is also performed when the package is loaded. This prevents having to
restart the Julia session twice

* [Julia] Require JLLWrappers version 1.3

This is needed to use Preferences to change the library path

* Add documentation page for precision development

Co-authored-by: Will Pazner <will.e.p@gmail.com>

* Cleanup from merge: remove old README

* Return CEED_ALIGN to backend.h

* Make Fortran compiler (FC) optional; empty skips Fortran tests

Use in Python and Rust builds, which may not have a Fortran compiler
installed and thus would produce confusing output.

* Add single precision CI test for Noether

Co-authored-by: Jeremy L Thompson <jeremy@jeremylt.org>

Co-authored-by: Will Pazner <will.e.p@gmail.com>
Co-authored-by: Jeremy L Thompson <jeremy@jeremylt.org>
Co-authored-by: Jed Brown <jed@jedbrown.org>

show more ...


/libCEED/.gitlab-ci.yml
/libCEED/Makefile
/libCEED/backends/avx/ceed-avx-blocked.c
/libCEED/backends/avx/ceed-avx-serial.c
/libCEED/backends/avx/ceed-avx-tensor-f32.c
/libCEED/backends/avx/ceed-avx-tensor-f64.c
/libCEED/backends/avx/ceed-avx.h
/libCEED/backends/cuda-gen/ceed-cuda-gen-operator-build.cpp
/libCEED/backends/cuda-shared/ceed-cuda-shared-basis.c
/libCEED/backends/cuda-shared/kernels/cuda-shared-basis.cu
/libCEED/backends/cuda/ceed-cuda-basis.c
/libCEED/backends/cuda/ceed-cuda-vector.c
/libCEED/backends/cuda/ceed-cuda.c
/libCEED/backends/hip-gen/ceed-hip-gen-operator-build.cpp
/libCEED/backends/hip-shared/ceed-hip-shared-basis.c
/libCEED/backends/hip/ceed-hip-basis.c
/libCEED/backends/hip/ceed-hip-compile.cpp
/libCEED/backends/hip/ceed-hip-vector.c
/libCEED/backends/magma/ceed-magma-basis.c
/libCEED/backends/magma/ceed-magma.h
/libCEED/backends/magma/kernels/common/elem_restriction.h
/libCEED/backends/magma/kernels/common/interp_device.h
/libCEED/backends/magma/kernels/common/magma_common_device.h
/libCEED/backends/magma/kernels/cuda/magma_drestrictApply.cu
/libCEED/backends/magma/kernels/hip/magma_drestrictApply.hip.cpp
/libCEED/backends/magma/magma_sgemm_nontensor.c
/libCEED/backends/xsmm/ceed-xsmm-blocked.c
/libCEED/backends/xsmm/ceed-xsmm-serial.c
/libCEED/backends/xsmm/ceed-xsmm-tensor_f32.c
/libCEED/backends/xsmm/ceed-xsmm-tensor_f64.c
/libCEED/backends/xsmm/ceed-xsmm.h
/libCEED/doc/sphinx/source/index.md
/libCEED/doc/sphinx/source/libCEEDdev.md
/libCEED/doc/sphinx/source/precision.md
/libCEED/examples/ceed/ex1-volume.c
/libCEED/examples/ceed/ex2-surface.c
/libCEED/examples/rust/ex1-volume/src/main.rs
/libCEED/examples/rust/ex1-volume/src/transform.rs
/libCEED/examples/rust/ex2-surface/src/main.rs
/libCEED/examples/rust/ex2-surface/src/transform.rs
/libCEED/examples/rust/mesh/src/lib.rs
/libCEED/include/ceed/backend.h
/libCEED/include/ceed/ceed-f32.h
/libCEED/include/ceed/ceed-f64.h
/libCEED/include/ceed/ceed.h
/libCEED/include/ceed/fortran.h
/libCEED/interface/ceed-basis.c
/libCEED/interface/ceed-qfunctioncontext.c
/libCEED/interface/ceed.c
/libCEED/julia/LibCEED.jl/Project.toml
/libCEED/julia/LibCEED.jl/gen/generator.toml
/libCEED/julia/LibCEED.jl/src/Basis.jl
/libCEED/julia/LibCEED.jl/src/C.jl
/libCEED/julia/LibCEED.jl/src/Cuda.jl
/libCEED/julia/LibCEED.jl/src/Globals.jl
/libCEED/julia/LibCEED.jl/src/LibCEED.jl
/libCEED/julia/LibCEED.jl/src/generated/libceed_bindings.jl
/libCEED/julia/LibCEED.jl/test/output/Float32/b1.out
/libCEED/julia/LibCEED.jl/test/output/Float32/b2.out
/libCEED/julia/LibCEED.jl/test/output/Float32/b3.out
/libCEED/julia/LibCEED.jl/test/output/Float64/b1.out
/libCEED/julia/LibCEED.jl/test/output/Float64/b2.out
/libCEED/julia/LibCEED.jl/test/output/Float64/b3.out
/libCEED/julia/LibCEED.jl/test/runtests.jl
/libCEED/python/__init__.py
/libCEED/python/build_ceed_cffi.py
/libCEED/python/ceed.py
/libCEED/python/ceed_basis.py
/libCEED/python/ceed_constants.py
/libCEED/python/ceed_qfunctioncontext.py
/libCEED/python/ceed_vector.py
/libCEED/python/tests/buildmats.py
/libCEED/python/tests/libceed-qfunctions.c
/libCEED/python/tests/test-1-vector.py
/libCEED/python/tests/test-2-elemrestriction.py
/libCEED/python/tests/test-3-basis.py
/libCEED/python/tests/test-4-qfunction.py
/libCEED/python/tests/test-5-operator.py
/libCEED/rust/libceed-sys/build.rs
/libCEED/rust/libceed/src/basis.rs
/libCEED/rust/libceed/src/elem_restriction.rs
/libCEED/rust/libceed/src/lib.rs
/libCEED/rust/libceed/src/operator.rs
/libCEED/rust/libceed/src/qfunction.rs
/libCEED/rust/libceed/src/vector.rs
/libCEED/setup.py
/libCEED/tests/junit.py
/libCEED/tests/t100-vector.c
/libCEED/tests/t101-vector.c
/libCEED/tests/t103-vector.c
/libCEED/tests/t104-vector.c
/libCEED/tests/t105-vector.c
/libCEED/tests/t106-vector.c
/libCEED/tests/t108-vector.c
/libCEED/tests/t109-vector.c
/libCEED/tests/t114-vector.c
/libCEED/tests/t119-vector.c
/libCEED/tests/t200-elemrestriction.c
/libCEED/tests/t201-elemrestriction.c
/libCEED/tests/t204-elemrestriction.c
/libCEED/tests/t205-elemrestriction.c
/libCEED/tests/t206-elemrestriction.c
/libCEED/tests/t207-elemrestriction.c
/libCEED/tests/t209-elemrestriction.c
/libCEED/tests/t300-basis.c
/libCEED/tests/t301-basis.c
/libCEED/tests/t303-basis.c
/libCEED/tests/t304-basis.c
/libCEED/tests/t305-basis.c
/libCEED/tests/t310-basis.c
/libCEED/tests/t311-basis.c
/libCEED/tests/t312-basis.c
/libCEED/tests/t314-basis.c
/libCEED/tests/t315-basis.c
/libCEED/tests/t316-basis.c
/libCEED/tests/t317-basis.c
/libCEED/tests/t320-basis.c
/libCEED/tests/t321-basis.c
/libCEED/tests/t322-basis.c
/libCEED/tests/t323-basis.c
/libCEED/tests/t324-basis.c
/libCEED/tests/t325-basis.c
/libCEED/tests/t401-qfunction.c
/libCEED/tests/t402-qfunction.c
/libCEED/tests/t501-operator.c
/libCEED/tests/t502-operator.c
/libCEED/tests/t503-operator.c
/libCEED/tests/t505-operator.c
/libCEED/tests/t506-operator.c
/libCEED/tests/t507-operator.c
/libCEED/tests/t511-operator.c
/libCEED/tests/t521-operator.c
/libCEED/tests/t522-operator.c
/libCEED/tests/t524-operator.c
/libCEED/tests/t530-operator.c
/libCEED/tests/t531-operator.c
/libCEED/tests/t532-operator.c
/libCEED/tests/t533-operator.c
/libCEED/tests/t534-operator.c
/libCEED/tests/t535-operator.c
/libCEED/tests/t536-operator.c
/libCEED/tests/t537-operator.c
/libCEED/tests/t538-operator.c
/libCEED/tests/t540-operator.c
/libCEED/tests/t541-operator.c
/libCEED/tests/t550-operator.c
/libCEED/tests/t551-operator.c
/libCEED/tests/t552-operator.c
/libCEED/tests/t553-operator.c
/libCEED/tests/t560-operator.c
/libCEED/tests/t561-operator.c
/libCEED/tests/t562-operator.c
/libCEED/tests/t563-operator.c
/libCEED/tests/t564-operator.c
/libCEED/tests/t565-operator.c
/libCEED/tests/tap.sh
bc251d8428-Aug-2021 Jed Brown <jed@jedbrown.org>

cuda/ref: modify weight kernels to avoid CUDA-11.2+ bug on RTX 2080 (issue #802)


/libCEED/.github/workflows/julia-test-with-style.yml
/libCEED/.gitlab-ci.yml
/libCEED/Doxyfile
/libCEED/Makefile
/libCEED/README.md
/libCEED/backends/cuda/ceed-cuda-basis.c
/libCEED/doc/sphinx/requirements.txt
/libCEED/doc/sphinx/source/api/Ceed.rst
/libCEED/doc/sphinx/source/conf.py
/libCEED/doc/sphinx/source/css/altair-plot.css
/libCEED/doc/sphinx/source/ffi.md
/libCEED/doc/sphinx/source/gettingstarted.md
/libCEED/doc/sphinx/source/index.md
/libCEED/doc/sphinx/source/intro.md
/libCEED/doc/sphinx/source/libCEEDapi.md
/libCEED/doc/sphinx/source/libCEEDdev.md
/libCEED/doc/sphinx/source/references.bib
/libCEED/doc/sphinx/source/releasenotes.md
/libCEED/examples/README.md
/libCEED/examples/bps.md
/libCEED/examples/ceed/index.md
/libCEED/examples/fluids/index.md
/libCEED/examples/fluids/navierstokes.c
/libCEED/examples/fluids/navierstokes.h
/libCEED/examples/fluids/problems/advection.c
/libCEED/examples/fluids/problems/advection2d.c
/libCEED/examples/fluids/problems/densitycurrent.c
/libCEED/examples/fluids/problems/eulervortex.c
/libCEED/examples/fluids/src/setupdm.c
/libCEED/examples/fluids/src/setuplibceed.c
/libCEED/examples/index.md
/libCEED/examples/notation.md
/libCEED/examples/petsc/bpsraw.c
/libCEED/examples/petsc/index.md
/libCEED/examples/solids/Makefile
/libCEED/examples/solids/README.md
/libCEED/examples/solids/elasticity.c
/libCEED/examples/solids/elasticity.h
/libCEED/examples/solids/include/boundary.h
/libCEED/examples/solids/include/cl-options.h
/libCEED/examples/solids/include/matops.h
/libCEED/examples/solids/include/misc.h
/libCEED/examples/solids/include/petsc-macros.h
/libCEED/examples/solids/include/setup-dm.h
/libCEED/examples/solids/include/setup-libceed.h
/libCEED/examples/solids/include/structs.h
/libCEED/examples/solids/include/utils.h
/libCEED/examples/solids/index.md
/libCEED/examples/solids/problems/cl-problems.h
/libCEED/examples/solids/problems/finite-strain-mooney-rivlin-initial-1.c
/libCEED/examples/solids/problems/finite-strain-neo-hookean-current-1.c
/libCEED/examples/solids/problems/finite-strain-neo-hookean-current-2.c
/libCEED/examples/solids/problems/finite-strain-neo-hookean-initial-1.c
/libCEED/examples/solids/problems/finite-strain-neo-hookean-initial-2.c
/libCEED/examples/solids/problems/linear.c
/libCEED/examples/solids/problems/mooney-rivlin.c
/libCEED/examples/solids/problems/mooney-rivlin.h
/libCEED/examples/solids/problems/neo-hookean.c
/libCEED/examples/solids/problems/neo-hookean.h
/libCEED/examples/solids/problems/problems.c
/libCEED/examples/solids/problems/problems.h
/libCEED/examples/solids/problems/small-strain-neo-hookean.c
/libCEED/examples/solids/qfunctions/common.h
/libCEED/examples/solids/qfunctions/constant-force.h
/libCEED/examples/solids/qfunctions/finite-strain-mooney-rivlin-initial-1.h
/libCEED/examples/solids/qfunctions/finite-strain-neo-hookean-current-1.h
/libCEED/examples/solids/qfunctions/finite-strain-neo-hookean-current-2.h
/libCEED/examples/solids/qfunctions/finite-strain-neo-hookean-initial-1.h
/libCEED/examples/solids/qfunctions/finite-strain-neo-hookean-initial-2.h
/libCEED/examples/solids/qfunctions/linear.h
/libCEED/examples/solids/qfunctions/manufactured-force.h
/libCEED/examples/solids/qfunctions/manufactured-true.h
/libCEED/examples/solids/qfunctions/small-strain-neo-hookean.h
/libCEED/examples/solids/qfunctions/traction-boundary.h
/libCEED/examples/solids/src/boundary.c
/libCEED/examples/solids/src/cl-options.c
/libCEED/examples/solids/src/matops.c
/libCEED/examples/solids/src/misc.c
/libCEED/examples/solids/src/setup-dm.c
/libCEED/examples/solids/src/setup-libceed.c
/libCEED/examples/solids/tests-output/MR-strain.csv
/libCEED/examples/solids/tests-output/MR-strain1.csv
/libCEED/examples/solids/tests-output/NH-strain.csv
/libCEED/include/ceed/backend.h
/libCEED/interface/ceed-basis.c
/libCEED/interface/ceed-fortran.c
/libCEED/interface/ceed-vector.c
/libCEED/julia/LibCEED.jl/.gitignore
/libCEED/julia/LibCEED.jl/.style/ceed_style.jl
/libCEED/julia/LibCEED.jl/Project.toml
/libCEED/julia/LibCEED.jl/README.md
/libCEED/julia/LibCEED.jl/docs/make.jl
/libCEED/julia/LibCEED.jl/docs/src/Ceed.md
/libCEED/julia/LibCEED.jl/docs/src/LibCEED.md
/libCEED/julia/LibCEED.jl/docs/src/index.md
/libCEED/julia/LibCEED.jl/gen/Project.toml
/libCEED/julia/LibCEED.jl/gen/generator.jl
/libCEED/julia/LibCEED.jl/gen/generator.toml
/libCEED/julia/LibCEED.jl/gen/prologue.jl
/libCEED/julia/LibCEED.jl/src/C.jl
/libCEED/julia/LibCEED.jl/src/Ceed.jl
/libCEED/julia/LibCEED.jl/src/Cuda.jl
/libCEED/julia/LibCEED.jl/src/LibCEED.jl
/libCEED/julia/LibCEED.jl/src/QFunction.jl
/libCEED/julia/LibCEED.jl/src/UserQFunction.jl
/libCEED/julia/LibCEED.jl/src/generated/libceed_bindings.jl
/libCEED/julia/LibCEED.jl/test/Project.toml
/libCEED/julia/LibCEED.jl/test/rundevtests.jl
/libCEED/julia/LibCEED.jl/test/runtests.jl
/libCEED/python/build_ceed_cffi.py
/libCEED/python/ceed_elemrestriction.py
/libCEED/python/tests/test-2-elemrestriction.py
/libCEED/python/tests/test-3-basis.py
/libCEED/rust/libceed/tests/version-numbers.rs
/libCEED/tests/junit.py
/libCEED/tests/t201-elemrestriction-f.f90
/libCEED/tests/t201-elemrestriction.c
/libCEED/tests/t202-elemrestriction-f.f90
/libCEED/tests/t202-elemrestriction.c
/libCEED/tests/t203-elemrestriction.c
/libCEED/tests/t208-elemrestriction-f.f90
/libCEED/tests/t208-elemrestriction.c
/libCEED/tests/t213-elemrestriction.c
/libCEED/tests/t301-basis-f.f90
/libCEED/tests/t301-basis.c
/libCEED/tests/t302-basis-f.f90
/libCEED/tests/t302-basis.c
/libCEED/tests/t304-basis-f.f90
/libCEED/tests/t305-basis-f.f90
eaf62fff02-Aug-2021 Jeremy L Thompson <25011573+jeremylt@users.noreply.github.com>

Refactor Preconditioning Ingredients (#795)

* op - split preconditioning into separate file

* pc - move FDM to interface level

* pc - initial move of diagonal assembly to interface

* interf

Refactor Preconditioning Ingredients (#795)

* op - split preconditioning into separate file

* pc - move FDM to interface level

* pc - initial move of diagonal assembly to interface

* interface - only return error code or error

* doc - improve preconditioning helper function documentation

* pc - use qdata layout for interface diagonal assembly

* pc - update for consistency in naming, use of CeedChk, and static

* doc - spelling

* style - minor

* doc - add doc for CeedBuildMassLaplace

* doc - update release notes

Co-authored-by: Jed Brown <jed@jedbrown.org>

Co-authored-by: Jed Brown <jed@jedbrown.org>

show more ...


/libCEED/.github/workflows/julia-test-with-style.yml
/libCEED/.github/workflows/release-notes.yml
/libCEED/.github/workflows/rust-documentation.yml
/libCEED/.mailmap
/libCEED/AUTHORS
/libCEED/CITATION.cff
/libCEED/Cargo.toml
/libCEED/Doxyfile
/libCEED/Makefile
/libCEED/README.rst
/libCEED/RELEASING.md
/libCEED/backends/ceed-backend-weak.c
/libCEED/backends/cuda-gen/ceed-cuda-gen-operator.c
/libCEED/backends/cuda-gen/ceed-cuda-gen-qfunction.c
/libCEED/backends/cuda/ceed-cuda-operator.c
/libCEED/backends/hip-gen/ceed-hip-gen-operator.c
/libCEED/backends/hip-gen/ceed-hip-gen-qfunction.c
/libCEED/backends/hip/ceed-hip-operator.c
/libCEED/backends/magma/ceed-magma-basis.c
/libCEED/backends/ref/ceed-ref-operator.c
/libCEED/backends/ref/ceed-ref.c
/libCEED/backends/ref/ceed-ref.h
/libCEED/ceed.pc.template
/libCEED/doc/bib/references.bib
/libCEED/doc/papers/joss/.gitignore
/libCEED/doc/papers/joss/img/QFunctionSketch.pdf
/libCEED/doc/papers/joss/img/SolidTwistExample.jpeg
/libCEED/doc/papers/joss/img/Vortices.png
/libCEED/doc/papers/joss/img/bp3-2020.pdf
/libCEED/doc/papers/joss/img/libCEED-2-trim.pdf
/libCEED/doc/papers/joss/img/libCEEDBackends.png
/libCEED/doc/papers/joss/paper.bib
/libCEED/doc/papers/joss/paper.md
/libCEED/doc/sphinx/requirements.txt
/libCEED/doc/sphinx/source/api/Ceed.rst
/libCEED/doc/sphinx/source/conf.py
/libCEED/doc/sphinx/source/ffi.rst
/libCEED/doc/sphinx/source/intro.rst
/libCEED/doc/sphinx/source/references.bib
/libCEED/doc/sphinx/source/releasenotes.rst
/libCEED/examples/ceed/ex1-volume.c
/libCEED/examples/fluids/README.md
/libCEED/examples/petsc/.gitignore
/libCEED/examples/python/img/QFunctionSketch.svg
/libCEED/examples/python/tutorial-0-ceed.ipynb
/libCEED/examples/python/tutorial-1-vector.ipynb
/libCEED/examples/python/tutorial-2-elemrestriction.ipynb
/libCEED/examples/python/tutorial-3-basis.ipynb
/libCEED/examples/python/tutorial-4-qfunction.ipynb
/libCEED/examples/python/tutorial-5-operator.ipynb
/libCEED/examples/python/tutorial-6-shell.ipynb
/libCEED/examples/rust/ex1-volume/Cargo.toml
/libCEED/examples/rust/ex2-surface/Cargo.toml
/libCEED/examples/rust/mesh/Cargo.toml
/libCEED/examples/solids/Makefile
/libCEED/examples/solids/elasticity.c
/libCEED/examples/solids/elasticity.h
/libCEED/examples/solids/index.rst
/libCEED/examples/solids/output/MR-strain.csv
/libCEED/examples/solids/output/MR-strain1.csv
/libCEED/examples/solids/output/NH-strain.csv
/libCEED/examples/solids/qfunctions/FSInitial-MR1.h
/libCEED/examples/solids/src/cloptions.c
/libCEED/examples/solids/src/setupdm.c
/libCEED/examples/solids/src/setuplibceed.c
/libCEED/include/ceed/backend.h
/libCEED/include/ceed/ceed.h
/libCEED/interface/ceed-basis.c
/libCEED/interface/ceed-elemrestriction.c
/libCEED/interface/ceed-fortran.c
/libCEED/interface/ceed-operator.c
/libCEED/interface/ceed-preconditioning.c
/libCEED/interface/ceed-vector.c
/libCEED/interface/ceed.c
/libCEED/python/ceed_basis.py
/libCEED/python/tests/test-3-basis.py
/libCEED/python/tests/test-5-operator.py
/libCEED/rust/libceed-sys/.gitignore
/libCEED/rust/libceed-sys/Cargo.toml
/libCEED/rust/libceed-sys/README.md
/libCEED/rust/libceed-sys/build.rs
/libCEED/rust/libceed-sys/c-src/Makefile
/libCEED/rust/libceed-sys/c-src/backends
/libCEED/rust/libceed-sys/c-src/ceed.pc.template
/libCEED/rust/libceed-sys/c-src/common.mk
/libCEED/rust/libceed-sys/c-src/gallery
/libCEED/rust/libceed-sys/c-src/include
/libCEED/rust/libceed-sys/c-src/interface
/libCEED/rust/libceed-sys/src/lib.rs
/libCEED/rust/libceed-sys/tests/register.rs
/libCEED/rust/libceed-sys/tests/version-numbers.rs
/libCEED/rust/libceed/.gitignore
/libCEED/rust/libceed/Cargo.toml
/libCEED/rust/libceed/README.md
/libCEED/rust/libceed/src/basis.rs
/libCEED/rust/libceed/src/elem_restriction.rs
/libCEED/rust/libceed/src/lib.rs
/libCEED/rust/libceed/src/operator.rs
/libCEED/rust/libceed/src/qfunction.rs
/libCEED/rust/libceed/src/vector.rs
/libCEED/rust/libceed/tests/version-numbers.rs
/libCEED/tests/t101-vector.c
/libCEED/tests/t108-vector.c
/libCEED/tests/t119-vector.c
/libCEED/tests/t121-vector.c
/libCEED/tests/t122-vector.c
/libCEED/tests/t123-vector.c
/libCEED/tests/t304-basis-f.f90
/libCEED/tests/t304-basis.c
/libCEED/tests/t305-basis-f.f90
/libCEED/tests/t305-basis.c
/libCEED/tests/t540-operator.c
/libCEED/tests/t541-operator.c
/libCEED/tests/t541-operator.h
/libCEED/tests/tap.sh
7784194727-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 ...


/libCEED/.gitlab-ci.yml
/libCEED/Makefile
/libCEED/README.rst
/libCEED/backends/blocked/ceed-blocked-operator.c
/libCEED/backends/blocked/ceed-blocked.h
/libCEED/backends/cuda-gen/ceed-cuda-gen-operator-build.cpp
/libCEED/backends/cuda-gen/ceed-cuda-gen-operator.c
/libCEED/backends/cuda/ceed-cuda-qfunction-load.cpp
/libCEED/backends/hip-gen/ceed-hip-gen-operator-build.cpp
/libCEED/backends/hip/ceed-hip-compile.cpp
/libCEED/backends/hip/ceed-hip-qfunction-load.cpp
/libCEED/backends/magma/ceed-magma.h
/libCEED/backends/occa/ceed-occa-qfunction.cpp
/libCEED/backends/occa/ceed-occa-qfunctioncontext.cpp
/libCEED/backends/opt/ceed-opt-operator.c
/libCEED/backends/opt/ceed-opt.h
/libCEED/backends/ref/ceed-ref-operator.c
/libCEED/backends/ref/ceed-ref.h
/libCEED/doc/sphinx/source/intro.rst
/libCEED/doc/sphinx/source/releasenotes.rst
/libCEED/examples/fluids/Makefile
/libCEED/examples/fluids/README.md
/libCEED/examples/fluids/conv_plot.py
/libCEED/examples/fluids/conv_test.sh
/libCEED/examples/fluids/index.rst
/libCEED/examples/fluids/navierstokes.c
/libCEED/examples/fluids/navierstokes.h
/libCEED/examples/fluids/problems/advection.c
/libCEED/examples/fluids/problems/advection2d.c
/libCEED/examples/fluids/problems/densitycurrent.c
/libCEED/examples/fluids/problems/eulervortex.c
/libCEED/examples/fluids/qfunctions/advection.h
/libCEED/examples/fluids/qfunctions/advection2d.h
/libCEED/examples/fluids/qfunctions/densitycurrent.h
/libCEED/examples/fluids/qfunctions/eulervortex.h
/libCEED/examples/fluids/qfunctions/mass.h
/libCEED/examples/fluids/qfunctions/setupgeo.h
/libCEED/examples/fluids/qfunctions/setupgeo2d.h
/libCEED/examples/fluids/src/cloptions.c
/libCEED/examples/fluids/src/misc.c
/libCEED/examples/fluids/src/setupdm.c
/libCEED/examples/fluids/src/setuplibceed.c
/libCEED/examples/fluids/src/setupts.c
/libCEED/examples/fluids/stdoutParsing.py
/libCEED/examples/fluids/tests-output/fluids-navierstokes-adv-rotation-explicit-strong.bin
/libCEED/examples/fluids/tests-output/fluids-navierstokes-adv-rotation-implicit-sharp-cylinder.bin
/libCEED/examples/fluids/tests-output/fluids-navierstokes-adv-rotation-implicit-stab-supg.bin
/libCEED/examples/fluids/tests-output/fluids-navierstokes-adv-translation-implicit-stab-su.bin
/libCEED/examples/fluids/tests-output/fluids-navierstokes-adv2d-rotation-explicit-strong.bin
/libCEED/examples/fluids/tests-output/fluids-navierstokes-adv2d-rotation-implicit-stab-supg.bin
/libCEED/examples/fluids/tests-output/fluids-navierstokes-adv2d-translation-implicit-stab-su.bin
/libCEED/examples/fluids/tests-output/fluids-navierstokes-conv-euler.csv
/libCEED/examples/fluids/tests-output/fluids-navierstokes-euler-explicit-test-none.bin
/libCEED/examples/fluids/tests-output/fluids-navierstokes-euler-implicit-test-none.bin
/libCEED/examples/fluids/tests-output/fluids-navierstokes-euler-implicit-test-t1.bin
/libCEED/examples/fluids/tests-output/fluids-navierstokes-euler-implicit-test-t2.bin
/libCEED/examples/fluids/tests-output/fluids-navierstokes-euler-implicit-test-t3.bin
/libCEED/examples/fluids/tests-output/fluids-navierstokes-euler-implicit-test-t4.bin
/libCEED/examples/petsc/Makefile
/libCEED/examples/petsc/area.c
/libCEED/examples/petsc/area.h
/libCEED/examples/petsc/bps.c
/libCEED/examples/petsc/bps.h
/libCEED/examples/petsc/bpssphere.c
/libCEED/examples/petsc/bpssphere.h
/libCEED/examples/petsc/include/bcfunctions.h
/libCEED/examples/petsc/include/petscmacros.h
/libCEED/examples/petsc/multigrid.c
/libCEED/examples/petsc/src/bcfunctions.c
/libCEED/examples/petsc/src/libceedsetup.c
/libCEED/examples/solids/elasticity.c
/libCEED/examples/solids/elasticity.h
/libCEED/examples/solids/index.rst
/libCEED/examples/solids/qfunctions/FSCurrent-NH1.h
/libCEED/examples/solids/qfunctions/FSCurrent-NH2.h
/libCEED/examples/solids/qfunctions/FSInitial-NH1.h
/libCEED/examples/solids/qfunctions/FSInitial-NH2.h
/libCEED/examples/solids/qfunctions/SS-NH.h
/libCEED/examples/solids/src/setuplibceed.c
/libCEED/include/ceed/ceed.h
/libCEED/interface/ceed-basis.c
/libCEED/interface/ceed-elemrestriction.c
/libCEED/interface/ceed-operator.c
/libCEED/interface/ceed-qfunction.c
/libCEED/julia/LibCEED.jl/README.md
/libCEED/julia/LibCEED.jl/deps/build.jl
/libCEED/tests/junit.py
/libCEED/tests/t404-qfunction.c
/libCEED/tests/t405-qfunction.c
/libCEED/tests/t405-qfunction.h
/libCEED/tests/t509-operator.c
/libCEED/tests/tap.sh
891038de28-Apr-2021 jeremylt <thompson.jeremy.luke@gmail.com>

context - add QFunctionContextTakeData to silence docs warning about missing ref

e0dd3b2726-Apr-2021 jeremylt <thompson.jeremy.luke@gmail.com>

vec - add CeedVectorScale

5997249321-Apr-2021 jeremylt <thompson.jeremy.luke@gmail.com>

device - drop forced device->host sync in certain cases, only sync when requested

12345678