Home
last modified time | relevance | path

Searched full:reference (Results 1 – 25 of 102) sorted by relevance

12345

/libCEED/examples/fluids/qfunctions/
H A Dtaylorgreen.h25 StatePrimitive reference = context->reference; in ICsTaylorGreen() local
26 const CeedScalar V0 = sqrt(Dot3(reference.velocity, reference.velocity)); in ICsTaylorGreen()
27 const CeedScalar density0 = reference.pressure / (reference.temperature * R); in ICsTaylorGreen()
34 …Y[0] = reference.pressure + (density0 * Square(V0) / 16) * (cos(2 * x[0]) + cos(2 * x[1])) * (cos(… in ICsTaylorGreen()
38 Y[4] = reference.temperature; in ICsTaylorGreen()
H A Dsetupgeo_helpers.h22 * Reference (parent) coordinates: X
78 * Reference (parent) coordinates: X
115 * Reference (parent) 2D coordinates: X
155 …* This QFunction sets up the geometric factor required for integration when reference coordinates …
157 * Reference (parent) 1D coordinates: X
189 * Reference (parent) 2D coordinates: X
H A Dsetupgeo2d.h18 // Reference (parent) coordinates: X
62 // This QFunction sets up the geometric factor required for integration when reference coordinates …
64 // Reference (parent) 1D coordinates: X
103 // This QFunction sets up the geometric factor required for integration when reference coordinates …
105 // Reference (parent) 2D coordinates: X
H A Dsetupgeo.h21 // Reference (parent) coordinates: X
66 // This QFunction sets up the geometric factor required for integration when reference coordinates …
68 // Reference (parent) 2D coordinates: X
/libCEED/tests/
H A Dt120-vector.c2 /// Test creation, reference copying, and destroying of a vector
3 /// \test Test creation, reference copying, and destroying of a vector
28 CeedVectorGetLength(x_2, &len_2); // Second reference still valid in main()
29 if (len_2 != len) printf("Error copying CeedVector reference\n"); in main()
H A Dt009-ceed.c14 if (ceed != ceed_2) printf("Error copying Ceed reference\n"); in main()
19 CeedGetPreferredMemType(ceed_2, &type); // Second reference still valid in main()
H A Dt403-qfunction.c20 if (qf != qf_2) printf("Error copying CeedQFunction reference\n"); in main()
26 if (ctx != ctx_2) printf("Error copying CeedQFunctionContext reference\n"); in main()
H A Dt525-operator.c110 // Check getting reference to QFunctionContext in main()
117 CeedOperatorGetContext(op_sub_2, &ctx_copy); // Destroys reference to qf_ctx_sub_1 in main()
/libCEED/examples/fluids/problems/
H A Dnewtonian.c259 StatePrimitive reference = {.pressure = 1.01e5, .velocity = {0}, .temperature = 288.15}; in NS_NEWTONIAN_IG() local
260 …CeedScalar idl_decay_time = -1, idl_start = 0, idl_length = 0, idl_pressure = reference.pressu… in NS_NEWTONIAN_IG()
345 …(PetscOptionsScalar("-reference_pressure", "Reference/initial pressure", NULL, reference.pressure,… in NS_NEWTONIAN_IG()
346 …cCall(PetscOptionsScalarArray("-reference_velocity", "Reference/initial velocity", NULL, reference in NS_NEWTONIAN_IG()
347 …OptionsScalar("-reference_temperature", "Reference/initial temperature", NULL, reference.temperatu… in NS_NEWTONIAN_IG()
369 idl_pressure = reference.pressure; in NS_NEWTONIAN_IG()
370 …PetscCall(PetscOptionsScalar("-idl_pressure", "Pressure IDL uses as reference (default is `-refere… in NS_NEWTONIAN_IG()
404 reference.pressure *= Pascal; in NS_NEWTONIAN_IG()
405 for (PetscInt i = 0; i < 3; i++) reference.velocity[i] *= meter / second; in NS_NEWTONIAN_IG()
406 reference.temperature *= Kelvin; in NS_NEWTONIAN_IG()
[all …]
H A Dbc_freestream.c23 …em, DM dm, void *ctx, NewtonianIdealGasContext newtonian_ig_ctx, const StatePrimitive *reference) { in FreestreamBCSetup() argument
36 // Freestream inherits reference state. We re-dimensionalize so the defaults in FreestreamBCSetup()
38 …StatePrimitive Y_inf = {.pressure = reference->pressure / Pascal, .velocity = {0}, .temperature = in FreestreamBCSetup()
39 for (int i = 0; i < 3; i++) Y_inf.velocity[i] = reference->velocity[i] * second / meter; in FreestreamBCSetup()
133 …em, DM dm, void *ctx, NewtonianIdealGasContext newtonian_ig_ctx, const StatePrimitive *reference) { in OutflowBCSetup() argument
143 CeedScalar pressure = reference->pressure / Pascal; in OutflowBCSetup()
144 CeedScalar temperature = reference->temperature / Kelvin; in OutflowBCSetup()
/libCEED/interface/
H A Dceed-object.c28 @param[in] ceed `Ceed` object to reference
48 @brief Increment the reference counter for a `CeedObject`
50 @param[in,out] obj `CeedObject` to increment the reference counter
62 @brief Decrement the reference counter for a `CeedObject`
64 @param[in,out] obj `CeedObject` to decrement the reference counter
66 @return The new reference count
H A Dceed-tensor.c195 @brief Increment the reference counter for a `CeedTensorContract`
197 @param[in,out] contract `CeedTensorContract` to increment the reference counter
214 …This `CeedTensorContract` will be destroyed if `*tensor_copy` is the only reference to this `CeedT…
216 @param[in] tensor `CeedTensorContract` to copy reference to
217 @param[in,out] tensor_copy Variable to store copied reference
H A Dceed-basis.c390 @param[in] x_ref `CeedVector` holding reference coordinates of each point
417 … "Length of reference coordinate vector incompatible with basis dimension and number of points." in CeedBasisApplyAtPointsCheckDims()
418 …" Found reference coordinate vector of length %" CeedSize_FMT ", not of length %" CeedSize_FMT ".", in CeedBasisApplyAtPointsCheckDims()
468 @param[in] x_ref `CeedVector` holding reference coordinates of each point
535 "Reference CPU ceed failed to create a tensor contraction object"); in CeedBasisApplyAtPoints_Core()
688 …@brief Fallback to a reference implementation for a non tensor-product basis for \f$H^1\f$ discret…
700 …rray of length `num_qpts * dim` holding the locations of quadrature points on the reference element
701 …@param[in] q_weight Array of length `num_qpts` holding the quadrature weights on the reference e…
870 @brief Increment the reference counter for a `CeedBasis`
872 @param[in,out] basis `CeedBasis` to increment the reference counter
[all …]
/libCEED/examples/fluids/
H A Dvortexshedding.yaml19 # Reference state is used for the initial condition, zero velocity by default.
23 reference:
32 # Freestream inherits reference state as default
/libCEED/python/
H A Dceed_elemrestriction.py181 # Reference to Ceed
184 # Store array reference if needed
214 # Reference to Ceed
217 # Store array reference if needed
253 # Reference to Ceed
256 # Store array reference if needed
292 # Reference to Ceed
319 # Reference to Ceed
380 # Reference to Ceed
411 # Reference to Ceed
[all …]
H A Dceed.py460 quadrature points on the 1D reference element [-1, 1]
462 weights on the reference element
504 quadrature points on the reference element [-1, 1]
506 weights on the reference element
530 quadrature points on the reference element [-1, 1]
532 weights on the reference element
557 quadrature points on the reference element [-1, 1]
559 weights on the reference element
H A Dceed_qfunction.py83 # Reference to Ceed
157 # Reference to Ceed
177 # Reference to Ceed
/libCEED/examples/fluids/include/
H A Dpetsc-ceed-utils.h13 @brief Copy the reference to a `Vec`.
18 @param[in] vec `Vec` to reference
19 @param[out] vec_copy Copy of reference
32 @brief Copy the reference to a `DM`.
37 @param[in] dm `DM` to reference
38 @param[out] dm_copy Copy of reference
/libCEED/julia/LibCEED.jl/src/
H A DBasis.jl75 reference element $[-1, 1]$.
76 - `qweight1d`: Array of length `q` holding the quadrature weights on the reference element.
130 reference element $[-1, 1]$.
131 - `qweight`: Array of length `nqpts` holding the quadrature weights on the reference
188 reference element $[-1, 1]$.
189 - `qweight`: Array of length `nqpts` holding the quadrature weights on the reference
246 reference element $[-1, 1]$.
247 - `qweight`: Array of length `nqpts` holding the quadrature weights on the reference
433 Get the reference coordinates of quadrature points (in `dim` dimensions) of the given
H A DContext.jl37 # Store a reference to the context data so that it will not be GC'd before
39 # A reference to the context object is stored in the QFunction object, and
/libCEED/examples/petsc/qfunctions/area/
H A Dareacube.h17 // This QFunction sets up the geometric factor required for integration when reference coordinates …
20 // Reference (parent) 2D coordinates: X \in [-1, 1]^2
27 // (physical 3D coords relative to reference 2D coords)
33 // Change of coordinates x (physical 2D) relative to X (reference 2D):
H A Dareasphere.h17 // This QFunction sets up the geometric factor required for integration when reference coordinates …
20 // Reference (parent) 2D coordinates: X \in [-1, 1]^2
27 // (physical 3D coords relative to reference 2D coords)
33 // Change of coordinates x (on the 2D manifold) relative to X (reference 2D):
/libCEED/doc/sphinx/source/
H A Dreleasenotes.md410 | `/cpu/self/ref/serial` | Serial reference implementation |
411 | `/cpu/self/ref/blocked` | Blocked reference implementation |
423 | `/gpu/cuda/ref` | Reference pure CUDA kernels |
471 The `/gpu/cuda/ref` backend is a reference CUDA backend, providing reasonable
492 | `/cpu/self/ref/serial` | Serial reference implementation |
493 | `/cpu/self/ref/blocked` | Blocked reference implementation |
503 | `/gpu/cuda/ref` | Reference pure CUDA kernels |
554 | `/cpu/self/blocked` | Blocked reference implementation |
555 | `/cpu/self/ref` | Serial reference implementation |
603 | `/cpu/self` | Serial reference implementation |
[all …]
/libCEED/examples/petsc/qfunctions/bps/
H A Dbp1sphere.h17 …ic factors required for integration and coordinate transformations when reference coordinates have…
20 // Reference (parent) 2D coordinates: X \in [-1, 1]^2
27 // (physical 3D coords relative to reference 2D coords)
33 // Change of coordinates x (on the 2D manifold) relative to X (reference 2D):
/libCEED/examples/deal.II/
H A DREADME.md4 As reference, operators are presented that use the native matrix-free infrastructure.

12345