These variables are defined in cs_mesh.h.
cs_glob_mesh are accessed as: cs_glob_mesh->name, cs_glob_mesh-> in front of the name of the variable.m or mesh variable is recommended: domain argument, using domain->mesh is recommended, and may be combined with the use of a local argument (as above) for conciseness.| C code | Description |
|---|---|
cs_glob_mesh->dim | Space dimension (always 3) |
cs_glob_mesh->n_cells_with_ghosts | Total number of cells on the local rank (n_cells + n_ghost_cells) |
cs_glob_mesh->n_cells | Number of cells |
cs_glob_mesh->n_i_faces | Number of interior faces |
cs_glob_mesh->n_b_faces | Number of boundary faces |
cs_glob_mesh->n_vertices | Number of vertices |
cs_glob_mesh->n_b_cells | Number of boundary cells |
cs_glob_mesh->i_face_vtx_connect_size | Size of the connectivity interior faces -> vertices |
cs_glob_mesh->b_face_vtx_connect_size | Size of the connectivity boundary faces -> vertices |
cs_glob_mesh->i_face_cells | Interior faces -> cells connectivity |
cs_glob_mesh->b_face_cells | Boundary faces -> cells connectivity |
cs_glob_mesh->i_face_vtx_idx | Interior faces -> vertices index |
cs_glob_mesh->i_face_vtx_lst | Interior faces -> vertices connectivity |
cs_glob_mesh->b_face_vtx_idx | Boundary faces -> vertices index |
cs_glob_mesh->b_face_vtx_lst | Boundary faces -> vertices connectivity |
cs_glob_mesh->b_cells | Boundary cell list |
cs_glob_mesh->vtx_coord | Vertex coordinates |
Note that the faces - vertices connectivity is stored using indexed arrays.
These variables are defined in cs_mesh_quantities.h.
cs_glob_mesh_quantities are accessed as:cs_glob_mesh_quantities->name, cs_glob_mesh_quantities-> in front of the name of the variable.mq variable is recommended: domain argument, using domain->mesh_quantities is recommended, and may be combined with the use of a local argument (as above) for conciseness.| C code | Description |
|---|---|
cs_glob_mesh_quantities->b_sym_flag | Symmetry flag for boundary faces |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |