| /libCEED/examples/fluids/qfunctions/ |
| H A D | taylorgreen.h | 25 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 D | setupgeo_helpers.h | 22 * 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 D | setupgeo2d.h | 18 // 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 D | setupgeo.h | 21 // 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 D | t120-vector.c | 2 /// 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 D | t009-ceed.c | 14 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 D | t403-qfunction.c | 20 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 D | t525-operator.c | 110 // 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 D | newtonian.c | 259 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 D | bc_freestream.c | 23 …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 D | ceed-object.c | 28 @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 D | ceed-tensor.c | 195 @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 D | ceed-basis.c | 390 @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 D | vortexshedding.yaml | 19 # 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 D | ceed_elemrestriction.py | 181 # 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 D | ceed.py | 460 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 D | ceed_qfunction.py | 83 # Reference to Ceed 157 # Reference to Ceed 177 # Reference to Ceed
|
| /libCEED/examples/fluids/include/ |
| H A D | petsc-ceed-utils.h | 13 @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 D | Basis.jl | 75 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 D | Context.jl | 37 # 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 D | areacube.h | 17 // 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 D | areasphere.h | 17 // 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 D | releasenotes.md | 410 | `/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 D | bp1sphere.h | 17 …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 D | README.md | 4 As reference, operators are presented that use the native matrix-free infrastructure.
|