Home
last modified time | relevance | path

Searched full:type (Results 1 – 25 of 129) sorted by relevance

123456

/libCEED/examples/deal.II/
H A Dbps.h58 BPInfo(const BPType type, const int dim, const int fe_degree) in BPInfo()
59 : type(type) in BPInfo()
63 if (type == BPType::BP1) in BPInfo()
65 else if (type == BPType::BP2) in BPInfo()
67 else if (type == BPType::BP3) in BPInfo()
69 else if (type == BPType::BP4) in BPInfo()
71 else if (type == BPType::BP5) in BPInfo()
73 else if (type == BPType::BP6) in BPInfo()
76 this->n_q_points_1d = (type <= BPType::BP4) ? (fe_degree + 2) : (fe_degree + 1); in BPInfo()
79 (type == BPType::BP1 || type == BPType::BP3 || type == BPType::BP5) ? 1 : dim; in BPInfo()
[all …]
/libCEED/tests/
H A Dt407-qfunction.c43 CeedContextFieldType type; in main() local
45 CeedContextFieldLabelGetDescription(field_labels[0], &name, NULL, &num_values, NULL, &type); in main()
48 if (type != CEED_CONTEXT_FIELD_DOUBLE) { in main()
50 printf("Incorrect context field type for time: \"%s\" != \"%s\"\n", CeedContextFieldTypes[type], in main()
55 CeedContextFieldLabelGetDescription(field_labels[1], &name, NULL, &num_values, NULL, &type); in main()
58 if (type != CEED_CONTEXT_FIELD_INT32) { in main()
60 … printf("Incorrect context field type for count: \"%s\" != \"%s\"\n", CeedContextFieldTypes[type], in main()
65 CeedContextFieldLabelGetDescription(field_labels[2], &name, NULL, &num_values, NULL, &type); in main()
68 if (type != CEED_CONTEXT_FIELD_BOOL) { in main()
70 … printf("Incorrect context field type for is_set: \"%s\" != \"%s\"\n", CeedContextFieldTypes[type], in main()
H A Dt001-ceed.c2 /// Test return of CEED backend preferred memory type
3 /// \test Test return of CEED backend preferred memory type
9 CeedInt type = -1; in main() local
13 CeedGetPreferredMemType(ceed, (CeedMemType *)&type); in main()
14 if (type == -1) printf("Error getting preferred memory type. %" CeedInt_FMT "\n", type); in main()
H A Djunit.py15 type=str,
22 type=RunMode,
26 parser.add_argument('-n', '--nproc', type=int, default=1, help='number of MPI processes')
27 …parser.add_argument('-b', '--junit-batch', type=str, default='', help='Name of JUnit batch for out…
28 …parser.add_argument('-np', '--pool-size', type=int, default=1, help='Number of test cases to run i…
29 parser.add_argument('-s', '--search', type=str, default='.*',
141 elif 'No SYCL devices of the requested type are available' in stderr:
142 return f'SYCL device type not available'
H A Dt119-vector.c29 CeedMemType type = CEED_MEM_HOST; in main() local
30 CeedGetPreferredMemType(ceed, &type); in main()
31 CeedVectorSyncArray(x, type); in main()
H A Dt123-vector.c29 CeedMemType type = CEED_MEM_HOST; in main() local
30 CeedGetPreferredMemType(ceed, &type); in main()
31 CeedVectorSyncArray(x, type); in main()
H A Dt125-vector.c31 CeedMemType type = CEED_MEM_HOST; in main() local
32 CeedGetPreferredMemType(ceed, &type); in main()
33 CeedVectorSyncArray(y, type); in main()
H A Dt121-vector.c31 CeedMemType type = CEED_MEM_HOST; in main() local
32 CeedGetPreferredMemType(ceed, &type); in main()
33 CeedVectorSyncArray(y, type); in main()
H A Dt108-vector.c26 CeedMemType type = CEED_MEM_HOST; in main() local
27 CeedGetPreferredMemType(ceed, &type); in main()
28 CeedVectorSyncArray(x, type); in main()
H A Dt101-vector.c42 CeedMemType type = CEED_MEM_HOST; in main() local
44 CeedGetPreferredMemType(ceed, &type); in main()
45 CeedVectorSyncArray(x, type); in main()
H A Dt009-ceed.c18 CeedMemType type; in main() local
19 CeedGetPreferredMemType(ceed_2, &type); // Second reference still valid in main()
H A Dt122-vector.c71 CeedMemType type = CEED_MEM_HOST; in main() local
72 CeedGetPreferredMemType(ceed, &type); in main()
73 CeedVectorSyncArray(y, type); in main()
/libCEED/julia/LibCEED.jl/src/
H A DGlobals.jl4 Scalar (floating point) type. Typically equivalent to `Float64`, but libCEED can be configured at
12 Integer type, used for indexing. Equivalent to `Int32`.
19 Integer type, for small integers. Equivalent to `Int8`.
26 Integer type, used for array sizes. Equivalent to `Int`.
90 Denotes type of vector norm. One of `NORM_1`, `NORM_2`, or `NORM_MAX`.
110 Type of basis shape to create non-tensor H1 element basis. One of `LINE`, `TRIANGLE`,
/libCEED/tests/junit-xml/junit_xml/
H A D__init__.py31 <failure message="Assertion FAILED: failed assert" type="failure">
36 <error message="Assertion ERROR: error assert" type="error">
41 <skipped message="SKIPPED Test" type="skipped">
202 attrs = {"type": "failure"}
205 if failure["type"]:
206 attrs["type"] = decode(failure["type"], encoding)
215 attrs = {"type": "error"}
218 if error["type"]:
219 attrs["type"] = decode(error["type"], encoding)
227 attrs = {"type": "skipped"}
[all …]
/libCEED/interface/
H A Dceed-qfunctioncontext.c94 ctx->field_labels[ctx->num_fields]->type = field_type; in CeedQFunctionContextRegisterGeneric()
214 @param[in] mem_type Memory type to check
302 @param[in] field_type Type of field to set
313 // Check field type in CeedQFunctionContextSetGeneric()
314 …CeedCheck(field_label->type == field_type, CeedQFunctionContextReturnCeed(ctx), CEED_ERROR_UNSUPPO… in CeedQFunctionContextSetGeneric()
316 CeedContextFieldTypes[field_label->type], CeedContextFieldTypes[field_type]); in CeedQFunctionContextSetGeneric()
334 @param[in] field_type Type of field to read
346 // Check field type in CeedQFunctionContextGetGenericRead()
347 …CeedCheck(field_label->type == field_type, CeedQFunctionContextReturnCeed(ctx), CEED_ERROR_UNSUPPO… in CeedQFunctionContextGetGenericRead()
349 CeedContextFieldTypes[field_label->type], CeedContextFieldTypes[field_type]); in CeedQFunctionContextGetGenericRead()
[all …]
/libCEED/include/ceed/
H A Dtypes.h128 /// Integer type, used for indexing
133 /// Integer type, used array sizes
138 /// Integer type, for small integers
152 /// Base scalar type for the library to use: change which header is included to change the precisio…
157 /// This enum is used to specify the type of error returned by a function.
182 /// Specify memory type.
207 /// Denotes type of vector norm to be computed
244 /// Type of quadrature; also used for location of nodes
253 /// Type of basis shape to create non-tensor element basis.
273 /// Denotes type of data stored in a CeedQFunctionContext field
/libCEED/doc/sphinx/source/
H A Dprecision.md18 …`enum`, and can be used for compile-time checking of {code}`CeedScalar`'s type; see, e.g., {code}`…
20 …responsible for ensuring that data used in Fortran code is of the correct type ({code}`real*8` or …
22 …he Julia session. LibCEED.jl will configure itself to use the appropriate type for {code}`CeedScal…
28 - **Rust**: The {code}`Scalar` type corresponds to {code}`CeedScalar`.
H A Dgpu.md11 …o automatically creates a string with the absolute path, for example a {c:type}`CeedQFunctionUser`…
27 …nput arrays are read-only and all output arrays are write-only and the {c:type}`CeedQFunctionUser`…
28 Additionally, {c:type}`CeedQFunctionUser` have read-write access for `CeedQFunctionContext` data, u…
/libCEED/python/
H A Dceed_vector.py79 **memtype: memory type of the array being passed, default CEED_MEM_HOST
106 """Get read/write access to a Vector via the specified memory type.
109 **memtype: memory type of the array being passed, default CEED_MEM_HOST
151 """Get read-only access to a Vector via the specified memory type.
154 **memtype: memory type of the array being passed, default CEED_MEM_HOST
198 """Get write-only access to a Vector via the specified memory type.
202 **memtype: memory type of the array being passed, default CEED_MEM_HOST
271 **memtype: memory type of the array being passed, default CEED_MEM_HOST
296 **memtype: memory type of the array being passed, default CEED_MEM_HOST
322 **memtype: memory type of the array being passed, default CEED_MEM_HOST
[all …]
H A Dceed_qfunctioncontext.py69 **memtype: memory type of the array being passed, default CEED_MEM_HOST
100 """Get read/write access to a QFunction Context via the specified memory type.
103 **memtype: memory type of the array being passed, default CEED_MEM_HOST
165 **memtype: memory type of the data being passed, default CEED_MEM_HOST
H A Dceed.py94 """Return Ceed preferred memory type.
97 memtype: Ceed preferred memory type"""
106 # Convenience function to get CeedScalar type
111 np_dtype: String naming numpy data type corresponding to CeedScalar"""
215 **memtype: memory type of the offsets array, default CEED_MEM_HOST
248 **memtype: memory type of the offsets array, default CEED_MEM_HOST
281 **memtype: memory type of the offsets array, default CEED_MEM_HOST
334 **memtype: memory type of the offsets array, default CEED_MEM_HOST
372 **memtype: memory type of the offsets array, default CEED_MEM_HOST
409 **memtype: memory type of the offsets array, default CEED_MEM_HOST
[all …]
/libCEED/examples/fluids/
H A Dadvection.yaml18 type: bcgs
29 type: alpha
/libCEED/examples/python/
H A Dex_common.py36 parser.add_argument("-d", "--dim", type=int, default=3,
38 parser.add_argument("-m", "--mesh-degree", type=int, default=4,
40 parser.add_argument("-p", "--solution-degree", type=int, default=4,
42 parser.add_argument("-q", "--quadrature-points", type=int, default=6,
44 parser.add_argument("-s", "--problem-size", type=int, default=-1,
/libCEED/include/ceed/jit-source/magma/
H A Dmagma-common-defs.h12 #define MAGMA_DEVICE_SHARED(type, name) extern __shared__ type name[]; argument
/libCEED/backends/sycl/
H A Donline_compiler.hpp93 /// supported for given device type.
131 /// Sets the device type of the compilation target and returns *this.
132 online_compiler<Lang> &setTargetDeviceType(sycl::info::device_type type) { in setTargetDeviceType() argument
133 DeviceType = type; in setTargetDeviceType()
169 /// Target device type

123456