Home
last modified time | relevance | path

Searched refs:name (Results 1 – 25 of 144) sorted by relevance

123456

/libCEED/examples/fluids/src/
H A Dbc_definition.c18 PetscErrorCode BCDefinitionCreate(const char *name, PetscInt num_label_values, PetscInt label_value… in BCDefinitionCreate() argument
22 PetscCall(PetscStrallocpy(name, &(*bc_def)->name)); in BCDefinitionCreate()
37 PetscErrorCode BCDefinitionGetInfo(BCDefinition bc_def, const char *name[], PetscInt *num_label_val… in BCDefinitionGetInfo() argument
39 if (name) *name = bc_def->name; in BCDefinitionGetInfo()
54 if ((*bc_def)->name) PetscCall(PetscFree((*bc_def)->name)); in BCDefinitionDestroy()
95 … const char name[], BCDefinition *bc_def, PetscBool *set) { in PetscOptionsBCDefinition_Private() argument
101 PetscCall(BCDefinitionCreate(name, num_label_values, label_values, bc_def)); in PetscOptionsBCDefinition_Private()
/libCEED/include/ceed/
H A Dtypes.h49 #define CEED_QFUNCTION(name) \ argument
50 static const char name##_loc[] = __FILE__ ":" #name; \
51 CEED_QFUNCTION_ATTR static int name
72 #define CEED_QFUNCTION_RUST(name) … argument
73 …CEED_QFUNCTION_ATTR int name##_rs(void *ctx, const CeedInt Q, const CeedScalar *const *in, …
74 …CEED_QFUNCTION_ATTR static int name(void *ctx, const CeedInt Q, const CeedScalar *const *in, CeedS…
75 …return name##_rs(ctx, Q, in, out); …
77 static const char name##_loc[] = __FILE__ ":" #name;
/libCEED/include/ceed/jit-source/cuda/
H A Dcuda-jit.h11 #define CEED_QFUNCTION(name) inline __device__ int name argument
16 #define CEED_QFUNCTION_RUST(name) … argument
17 …extern "C" __device__ int name##_rs(void *ctx, const CeedInt Q, const CeedScalar *const *in, CeedS…
18 …static __device__ int name(void *ctx, const CeedInt Q, const CeedScalar *const *in, CeedScalar *co…
/libCEED/examples/solids/problems/
H A Dproblems.h17 #define SOLIDS_PROBLEM_REGISTER(list, name, fname, physics) … argument
18 …PetscCall(PetscFunctionListAdd(&list->setupPhysics, name, PhysicsContext_##physics)); …
19 …PetscCall(PetscFunctionListAdd(&list->setupSmootherPhysics, name, PhysicsSmootherContext_##physics…
20 …PetscCall(PetscFunctionListAdd(&list->setupLibceedFineLevel, name, SetupLibceedFineLevel_##fname))…
21 PetscCall(PetscFunctionListAdd(&list->setupLibceedLevel, name, SetupLibceedLevel_##fname));
30 #define SOLIDS_PROBLEM(name) … argument
31 …PetscErrorCode SetupLibceedFineLevel_##name(DM dm, DM dm_energy, DM dm_diagnostic, Ceed ceed, AppC…
34 …PetscErrorCode SetupLibceedLevel_##name(DM dm, Ceed ceed, AppCtx app_ctx, PetscInt level, PetscInt…
/libCEED/tests/
H A Dt407-qfunction.c41 const char *name; in main() local
45 CeedContextFieldLabelGetDescription(field_labels[0], &name, NULL, &num_values, NULL, &type); in main()
46 …if (strcmp(name, "time")) printf("Incorrect context field description for time: \"%s\" != \"time\"… in main()
55 CeedContextFieldLabelGetDescription(field_labels[1], &name, NULL, &num_values, NULL, &type); in main()
56 …if (strcmp(name, "count")) printf("Incorrect context field description for count: \"%s\" != \"coun… in main()
65 CeedContextFieldLabelGetDescription(field_labels[2], &name, NULL, &num_values, NULL, &type); in main()
66 …if (strcmp(name, "is set")) printf("Incorrect context field description for count: \"%s\" != \"cou… in main()
/libCEED/examples/fluids/include/
H A Dbc_definition.h14 char *name; member
35 #define PetscOptionsBCDefinition(opt, text, man, name, bc_def, set) \ argument
36 PetscOptionsBCDefinition_Private(PetscOptionsObject, opt, text, man, name, bc_def, set)
38 … const char name[], BCDefinition *bc_def, PetscBool *set);
40 PetscErrorCode BCDefinitionCreate(const char *name, PetscInt num_label_values, PetscInt label_value…
41 PetscErrorCode BCDefinitionGetInfo(BCDefinition bc_def, const char *name[], PetscInt *num_label_val…
/libCEED/interface/
H A Dceed-register.c14 #define CEED_BACKEND(name, ...) CEED_INTERN int name(void); argument
36 #define CEED_BACKEND(name, ...) \ in CeedRegisterAll() argument
37 if (!ierr) ierr = name(); in CeedRegisterAll()
H A Dceed-qfunction-register.c14 #define CEED_GALLERY_QFUNCTION(name) CEED_INTERN int name(void); argument
36 #define CEED_GALLERY_QFUNCTION(name) \ in CeedQFunctionRegisterAll() argument
37 if (!ierr) ierr = name(); in CeedQFunctionRegisterAll()
/libCEED/backends/weak/
H A Dceed-backend-weak.h12 CEED_INTERN int CeedRegister_Weak(const char *name, int num_prefixes, ...);
14 #define CEED_BACKEND(name, num_prefixes, ...) \ argument
15 …CEED_INTERN int __attribute__((weak)) name(void) { return CeedRegister_Weak(__func__, num_prefixes…
/libCEED/gallery/scale/
H A Dceed-scale.c18 const char *name = "Scale"; in CeedQFunctionInit_Scale() local
20 …CeedCheck(!strcmp(name, requested), ceed, CEED_ERROR_UNSUPPORTED, "QFunction '%s' does not match r… in CeedQFunctionInit_Scale()
H A Dceed-scale-scalar.c18 const char *name = "Scale (scalar)"; in CeedQFunctionInit_ScaleScalar() local
20 …CeedCheck(!strcmp(name, requested), ceed, CEED_ERROR_UNSUPPORTED, "QFunction '%s' does not match r… in CeedQFunctionInit_ScaleScalar()
/libCEED/gallery/identity/
H A Dceed-identity-to-scalar.c19 const char *name = "Identity to scalar"; in CeedQFunctionInit_IdentityScalar() local
21 …CeedCheck(!strcmp(name, requested), ceed, CEED_ERROR_UNSUPPORTED, "QFunction '%s' does not match r… in CeedQFunctionInit_IdentityScalar()
/libCEED/gallery/mass/
H A Dceed-massapply.c18 const char *name = "MassApply"; in CeedQFunctionInit_MassApply() local
20 …CeedCheck(!strcmp(name, requested), ceed, CEED_ERROR_UNSUPPORTED, "QFunction '%s' does not match r… in CeedQFunctionInit_MassApply()
H A Dceed-mass2dbuild.c18 const char *name = "Mass2DBuild"; in CeedQFunctionInit_Mass2DBuild() local
20 …CeedCheck(!strcmp(name, requested), ceed, CEED_ERROR_UNSUPPORTED, "QFunction '%s' does not match r… in CeedQFunctionInit_Mass2DBuild()
H A Dceed-mass3dbuild.c18 const char *name = "Mass3DBuild"; in CeedQFunctionInit_Mass3DBuild() local
20 …CeedCheck(!strcmp(name, requested), ceed, CEED_ERROR_UNSUPPORTED, "QFunction '%s' does not match r… in CeedQFunctionInit_Mass3DBuild()
H A Dceed-mass1dbuild.c18 const char *name = "Mass1DBuild"; in CeedQFunctionInit_Mass1DBuild() local
20 …CeedCheck(!strcmp(name, requested), ceed, CEED_ERROR_UNSUPPORTED, "QFunction '%s' does not match r… in CeedQFunctionInit_Mass1DBuild()
/libCEED/gallery/poisson/
H A Dceed-poisson1dapply.c18 const char *name = "Poisson1DApply"; in CeedQFunctionInit_Poisson1DApply() local
20 …CeedCheck(!strcmp(name, requested), ceed, CEED_ERROR_UNSUPPORTED, "QFunction '%s' does not match r… in CeedQFunctionInit_Poisson1DApply()
H A Dceed-poisson1dbuild.c18 const char *name = "Poisson1DBuild"; in CeedQFunctionInit_Poisson1DBuild() local
20 …CeedCheck(!strcmp(name, requested), ceed, CEED_ERROR_UNSUPPORTED, "QFunction '%s' does not match r… in CeedQFunctionInit_Poisson1DBuild()
H A Dceed-poisson2dbuild.c18 const char *name = "Poisson2DBuild"; in CeedQFunctionInit_Poisson2DBuild() local
20 …CeedCheck(!strcmp(name, requested), ceed, CEED_ERROR_UNSUPPORTED, "QFunction '%s' does not match r… in CeedQFunctionInit_Poisson2DBuild()
H A Dceed-poisson2dapply.c18 const char *name = "Poisson2DApply"; in CeedQFunctionInit_Poisson2DApply() local
20 …CeedCheck(!strcmp(name, requested), ceed, CEED_ERROR_UNSUPPORTED, "QFunction '%s' does not match r… in CeedQFunctionInit_Poisson2DApply()
H A Dceed-poisson3dbuild.c18 const char *name = "Poisson3DBuild"; in CeedQFunctionInit_Poisson3DBuild() local
20 …CeedCheck(!strcmp(name, requested), ceed, CEED_ERROR_UNSUPPORTED, "QFunction '%s' does not match r… in CeedQFunctionInit_Poisson3DBuild()
H A Dceed-poisson3dapply.c18 const char *name = "Poisson3DApply"; in CeedQFunctionInit_Poisson3DApply() local
20 …CeedCheck(!strcmp(name, requested), ceed, CEED_ERROR_UNSUPPORTED, "QFunction '%s' does not match r… in CeedQFunctionInit_Poisson3DApply()
/libCEED/gallery/mass-vector/
H A Dceed-vectormassapply.c18 const char *name = "Vector3MassApply"; in CeedQFunctionInit_Vector3MassApply() local
20 …CeedCheck(!strcmp(name, requested), ceed, CEED_ERROR_UNSUPPORTED, "QFunction '%s' does not match r… in CeedQFunctionInit_Vector3MassApply()
/libCEED/gallery/poisson-vector/
H A Dceed-vectorpoisson3dapply.c18 const char *name = "Vector3Poisson3DApply"; in CeedQFunctionInit_Vector3Poisson3DApply() local
20 …CeedCheck(!strcmp(name, requested), ceed, CEED_ERROR_UNSUPPORTED, "QFunction '%s' does not match r… in CeedQFunctionInit_Vector3Poisson3DApply()
H A Dceed-vectorpoisson2dapply.c18 const char *name = "Vector3Poisson2DApply"; in CeedQFunctionInit_Vector3Poisson2DApply() local
20 …CeedCheck(!strcmp(name, requested), ceed, CEED_ERROR_UNSUPPORTED, "QFunction '%s' does not match r… in CeedQFunctionInit_Vector3Poisson2DApply()

123456