Home
last modified time | relevance | path

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

/libCEED/examples/python/
H A Dex_test.py18 def test_101(ceed_resource): argument
20 ceed=ceed_resource,
35 def test_101g(ceed_resource): argument
37 ceed=ceed_resource,
52 def test_102(ceed_resource): argument
54 ceed=ceed_resource,
69 def test_102g(ceed_resource): argument
71 ceed=ceed_resource,
86 def test_103(ceed_resource): argument
88 ceed=ceed_resource,
[all …]
H A Dconftest.py20 def ceed_resource(request): function
21 ceed_resource = request.config.option.ceed
23 return ceed_resource
/libCEED/python/tests/
H A Dtest-0-ceed.py19 def test_000(ceed_resource): argument
20 ceed = libceed.Ceed(ceed_resource)
27 def test_001(ceed_resource): argument
28 ceed = libceed.Ceed(ceed_resource)
39 def test_002(ceed_resource): argument
40 ceed = libceed.Ceed(ceed_resource)
44 assert resource == ceed_resource
51 def test_003(ceed_resource): argument
52 ceed = libceed.Ceed(ceed_resource)
61 def test_005(ceed_resource): argument
[all …]
H A Dtest-1-vector.py33 def test_100(ceed_resource): argument
34 ceed = libceed.Ceed(ceed_resource)
51 def test_101(ceed_resource): argument
52 ceed = libceed.Ceed(ceed_resource)
77 def test_102(ceed_resource): argument
78 ceed = libceed.Ceed(ceed_resource)
96 def test_103(ceed_resource): argument
97 ceed = libceed.Ceed(ceed_resource)
119 def test_104(ceed_resource): argument
120 ceed = libceed.Ceed(ceed_resource)
[all …]
H A Dtest-2-elemrestriction.py21 def test_200(ceed_resource): argument
22 ceed = libceed.Ceed(ceed_resource)
51 def test_201(ceed_resource): argument
52 ceed = libceed.Ceed(ceed_resource)
77 def test_202(ceed_resource, capsys): argument
78 ceed = libceed.Ceed(ceed_resource)
125 def test_208(ceed_resource): argument
126 ceed = libceed.Ceed(ceed_resource)
173 def test_209(ceed_resource): argument
174 ceed = libceed.Ceed(ceed_resource)
[all …]
H A Dconftest.py20 def ceed_resource(request): function
21 ceed_resource = request.config.option.ceed
23 return ceed_resource
H A Dtest-4-qfunction.py40 def test_400(ceed_resource): argument
41 ceed = libceed.Ceed(ceed_resource)
97 def test_401(ceed_resource): argument
98 ceed = libceed.Ceed(ceed_resource)
159 def test_402(ceed_resource, capsys): argument
160 ceed = libceed.Ceed(ceed_resource)
199 def test_410(ceed_resource): argument
200 ceed = libceed.Ceed(ceed_resource)
246 def test_411(ceed_resource): argument
247 ceed = libceed.Ceed(ceed_resource)
[all …]
H A Dtest-3-basis.py45 def test_300(ceed_resource, capsys): argument
46 ceed = libceed.Ceed(ceed_resource)
67 def test_306(ceed_resource): argument
68 ceed = libceed.Ceed(ceed_resource)
83 def test_313(ceed_resource): argument
84 ceed = libceed.Ceed(ceed_resource)
142 def test_314(ceed_resource): argument
143 ceed = libceed.Ceed(ceed_resource)
203 def test_320(ceed_resource): argument
204 ceed = libceed.Ceed(ceed_resource)
[all …]
H A Dtest-5-operator.py41 def test_500(ceed_resource): argument
42 ceed = libceed.Ceed(ceed_resource)
130 def test_501(ceed_resource): argument
131 ceed = libceed.Ceed(ceed_resource)
220 def test_502(ceed_resource): argument
221 ceed = libceed.Ceed(ceed_resource)
317 def test_503(ceed_resource): argument
318 ceed = libceed.Ceed(ceed_resource)
406 def test_504(ceed_resource, capsys): argument
407 ceed = libceed.Ceed(ceed_resource)
[all …]
/libCEED/examples/fluids/src/
H A Dcloptions.c52 …onsString("-ceed", "CEED resource specifier", NULL, app_ctx->ceed_resource, app_ctx->ceed_resource, in ProcessCommandLineOptions()
53 sizeof(app_ctx->ceed_resource), &ceed_flag)); in ProcessCommandLineOptions()
123 const char *ceed_resource = "/cpu/self"; in ProcessCommandLineOptions() local
124 strncpy(app_ctx->ceed_resource, ceed_resource, 10); in ProcessCommandLineOptions()
129 …if (strncmp(app_ctx->ceed_resource, "/gpu", 4) == 0) PetscCall(PetscDeviceInitialize(PETSC_DEVICE_… in ProcessCommandLineOptions()
/libCEED/examples/solids/src/
H A Dcl-options.c27 …onsString("-ceed", "CEED resource specifier", NULL, app_ctx->ceed_resource, app_ctx->ceed_resource, in ProcessCommandLineOptions()
28 sizeof(app_ctx->ceed_resource), &ceed_flag)); in ProcessCommandLineOptions()
157 const char *ceed_resource = "/cpu/self"; in ProcessCommandLineOptions() local
158 strncpy(app_ctx->ceed_resource, ceed_resource, 10); in ProcessCommandLineOptions()
/libCEED/examples/petsc/
H A Darea.c60 char filename[PETSC_MAX_PATH_LEN], ceed_resource[PETSC_MAX_PATH_LEN] = "/cpu/self"; in main() local
85 …nsString("-ceed", "CEED resource specifier", NULL, ceed_resource, ceed_resource, sizeof(ceed_resou… in main()
117 CeedInit(ceed_resource, &ceed); in main()
H A Dbpssphere.c51 …char ceed_resource[PETSC_MAX_PATH_LEN] = "/cpu/self", filename[PETSC_MAX_PATH_LEN]; in main() local
88 …nsString("-ceed", "CEED resource specifier", NULL, ceed_resource, ceed_resource, sizeof(ceed_resou… in main()
96 CeedInit(ceed_resource, &ceed); in main()
164 …bp_choice + 1, ceed_resource, CeedMemTypes[mem_type_backend], P, Q, q_extra, g_size / num_comp_u)); in main()
H A Dbpsswarm.c52 …char ceed_resource[PETSC_MAX_PATH_LEN] = "/cpu/self", filename[PETSC_MAX_PATH_LEN]; in main() local
105 …nsString("-ceed", "CEED resource specifier", NULL, ceed_resource, ceed_resource, sizeof(ceed_resou… in main()
150 CeedInit(ceed_resource, &ceed); in main()
H A Ddmswarm.c67 char ceed_resource[PETSC_MAX_PATH_LEN] = "/cpu/self"; in main() local
122 …nsString("-ceed", "CEED resource specifier", NULL, ceed_resource, ceed_resource, sizeof(ceed_resou… in main()
221 PetscCall(DMSwarmCeedContextCreate(dm_swarm, ceed_resource, &swarm_ceed_context)); in main()
H A Dmultigrid.c50 char filename[PETSC_MAX_PATH_LEN], ceed_resource[PETSC_MAX_PATH_LEN] = "/cpu/self"; in main() local
100 …nsString("-ceed", "CEED resource specifier", NULL, ceed_resource, ceed_resource, sizeof(ceed_resou… in main()
112 CeedInit(ceed_resource, &ceed); in main()
H A Dbpsraw.c340 char ceed_resource[PETSC_MAX_PATH_LEN] = "/cpu/self"; in main() local
382 …nsString("-ceed", "CEED resource specifier", NULL, ceed_resource, ceed_resource, sizeof(ceed_resou… in main()
395 CeedInit(ceed_resource, &ceed); in main()
H A Dbps.c55 static PetscErrorCode RunWithDM(RunParams rp, DM dm, const char *ceed_resource) { in RunWithDM() argument
72 CeedInit(ceed_resource, &ceed); in RunWithDM()
/libCEED/examples/petsc/include/
H A Dswarmutils.h28 PetscErrorCode DMSwarmCeedContextCreate(DM dm_swarm, const char *ceed_resource, DMSwarmCeedContext …
/libCEED/examples/solids/include/
H A Dstructs.h45 char ceed_resource[PETSC_MAX_PATH_LEN]; // libCEED backend member
/libCEED/examples/fluids/
H A Dnavierstokes.c116 …PetscCheck(CeedInit(app_ctx->ceed_resource, &ceed) == CEED_ERROR_SUCCESS, comm, PETSC_ERR_LIB, "Ce… in main()
H A Dnavierstokes.h88 char ceed_resource[PETSC_MAX_PATH_LEN]; // libCEED backend member
/libCEED/examples/petsc/src/
H A Dswarmutils.c15 PetscErrorCode DMSwarmCeedContextCreate(DM dm_swarm, const char *ceed_resource, DMSwarmCeedContext … in DMSwarmCeedContextCreate() argument
27 CeedInit(ceed_resource, &(*ctx)->ceed); in DMSwarmCeedContextCreate()
/libCEED/examples/solids/
H A Delasticity.c95 CeedInit(app_ctx->ceed_resource, &ceed); in main()
/libCEED/examples/nek/bps/
H A Dbps.usr10 C_TESTARGS(name="BP1") -c {ceed_resource} -e bp1 -n 1 -b 4 -test
11 C_TESTARGS(name="BP3") -c {ceed_resource} -e bp3 -n 1 -b 4 -test