| /libCEED/julia/LibCEED.jl/src/ |
| H A D | QFunction.jl | 7 QFunction 11 A `QFunction` can also be created from the "Q-function gallery" using 15 mutable struct QFunction <: AbstractQFunction struct 19 function QFunction(ref, user_qf) argument 28 QFunction(ref::Ref{C.CeedQFunction}) = QFunction(ref, nothing) function 29 destroy(qf::QFunction) = C.CeedQFunctionDestroy(qf.ref) # COV_EXCL_LINE argument 30 Base.getindex(qf::QFunction) = qf.ref[] argument 31 Base.show(io::IO, ::MIME"text/plain", qf::QFunction) = argument 51 QFunction(ref, f) 57 Create a [`QFunction`](@ref) from the Q-function gallery, using the provided name. [all …]
|
| H A D | Context.jl | 22 `USE_POINTER`, then the data will be preserved from the GC when assigned to a `QFunction` 39 # A reference to the context object is stored in the QFunction object, and
|
| H A D | LibCEED.jl | 54 QFunction, 153 include("QFunction.jl")
|
| /libCEED/julia/LibCEED.jl/docs/src/ |
| H A D | QFunction.md | 1 # QFunction chapter 4 QFunction 9 apply!(qf::QFunction, Q, vin, vout)
|
| /libCEED/backends/sycl-ref/ |
| H A D | ceed-sycl-ref-qfunction.sycl.cpp | 36 if (!impl->QFunction) CeedCallBackend(CeedQFunctionBuildKernel_Sycl(qf)); in CeedQFunctionApply_Sycl() 89 cgh.parallel_for(kernel_range, *(impl->QFunction)); in CeedQFunctionApply_Sycl() 119 delete impl->QFunction; in CeedQFunctionDestroy_Sycl()
|
| H A D | ceed-sycl-ref-qfunction-load.sycl.cpp | 40 if (impl->QFunction) return CEED_ERROR_SUCCESS; in CeedQFunctionBuildKernel_Sycl() 172 CeedCallBackend(CeedGetKernel_Sycl(ceed, impl->sycl_module, kernel_name, &impl->QFunction)); in CeedQFunctionBuildKernel_Sycl()
|
| H A D | ceed-sycl-ref.hpp | 73 sycl::kernel *QFunction; member
|
| /libCEED/python/tests/ |
| H A D | README.md | 19 the apropriate QFunction single source file and run 22 loading the user defined QFunctions so the QFunction pointers can be passed to
|
| H A D | test-4-qfunction.py | 46 qf_setup = ceed.QFunction(1, qfs.setup_mass, 52 qf_mass = ceed.QFunction(1, qfs.apply_mass, 103 qf_setup = ceed.QFunction(1, qfs.setup_mass, 109 qf_mass = ceed.QFunction(1, qfs.apply_mass, 165 qf_setup = ceed.QFunction(1, qfs.setup_mass, 171 qf_mass = ceed.QFunction(1, qfs.apply_mass,
|
| H A D | test-5-operator.py | 86 qf_setup = ceed.QFunction(1, qfs.setup_mass, 92 qf_mass = ceed.QFunction(1, qfs.apply_mass, 175 qf_setup = ceed.QFunction(1, qfs.setup_mass, 181 qf_mass = ceed.QFunction(1, qfs.apply_mass, 265 qf_setup = ceed.QFunction(1, qfs.setup_mass, 271 qf_mass = ceed.QFunction(1, qfs.apply_mass_two, 362 qf_setup = ceed.QFunction(1, qfs.setup_mass, 368 qf_mass = ceed.QFunction(1, qfs.apply_mass, 443 qf_setup = ceed.QFunction(1, qfs.setup_mass, 449 qf_mass = ceed.QFunction(1, qfs.apply_mass, [all …]
|
| /libCEED/rust/libceed/src/ |
| H A D | qfunction.rs | 119 SomeQFunction(&'a QFunction<'a>), 125 impl<'a> From<&'a QFunction<'_>> for QFunctionOpt<'a> { 126 fn from(qfunc: &'a QFunction) -> Self { in from() 341 pub struct QFunction<'a> { struct 365 impl<'a> Drop for QFunction<'a> { implementation 415 impl<'a> fmt::Display for QFunction<'a> { implementation 572 impl<'a> QFunction<'a> { impl
|
| H A D | lib.rs | 156 QFunction, QFunctionByName, QFunctionField, QFunctionInputs, QFunctionOpt, QFunctionOutputs, 1109 ) -> Result<QFunction<'a>> { in q_function_interior() 1110 QFunction::create(self, vlength, f) in q_function_interior()
|
| /libCEED/backends/cuda-ref/ |
| H A D | ceed-cuda-ref-qfunction-load.cpp | 33 if (data->QFunction) return CEED_ERROR_SUCCESS; in CeedQFunctionBuildKernel_Cuda_ref() 110 CeedCallBackend(CeedGetKernel_Cuda(ceed, data->module, kernel_name.c_str(), &data->QFunction)); in CeedQFunctionBuildKernel_Cuda_ref()
|
| H A D | ceed-cuda-ref-qfunction.c | 49 CeedCallBackend(CeedRunKernelAutoblockCuda(ceed, data->QFunction, Q, args)); in CeedQFunctionApply_Cuda() 84 data->QFunction = f; in CeedQFunctionSetCUDAUserFunction_Cuda()
|
| /libCEED/backends/hip-ref/ |
| H A D | ceed-hip-ref-qfunction-load.cpp | 35 if (data->QFunction) return CEED_ERROR_SUCCESS; in CeedQFunctionBuildKernel_Hip_ref() 114 CeedCallBackend(CeedGetKernel_Hip(ceed, data->module, kernel_name.c_str(), &data->QFunction)); in CeedQFunctionBuildKernel_Hip_ref()
|
| H A D | ceed-hip-ref-qfunction.c | 51 …CeedCallBackend(CeedRunKernel_Hip(ceed, data->QFunction, CeedDivUpInt(Q, block_size), block_size, … in CeedQFunctionApply_Hip()
|
| /libCEED/python/ |
| H A D | __init__.py | 13 from .ceed_qfunction import QFunction, QFunctionByName, IdentityQFunction
|
| H A D | ceed.py | 19 from .ceed_qfunction import QFunction, QFunctionByName, IdentityQFunction 568 def QFunction(self, vlength, f, source): member in Ceed 582 return QFunction(self, vlength, f, source)
|
| H A D | ceed_qfunction.py | 74 class QFunction(_QFunctionBase): class
|
| /libCEED/julia/LibCEED.jl/docs/ |
| H A D | make.jl | 12 "QFunction.md",
|
| /libCEED/examples/python/ |
| H A D | tutorial-4-qfunction.ipynb | 38 …"Here we show some basic examples to illustrate the `libceed.QFunction` class. In libCEED, QFuncti… 74 "* In the following example, we create and evaluate a built-in identity QFunction." 107 …"* In the following example, we create and evaluate a QFunction (for the mass operator in 1D) from… 158 …"* In the following example, we create and evaluate a built-in identity QFunction 3 fields per qua…
|
| H A D | ex3_volume.py | 113 qf_build = ceed.QFunction(1, qfs_so.build_mass_diff, 131 qf_apply = ceed.QFunction(1, qfs_so.apply_mass_diff,
|
| H A D | ex1_volume.py | 109 qf_build = ceed.QFunction(1, qfs_so.build_mass, 138 qf_mass = ceed.QFunction(1, qfs_so.apply_mass,
|
| H A D | ex2_surface.py | 111 qf_build = ceed.QFunction(1, qfs_so.build_diff, 140 qf_diff = ceed.QFunction(1, qfs_so.apply_diff,
|
| /libCEED/julia/LibCEED.jl/examples/ |
| H A D | ex1-volume-c.jl | 293 # This creates the QFunction directly. 300 # This creates the QFunction via the gallery. 360 # This creates the QFunction directly. 366 # This creates the QFunction via the gallery.
|