| /libCEED/examples/fluids/src/ |
| H A D | bc_definition.c | 18 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 D | types.h | 49 #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 D | cuda-jit.h | 11 #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 D | problems.h | 17 #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 D | t407-qfunction.c | 41 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 D | bc_definition.h | 14 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 D | ceed-register.c | 14 #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 D | ceed-qfunction-register.c | 14 #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 D | ceed-backend-weak.h | 12 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 D | ceed-scale.c | 18 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 D | ceed-scale-scalar.c | 18 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 D | ceed-identity-to-scalar.c | 19 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 D | ceed-massapply.c | 18 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 D | ceed-mass2dbuild.c | 18 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 D | ceed-mass3dbuild.c | 18 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 D | ceed-mass1dbuild.c | 18 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 D | ceed-poisson1dapply.c | 18 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 D | ceed-poisson1dbuild.c | 18 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 D | ceed-poisson2dbuild.c | 18 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 D | ceed-poisson2dapply.c | 18 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 D | ceed-poisson3dbuild.c | 18 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 D | ceed-poisson3dapply.c | 18 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 D | ceed-vectormassapply.c | 18 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 D | ceed-vectorpoisson3dapply.c | 18 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 D | ceed-vectorpoisson2dapply.c | 18 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()
|