Home
last modified time | relevance | path

Searched refs:faces (Results 1 – 5 of 5) sorted by relevance

/libCEED/examples/fluids/problems/
H A Dblasius.c188 PetscInt nmax = 3, faces[3]; in ModifyMesh() local
189 PetscCall(PetscOptionsGetIntArray(NULL, NULL, "-dm_plex_box_faces", faces, &nmax, NULL)); in ModifyMesh()
191 const PetscReal dybox = domain_size[1] / faces[1]; in ModifyMesh()
198 PetscReal logdy = (log(domain_max[1]) - log(refine_height)) / (faces[1] - N); in ModifyMesh()
200 *num_node_locs = faces[1] + 1; in ModifyMesh()
218 PetscCheck(*num_node_locs >= faces[1] + 1, comm, PETSC_ERR_FILE_UNEXPECTED, in ModifyMesh()
220 faces[1] + 1, *num_node_locs); in ModifyMesh()
221 if (*num_node_locs > faces[1] + 1) { in ModifyMesh()
225 *num_node_locs, faces[1] + 1)); in ModifyMesh()
227 PetscScalar max_y = (*node_locs)[faces[1]]; in ModifyMesh()
H A Dstg_shur14.c263 PetscInt nmax = 3, faces[3]; in SetupStg() local
264 PetscCall(PetscOptionsGetIntArray(NULL, NULL, "-dm_plex_box_faces", faces, &nmax, NULL)); in SetupStg()
265 global_stg_ctx->dx = given_stg_dx ? stg_dx : domain_size[0] / faces[0]; in SetupStg()
/libCEED/examples/solids/src/
H A Dsetup-dm.c43 PetscInt dim = 3, faces[3] = {3, 3, 3}; in CreateDistributedDM() local
44 PetscCall(PetscOptionsGetIntArray(NULL, NULL, "-dm_plex_box_faces", faces, &dim, NULL)); in CreateDistributedDM()
46 …PetscCall(DMPlexCreateBoxMesh(comm, dim, PETSC_FALSE, faces, NULL, NULL, NULL, interpolate, 0, PET… in CreateDistributedDM()
/libCEED/examples/fluids/
H A DREADME.md115 - Use wall boundary conditions on this list of faces
123 - Use weak slip boundary condition on this list of faces
127 - Use symmetry boundary conditions, for the x component, on this list of faces
131 - Use symmetry boundary conditions, for the y component, on this list of faces
135 - Use symmetry boundary conditions, for the z component, on this list of faces
139 - Use inflow boundary conditions on this list of faces
143 - Use outflow boundary conditions on this list of faces
147 - Use freestream boundary conditions on this list of faces
/libCEED/doc/papers/joss/
H A Dpaper.md96 …an be added in a similar fashion by adding terms integrated over boundary faces while Dirichlet bo…