Home
last modified time | relevance | path

Searched refs:state (Results 1 – 21 of 21) sorted by relevance

/libCEED/interface/
H A Dceed-vector.c130 int CeedVectorGetState(CeedVector vec, uint64_t *state) { in CeedVectorGetState() argument
131 *state = vec->state; in CeedVectorGetState()
213 (*vec)->state = 0; in CeedVectorCreate()
322 vec_copy->state += 2; in CeedVectorCopyStrided()
357 CeedCheck(vec->state % 2 == 0, CeedVectorReturnCeed(vec), CEED_ERROR_ACCESS, in CeedVectorSetArray()
363 vec->state += 2; in CeedVectorSetArray()
378 CeedCheck(vec->state % 2 == 0, CeedVectorReturnCeed(vec), CEED_ERROR_ACCESS, in CeedVectorSetValue()
384 vec->state += 2; in CeedVectorSetValue()
415 CeedCheck(vec->state % 2 == 0, CeedVectorReturnCeed(vec), CEED_ERROR_ACCESS, in CeedVectorSetValueStrided()
424 vec->state += 2; in CeedVectorSetValueStrided()
[all …]
H A Dceed-qfunctioncontext.c238 int CeedQFunctionContextGetState(CeedQFunctionContext ctx, uint64_t *state) { in CeedQFunctionContextGetState() argument
239 *state = ctx->state; in CeedQFunctionContextGetState()
652 CeedCheck(ctx->state % 2 == 0, CeedQFunctionContextReturnCeed(ctx), 1, in CeedQFunctionContextSetData()
658 ctx->state += 2; in CeedQFunctionContextSetData()
684 CeedCheck(ctx->state % 2 == 0, CeedQFunctionContextReturnCeed(ctx), 1, in CeedQFunctionContextTakeData()
717 CeedCheck(ctx->state % 2 == 0, CeedQFunctionContextReturnCeed(ctx), 1, in CeedQFunctionContextGetData()
726 ctx->state++; in CeedQFunctionContextGetData()
752 CeedCheck(ctx->state % 2 == 0, CeedQFunctionContextReturnCeed(ctx), 1, in CeedQFunctionContextGetDataRead()
774 …CeedCheck(ctx->state % 2 == 1, CeedQFunctionContextReturnCeed(ctx), 1, "Cannot restore CeedQFuncti… in CeedQFunctionContextRestoreData()
778 ctx->state++; in CeedQFunctionContextRestoreData()
[all …]
/libCEED/
H A DNOTICE19 state or reflect those of the United States Government or Lawrence Livermore
H A DMakefile530 …?= $(MKL_LINK) -Wl,--push-state,--no-as-needed -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthr…
/libCEED/doc/sphinx/source/
H A DlibCEEDdev.md121 …memory location that contains valid data, then the {ref}`CeedVector` is left in an *invalid state*.
122 To repair an *invalid state*, the user must set valid data by calling {c:func}`CeedVectorSetValue`,…
131 - {c:func}`CeedVectorTakeArray` cannot be called on a vector in a *invalid state*.
142 …zation and user calls to {c:func}`CeedVectorSync` cannot be made on a vector in an *invalid state*.
143 …torGetArray` and {c:func}`CeedVectorGetArrayRead` cannot be made on a vector in an *invalid state*.
144 …CeedVectorSetArray` and {c:func}`CeedVectorSetValue` can be made on a vector in an *invalid state*.
145 - Calls to {c:func}`CeedVectorGetArrayWrite` can be made on a vector in an *invalid* state.
H A Dintro.md9 A more relevant performance plot for current state-of-the-art high-performance machines (for which …
H A Dreleasenotes.md31 - Add `CeedGetGitVersion()` to access the Git commit and dirty state of the repository at build tim…
375 the family of backends, of which, the new `cuda-gen` backend achieves state-of-the-art
/libCEED/include/
H A Dceed-impl.h168 uint64_t state; member
292 uint64_t state; member
/libCEED/backends/hip-ref/
H A Dceed-hip-ref-operator.c392 uint64_t state; in CeedOperatorInputRestrict_Hip() local
394 CeedCallBackend(CeedVectorGetState(l_vec, &state)); in CeedOperatorInputRestrict_Hip()
395 if (is_active || state != impl->input_states[input_field]) { in CeedOperatorInputRestrict_Hip()
402 impl->input_states[input_field] = state; in CeedOperatorInputRestrict_Hip()
856 uint64_t state; in CeedOperatorApplyAddAtPoints_Hip() local
857 CeedCallBackend(CeedVectorGetState(point_coords, &state)); in CeedOperatorApplyAddAtPoints_Hip()
858 if (impl->points_state != state) { in CeedOperatorApplyAddAtPoints_Hip()
1868 uint64_t state; in CeedOperatorLinearAssembleAddDiagonalAtPoints_Hip() local
1869 CeedCallBackend(CeedVectorGetState(point_coords, &state)); in CeedOperatorLinearAssembleAddDiagonalAtPoints_Hip()
1870 if (impl->points_state != state) { in CeedOperatorLinearAssembleAddDiagonalAtPoints_Hip()
/libCEED/backends/cuda-ref/
H A Dceed-cuda-ref-operator.c393 uint64_t state; in CeedOperatorInputRestrict_Cuda() local
395 CeedCallBackend(CeedVectorGetState(l_vec, &state)); in CeedOperatorInputRestrict_Cuda()
396 if (is_active || state != impl->input_states[input_field]) { in CeedOperatorInputRestrict_Cuda()
403 impl->input_states[input_field] = state; in CeedOperatorInputRestrict_Cuda()
858 uint64_t state; in CeedOperatorApplyAddAtPoints_Cuda() local
859 CeedCallBackend(CeedVectorGetState(point_coords, &state)); in CeedOperatorApplyAddAtPoints_Cuda()
860 if (impl->points_state != state) { in CeedOperatorApplyAddAtPoints_Cuda()
1871 uint64_t state; in CeedOperatorLinearAssembleAddDiagonalAtPoints_Cuda() local
1872 CeedCallBackend(CeedVectorGetState(point_coords, &state)); in CeedOperatorLinearAssembleAddDiagonalAtPoints_Cuda()
1873 if (impl->points_state != state) { in CeedOperatorLinearAssembleAddDiagonalAtPoints_Cuda()
/libCEED/backends/opt/
H A Dceed-opt-operator.c286 uint64_t state; in CeedOperatorSetupInputs_Opt() local
293 CeedCallBackend(CeedVectorGetState(vec, &state)); in CeedOperatorSetupInputs_Opt()
294 if (state != impl->input_states[i] && impl->block_rstr[i] && !impl->skip_rstr_in[i]) { in CeedOperatorSetupInputs_Opt()
297 impl->input_states[i] = state; in CeedOperatorSetupInputs_Opt()
/libCEED/backends/blocked/
H A Dceed-blocked-operator.c276 uint64_t state; in CeedOperatorSetupInputs_Blocked() local
292 CeedCallBackend(CeedVectorGetState(vec, &state)); in CeedOperatorSetupInputs_Blocked()
293 if ((state != impl->input_states[i] || vec == in_vec) && !impl->skip_rstr_in[i]) { in CeedOperatorSetupInputs_Blocked()
296 impl->input_states[i] = state; in CeedOperatorSetupInputs_Blocked()
/libCEED/examples/fluids/
H A Dindex.md28 …ant, $T$ represents the temperature, and $P$ the pressure, given by the following equation of state
32 $$ (eq-state)
42 for the state variables 5-dimensional vector
152 …in terms of $\bm z_N$ from prior state and $\alpha > 0$, both of which depend on the specific time…
207 …}$ (rather than its transpose) can be explained via an ansatz for subgrid state fluctuations $\til…
221 where $\diff P$ is defined by differentiating {eq}`eq-state`.
313 … to ideal gases as $\gamma$ is an ideal gas parameter; other equations of state will yield a diffe…
641 …low (left) and Riemann-type outflow on the right, with exterior reference state at velocity $(1, 0…
664 …i(\bm{x},t)$, and potential temperature, $\theta(\bm{x},t)$, that relate to the state variables via
877 …$\partial \bm{q}/\partial \bm{Y}\rvert_{\bm{q}}$, which is linearized about the current flow state.
[all …]
H A DREADME.md8 The state variables are mass density, momentum density, and energy density.
83 …- Number of steps between writing binary checkpoints. `0` has no output, `-1` outputs final state
261 If you know the complete exterior state, `bc_freestream` is the least reflective boundary condition…
/libCEED/include/ceed/
H A Dbackend.h279 CEED_EXTERN int CeedVectorGetState(CeedVector vec, uint64_t *state);
403 CEED_EXTERN int CeedQFunctionContextGetState(CeedQFunctionContext ctx, uint64_t *state);
/libCEED/examples/
H A DREADME.md67 This example solves the steady-state static momentum balance equations using unstructured high-orde…
/libCEED/examples/solids/
H A Dindex.md6 It solves the steady-state static momentum balance equations using unstructured high-order finite/s…
65 In their most general form, constitutive models define $\bm \sigma$ in terms of state variables.
66 In the model taken into consideration in the present mini-app, the state variables are constituted …
522 The decision of whether to recompute or store functions of the current state $\bm F$ depends on a r…
H A DREADME.md7 This code solves the steady-state static momentum balance equations using unstructured high-order f…
/libCEED/backends/ref/
H A Dceed-ref-operator.c216 uint64_t state; in CeedOperatorSetupInputs_Ref() local
233 CeedCallBackend(CeedVectorGetState(vec, &state)); in CeedOperatorSetupInputs_Ref()
235 if ((state != impl->input_states[i] || vec == in_vec) && !impl->skip_rstr_in[i]) { in CeedOperatorSetupInputs_Ref()
242 impl->input_states[i] = state; in CeedOperatorSetupInputs_Ref()
/libCEED/julia/LibCEED.jl/src/generated/
H A Dlibceed_bindings.jl996 function CeedVectorGetState(vec, state) argument
997 ccall((:CeedVectorGetState, libceed), Cint, (CeedVector, Ptr{UInt64}), vec, state)
1266 function CeedQFunctionContextGetState(ctx, state) argument
1267 …ll((:CeedQFunctionContextGetState, libceed), Cint, (CeedQFunctionContext, Ptr{UInt64}), ctx, state)
/libCEED/rust/libceed-sys/c-src/
H A DMakefile530 …?= $(MKL_LINK) -Wl,--push-state,--no-as-needed -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthr…