Home
last modified time | relevance | path

Searched refs:type (Results 1 – 25 of 57) sorted by relevance

123

/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.c9 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='.*',
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 Dt009-ceed.c18 CeedMemType type; in main() local
19 CeedGetPreferredMemType(ceed_2, &type); // Second reference still valid 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 Dt122-vector.c71 CeedMemType type = CEED_MEM_HOST; in main() local
72 CeedGetPreferredMemType(ceed, &type); in main()
73 CeedVectorSyncArray(y, type); in main()
/libCEED/include/ceed/jit-source/magma/
H A Dmagma-common-defs.h12 #define MAGMA_DEVICE_SHARED(type, name) extern __shared__ type name[]; argument
/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`.
H A DRequest.jl1 abstract type AbstractRequest end
/libCEED/backends/sycl/
H A Dceed-sycl-common.hpp27 int CeedSetBackendFunctionCpp(Ceed ceed, const char *type, void *object, const char *fname, R (*f)(… in CeedSetBackendFunctionCpp() argument
31 return CeedSetBackendFunction(ceed, type, object, fname, bf); in CeedSetBackendFunctionCpp()
H A Donline_compiler.hpp132 online_compiler<Lang> &setTargetDeviceType(sycl::info::device_type type) { in setTargetDeviceType() argument
133 DeviceType = type; in setTargetDeviceType()
/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/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/interface/
H A Dceed-qfunctioncontext.c94 ctx->field_labels[ctx->num_fields]->type = field_type; in CeedQFunctionContextRegisterGeneric()
314 …CeedCheck(field_label->type == field_type, CeedQFunctionContextReturnCeed(ctx), CEED_ERROR_UNSUPPO… in CeedQFunctionContextSetGeneric()
316 CeedContextFieldTypes[field_label->type], CeedContextFieldTypes[field_type]); in CeedQFunctionContextSetGeneric()
347 …CeedCheck(field_label->type == field_type, CeedQFunctionContextReturnCeed(ctx), CEED_ERROR_UNSUPPO… in CeedQFunctionContextGetGenericRead()
349 CeedContextFieldTypes[field_label->type], CeedContextFieldTypes[field_type]); in CeedQFunctionContextGetGenericRead()
382 …CeedCheck(field_label->type == field_type, CeedQFunctionContextReturnCeed(ctx), CEED_ERROR_UNSUPPO… in CeedQFunctionContextRestoreGenericRead()
384 CeedContextFieldTypes[field_label->type], CeedContextFieldTypes[field_type]); in CeedQFunctionContextRestoreGenericRead()
892 if (field_type) *field_type = label->type; in CeedContextFieldLabelGetDescription()
965 …abeled %s field: %s\n", tabs, CeedContextFieldTypes[ctx->field_labels[i]->type], ctx->field_labels… in CeedQFunctionContextView()
/libCEED/examples/fluids/include/
H A Dmat-ceed.h38 PETSC_CEED_EXTERN PetscErrorCode MatCeedSetCOOMatType(Mat mat, MatType type);
39 PETSC_CEED_EXTERN PetscErrorCode MatCeedGetCOOMatType(Mat mat, MatType *type);
/libCEED/examples/rust-qfunctions/ex1-volume-rs/
H A DCargo.toml14 crate-type = ["staticlib"]
/libCEED/doc/sphinx/source/api/
H A DCeedOperator.rst7 A `CeedOperator` connects objects of the type :ref:`CeedElemRestriction`, :ref:`CeedBasis`, and :re…
/libCEED/
H A DCITATION.cff60 type: article
114 - type: manual
172 - type: proceedings

123