| /libCEED/examples/ceed/ |
| H A D | ex1-volume-f.f90 | 85 integer mesh_size local 115 mesh_size = scalar_size*num_comp 147 …call ceedelemrestrictioncreate(ceed, num_elem, num_nodes, num_comp, scalar_size, mesh_size, ceed_m… 161 integer mesh_size, scalar_size local 162 real*8 coords(mesh_size) 172 scalar_size = mesh_size/fe_dim 260 integer prob_size, mesh_size, sol_size variable 399 …call buildcartesianrestriction(ceed, fe_dim, num_xyz, mesh_degree, num_comp_x, mesh_size, num_qpts… 406 write (*, *) 'Number of mesh nodes : ', mesh_size/fe_dim 413 call ceedvectorcreate(ceed, mesh_size, mesh_coords, err)
|
| H A D | ex3-volume.c | 51 CeedScalar TransformMeshCoords(CeedInt dim, CeedInt mesh_size, CeedVector mesh_coords); 140 CeedInt mesh_size, sol_size; in main() local 143 …BuildCartesianRestriction(ceed, dim, num_xyz, mesh_degree, num_comp_x, &mesh_size, num_qpts, &mesh… in main() 148 printf("Number of mesh nodes : %" CeedInt_FMT "\n", mesh_size / dim); in main() 156 CeedVectorCreate(ceed, mesh_size, &mesh_coords); in main() 160 CeedScalar exact_volume = TransformMeshCoords(dim, mesh_size, mesh_coords); in main() 391 CeedScalar TransformMeshCoords(CeedInt dim, CeedInt mesh_size, CeedVector mesh_coords) { in TransformMeshCoords() argument 397 for (CeedInt i = 0; i < mesh_size; i++) { in TransformMeshCoords() 403 CeedInt num_nodes = mesh_size / dim; in TransformMeshCoords()
|
| H A D | ex1-volume.c | 52 CeedScalar TransformMeshCoords(CeedInt dim, CeedInt mesh_size, CeedVector mesh_coords); 143 CeedInt mesh_size, sol_size; in main() local 146 …BuildCartesianRestriction(ceed, dim, num_xyz, mesh_degree, num_comp_x, &mesh_size, num_qpts, &mesh… in main() 150 printf("Number of mesh nodes : %" CeedInt_FMT "\n", mesh_size / dim); in main() 158 CeedVectorCreate(ceed, mesh_size, &mesh_coords); in main() 162 CeedScalar exact_volume = TransformMeshCoords(dim, mesh_size, mesh_coords); in main() 401 CeedScalar TransformMeshCoords(CeedInt dim, CeedInt mesh_size, CeedVector mesh_coords) { in TransformMeshCoords() argument 407 for (CeedInt i = 0; i < mesh_size; i++) { in TransformMeshCoords() 413 CeedInt num_nodes = mesh_size / dim; in TransformMeshCoords()
|
| H A D | ex2-surface.c | 52 CeedScalar TransformMeshCoords(CeedInt dim, CeedInt mesh_size, CeedVector mesh_coords); 148 CeedInt mesh_size, sol_size; in main() local 151 …BuildCartesianRestriction(ceed, dim, num_xyz, mesh_degree, num_comp_x, &mesh_size, num_qpts, &mesh… in main() 156 printf("Number of mesh nodes : %" CeedInt_FMT "\n", mesh_size / dim); in main() 164 CeedVectorCreate(ceed, mesh_size, &mesh_coords); in main() 168 CeedScalar exact_surface_area = TransformMeshCoords(dim, mesh_size, mesh_coords); in main() 424 CeedScalar TransformMeshCoords(CeedInt dim, CeedInt mesh_size, CeedVector mesh_coords) { in TransformMeshCoords() argument 429 for (CeedInt i = 0; i < mesh_size; i++) { in TransformMeshCoords()
|
| /libCEED/julia/LibCEED.jl/examples/ |
| H A D | ex2-surface.jl | 5 function transform_mesh_coords!(dim, mesh_size, mesh_coords) argument 7 @inbounds @simd for i = 1:mesh_size 33 mesh_size, mesh_rstr, _ = build_cartesian_restriction( 60 println("Number of mesh nodes : ", div(mesh_size, dim)) 64 mesh_coords = CeedVector(ceed, mesh_size) 68 exact_sa = transform_mesh_coords!(dim, mesh_size, mesh_coords) 149 size = (mesh_size÷dim, dim),
|
| H A D | ex1-volume.jl | 5 function transform_mesh_coords!(dim, mesh_size, mesh_coords) argument 8 for i = 1:mesh_size 14 num_nodes = mesh_size÷dim 47 mesh_size, mesh_rstr, _ = 58 println("Number of mesh nodes : ", div(mesh_size, dim)) 62 mesh_coords = CeedVector(ceed, mesh_size) 65 exact_vol = transform_mesh_coords!(dim, mesh_size, mesh_coords)
|
| H A D | ex3-volume.jl | 5 function transform_mesh_coords!(dim, mesh_size, mesh_coords) argument 8 for i = 1:mesh_size 14 num_nodes = mesh_size÷dim 47 mesh_size, mesh_rstr, _ = 68 println("Number of mesh nodes : ", div(mesh_size, dim)) 72 mesh_coords = CeedVector(ceed, mesh_size) 75 exact_vol = transform_mesh_coords!(dim, mesh_size, mesh_coords)
|
| H A D | ex1-volume-c.jl | 185 function transform_mesh_coords_c(dim, mesh_size, mesh_coords) argument 188 coords = unsafe_wrap(Array, coords_ref[], mesh_size) 191 for i = 1:mesh_size 197 num_nodes = div(mesh_size, dim) 251 mesh_size, mesh_rstr = 262 println("Number of mesh nodes : ", div(mesh_size, dim)) 267 C.CeedVectorCreate(ceed[], mesh_size, mesh_coords) 270 exact_vol = transform_mesh_coords_c(dim, mesh_size, mesh_coords)
|
| /libCEED/examples/rust/ex3-volume/src/ |
| H A D | transform.rs | 13 mesh_size: usize, in transform_mesh_coordinates() 28 let num_nodes = mesh_size / dim; in transform_mesh_coordinates()
|
| H A D | main.rs | 123 let mesh_size = rstr_mesh.lvector_size(); in example_3() localVariable 126 println!("Number of mesh nodes : {}", mesh_size / dim); in example_3() 131 let mut mesh_coords = mesh::cartesian_mesh_coords(&ceed, dim, num_xyz, mesh_degree, mesh_size)?; in example_3() 134 let exact_volume = transform::transform_mesh_coordinates(dim, mesh_size, &mut mesh_coords)?; in example_3()
|
| /libCEED/examples/rust/ex3-volume-vector/src/ |
| H A D | transform.rs | 13 mesh_size: usize, in transform_mesh_coordinates() 28 let num_nodes = mesh_size / dim; in transform_mesh_coordinates()
|
| H A D | main.rs | 125 let mesh_size = rstr_mesh.lvector_size(); in example_3_vector() localVariable 128 println!("Number of mesh nodes : {}", mesh_size / dim); in example_3_vector() 133 let mut mesh_coords = mesh::cartesian_mesh_coords(&ceed, dim, num_xyz, mesh_degree, mesh_size)?; in example_3_vector() 136 let exact_volume = transform::transform_mesh_coordinates(dim, mesh_size, &mut mesh_coords)?; in example_3_vector()
|
| /libCEED/examples/rust/ex1-volume/src/ |
| H A D | transform.rs | 13 mesh_size: usize, in transform_mesh_coordinates() 26 let num_nodes = mesh_size / dim; in transform_mesh_coordinates()
|
| H A D | main.rs | 119 let mesh_size = rstr_mesh.lvector_size(); in example_1() localVariable 122 println!("Number of mesh nodes : {}", mesh_size / dim); in example_1() 127 let mut mesh_coords = mesh::cartesian_mesh_coords(&ceed, dim, num_xyz, mesh_degree, mesh_size)?; in example_1() 130 let exact_volume = transform::transform_mesh_coordinates(dim, mesh_size, &mut mesh_coords)?; in example_1()
|
| /libCEED/examples/rust/ex1-volume-vector/src/ |
| H A D | transform.rs | 13 mesh_size: usize, in transform_mesh_coordinates() 26 let num_nodes = mesh_size / dim; in transform_mesh_coordinates()
|
| H A D | main.rs | 123 let mesh_size = rstr_mesh.lvector_size(); in example_1_vector() localVariable 126 println!("Number of mesh nodes : {}", mesh_size / dim); in example_1_vector() 131 let mut mesh_coords = mesh::cartesian_mesh_coords(&ceed, dim, num_xyz, mesh_degree, mesh_size)?; in example_1_vector() 134 let exact_volume = transform::transform_mesh_coordinates(dim, mesh_size, &mut mesh_coords)?; in example_1_vector()
|
| /libCEED/examples/rust-qfunctions/ |
| H A D | ex1-volume.c | 53 CeedScalar TransformMeshCoords(CeedInt dim, CeedInt mesh_size, CeedVector mesh_coords); 153 CeedInt mesh_size, sol_size; in main() local 156 …BuildCartesianRestriction(ceed, dim, num_xyz, mesh_degree, num_comp_x, &mesh_size, num_qpts, &mesh… in main() 160 printf("Number of mesh nodes : %" CeedInt_FMT "\n", mesh_size / dim); in main() 168 CeedVectorCreate(ceed, mesh_size, &mesh_coords); in main() 172 CeedScalar exact_volume = TransformMeshCoords(dim, mesh_size, mesh_coords); in main() 411 CeedScalar TransformMeshCoords(CeedInt dim, CeedInt mesh_size, CeedVector mesh_coords) { in TransformMeshCoords() argument 417 for (CeedInt i = 0; i < mesh_size; i++) { in TransformMeshCoords() 423 CeedInt num_nodes = mesh_size / dim; in TransformMeshCoords()
|
| /libCEED/examples/python/ |
| H A D | ex3_volume.py | 88 mesh_restriction, mesh_size, _, _, _ = common.build_cartesian_restriction( 94 print("Number of mesh nodes : %d" % (mesh_size // dim)) 98 mesh_coords = ceed.Vector(mesh_size) 100 exact_volume, _ = common.transform_mesh_coords(dim, mesh_size, mesh_coords)
|
| H A D | ex1_volume.py | 83 mesh_restriction, mesh_size, _, _, _ = common.build_cartesian_restriction( 89 print("Number of mesh nodes : %d" % (mesh_size // dim)) 93 mesh_coords = ceed.Vector(mesh_size) 95 exact_volume, _ = common.transform_mesh_coords(dim, mesh_size, mesh_coords)
|
| H A D | ex2_surface.py | 84 mesh_restriction, mesh_size, _, _, _ = common.build_cartesian_restriction( 90 print("Number of mesh nodes : %d" % (mesh_size // dim)) 94 mesh_coords = ceed.Vector(mesh_size) 96 _, exact_surface_area = common.transform_mesh_coords(dim, mesh_size, mesh_coords, use_sin=False)
|
| H A D | ex_common.py | 195 def transform_mesh_coords(dim, mesh_size, mesh_coords, use_sin=True): argument 211 num_nodes = mesh_size // dim
|
| /libCEED/examples/rust/mesh/src/ |
| H A D | lib.rs | 121 mesh_size: usize, 145 let mut mesh_coords = ceed.vector(mesh_size)?;
|
| /libCEED/examples/rust/ex2-surface/src/ |
| H A D | main.rs | 128 let mesh_size = rstr_mesh.lvector_size(); in example_2() localVariable 131 println!("Number of mesh nodes : {}", mesh_size / dim); in example_2() 136 let mut mesh_coords = mesh::cartesian_mesh_coords(&ceed, dim, num_xyz, mesh_degree, mesh_size)?; in example_2()
|
| /libCEED/examples/rust/ex2-surface-vector/src/ |
| H A D | main.rs | 131 let mesh_size = rstr_mesh.lvector_size(); in example_2_vector() localVariable 134 println!("Number of mesh nodes : {}", mesh_size / dim); in example_2_vector() 139 let mut mesh_coords = mesh::cartesian_mesh_coords(&ceed, dim, num_xyz, mesh_degree, mesh_size)?; in example_2_vector()
|
| /libCEED/julia/LibCEED.jl/docs/src/ |
| H A D | index.md | 107 @witharray_read(x_host=mesh_coords, size=(mesh_size÷dim, dim),
|