/dports/science/elmerfem/elmerfem-release-9.0/fem/tests/stress/verkko.gid/ |
H A D | verkko.dat | 1041 mesh.boundary: 485 1 0 0 203 920 848 883 1042 mesh.boundary: 486 1 0 0 203 848 760 807 1043 mesh.boundary: 487 1 0 0 203 760 353 680 1044 mesh.boundary: 488 1 0 0 203 353 151 204 1045 mesh.boundary: 489 1 0 0 203 151 97 121 1046 mesh.boundary: 490 1 0 0 203 97 61 78 1047 mesh.boundary: 491 1 0 0 203 61 33 44 1593 mesh.header: 1035 484 66 1594 mesh.header: 2 1595 mesh.header: 203 66 [all …]
|
/dports/science/elmerfem/elmerfem-release-9.0/fem/tests/tresca/verkko.gid/ |
H A D | verkko.dat | 1041 mesh.boundary: 485 1 0 0 203 920 848 883 1042 mesh.boundary: 486 1 0 0 203 848 760 807 1043 mesh.boundary: 487 1 0 0 203 760 353 680 1044 mesh.boundary: 488 1 0 0 203 353 151 204 1045 mesh.boundary: 489 1 0 0 203 151 97 121 1046 mesh.boundary: 490 1 0 0 203 97 61 78 1047 mesh.boundary: 491 1 0 0 203 61 33 44 1593 mesh.header: 1035 484 66 1594 mesh.header: 2 1595 mesh.header: 203 66 [all …]
|
/dports/science/frontistr/FrontISTR-c66bdc397de319ca59a0565b3f3b1a3b33f0c50c/hecmw1/src/common/ |
H A D | hecmw_dist_alloc.c | 23 memset(mesh->gridfile, 0, sizeof(mesh->gridfile)); in init_struct_global() 26 memset(mesh->header, 0, sizeof(mesh->header)); in init_struct_global() 174 HECMW_assert(mesh && mesh->section); in init_struct_sect() 193 HECMW_assert(mesh && mesh->material); in init_struct_mat() 213 HECMW_assert(mesh && mesh->mpc); in init_struct_mpc() 229 HECMW_assert(mesh && mesh->amp); in init_struct_amp() 247 HECMW_assert(mesh && mesh->node_group); in init_struct_node_grp() 268 HECMW_assert(mesh && mesh->elem_group); in init_struct_elem_grp() 288 HECMW_assert(mesh && mesh->surf_group); in init_struct_surf_grp() 308 HECMW_assert(mesh && mesh->contact_pair); in init_struct_contact_pair() [all …]
|
H A D | hecmw_dist_copy_f2c.c | 64 mesh->files = HECMW_calloc(mesh->hecmw_n_file, sizeof(*mesh->files)); in set_files() 238 sizeof(*mesh->node_val_item) * mesh->node_val_index[mesh->n_node_gross]; in set_node_val_item() 406 sizeof(*mesh->elem_node_item) * mesh->elem_node_index[mesh->n_elem_gross]; in set_elem_node_item() 521 sizeof(*mesh->elem_val_item) * mesh->elem_val_index[mesh->n_elem_gross]; in set_elem_val_item() 606 size = sizeof(*mesh->import_item) * mesh->import_index[mesh->n_neighbor_pe]; in set_import_item() 637 size = sizeof(*mesh->export_item) * mesh->export_index[mesh->n_neighbor_pe]; in set_export_item() 668 size = sizeof(*mesh->shared_item) * mesh->shared_index[mesh->n_neighbor_pe]; in set_shared_item() 1151 size = sizeof(*mesh->mpc->mpc_item) * mesh->mpc->mpc_index[mesh->mpc->n_mpc]; in set_mpc_item() 1168 size = sizeof(*mesh->mpc->mpc_dof) * mesh->mpc->mpc_index[mesh->mpc->n_mpc]; in set_mpc_dof() 1185 size = sizeof(*mesh->mpc->mpc_val) * mesh->mpc->mpc_index[mesh->mpc->n_mpc]; in set_mpc_val() [all …]
|
H A D | hecmw_debug_write_dist.h | 12 #define HECMW_dbg_n_node(mesh) HECMW_dbg_n_node_(mesh, __FILE__, __LINE__) argument 15 #define HECMW_dbg_nn_middle(mesh) HECMW_dbg_nn_middle_(mesh, __FILE__, __LINE__) argument 18 #define HECMW_dbg_n_dof(mesh) HECMW_dbg_n_dof_(mesh, __FILE__, __LINE__) argument 20 #define HECMW_dbg_node(mesh) HECMW_dbg_node_(mesh, __FILE__, __LINE__) argument 21 #define HECMW_dbg_node_id(mesh) HECMW_dbg_node_id_(mesh, __FILE__, __LINE__) argument 36 #define HECMW_dbg_n_elem(mesh) HECMW_dbg_n_elem_(mesh, __FILE__, __LINE__) argument 85 #define HECMW_dbg_n_mat(mesh) HECMW_dbg_n_mat_(mesh, __FILE__, __LINE__) argument 87 #define HECMW_dbg_n_mpc(mesh) HECMW_dbg_n_mpc_(mesh, __FILE__, __LINE__) argument 88 #define HECMW_dbg_mpc(mesh) HECMW_dbg_mpc_(mesh, __FILE__, __LINE__) argument 89 #define HECMW_dbg_n_amp(mesh) HECMW_dbg_n_amp_(mesh, __FILE__, __LINE__) argument [all …]
|
H A D | hecmw_dist_print_f.f90 | 70 write(*,*) mesh%files 75 write(*,*) mesh%zero_temp 85 write(*,*) mesh%n_node 93 write(*,*) mesh%node_ID 97 write(*,*) mesh%node 99 write(*,*) mesh%n_dof 137 write(*,*) mesh%n_elem 145 write(*,*) mesh%elem_ID 193 write(*,*) mesh%zero 197 write(*,*) mesh%PETOT [all …]
|
H A D | hecmw_dist_free_f.f90 | 38 if(associated(mesh%files)) deallocate(mesh%files) 45 if(associated(mesh%node)) deallocate(mesh%node) 46 if(associated(mesh%node_ID)) deallocate(mesh%node_ID) 63 if(associated(mesh%elem_type)) deallocate(mesh%elem_type) 64 if(associated(mesh%section_ID)) deallocate(mesh%section_ID) 69 if(associated(mesh%elem_ID)) deallocate(mesh%elem_ID) 82 if(associated(mesh%neighbor_pe)) deallocate(mesh%neighbor_pe) 84 if(associated(mesh%import_item)) deallocate(mesh%import_item) 86 if(associated(mesh%export_item)) deallocate(mesh%export_item) 88 if(associated(mesh%shared_item)) deallocate(mesh%shared_item) [all …]
|
H A D | hecmw_io_dist.c | 343 mesh->n_node_gross = mesh->n_node; in get_node_info() 352 mesh->nn_middle = mesh->n_node; in get_node_info() 491 mesh->n_elem_gross = mesh->n_elem; in get_elem_info() 745 if (get_int_ary(mesh->import_item, mesh->import_index[mesh->n_neighbor_pe], in get_comm_info() 766 if (get_int_ary(mesh->export_item, mesh->export_index[mesh->n_neighbor_pe], in get_comm_info() 787 if (get_int_ary(mesh->shared_item, mesh->shared_index[mesh->n_neighbor_pe], in get_comm_info() 1620 if (mesh->n_elem_gross > mesh->n_elem) { in get_refine_info() 2261 if (print_int_ary(mesh->import_item, mesh->import_index[mesh->n_neighbor_pe], in print_comm_info() 2273 if (print_int_ary(mesh->export_item, mesh->export_index[mesh->n_neighbor_pe], in print_comm_info() 2285 if (print_int_ary(mesh->shared_item, mesh->shared_index[mesh->n_neighbor_pe], in print_comm_info() [all …]
|
/dports/games/opendungeons/OpenDungeons-0.7.1/config/ |
H A D | tilesets.cfg | 23 # - the associated mesh. Example: Dirt_00001000.mesh 401 0000 Lava0.mesh '' 0.0 0.0 0.0 402 0001 Lava0.mesh '' 0.0 0.0 0.0 403 0010 Lava0.mesh '' 0.0 0.0 0.0 404 0011 Lava0.mesh '' 0.0 0.0 0.0 405 0100 Lava0.mesh '' 0.0 0.0 0.0 406 0101 Lava0.mesh '' 0.0 0.0 0.0 407 0110 Lava0.mesh '' 0.0 0.0 0.0 408 0111 Lava0.mesh '' 0.0 0.0 0.0 409 1000 Lava0.mesh '' 0.0 0.0 0.0 [all …]
|
/dports/science/axom/axom-0.6.1/src/axom/quest/tests/ |
H A D | quest_vertex_weld.cpp | 53 delete mesh; in TEST() 54 mesh = nullptr; in TEST() 76 delete mesh; in TEST() 100 delete mesh; in TEST() 130 delete mesh; in TEST() 161 delete mesh; in TEST() 192 delete mesh; in TEST() 223 delete mesh; in TEST() 253 delete mesh; in TEST() 278 delete mesh; in TEST() [all …]
|
/dports/cad/gmsh/gmsh-4.9.2-source/utils/converters/matlab/ |
H A D | load_gmsh.m | 63 mesh.POS = zeros(mesh.nbNod, 3); 128 mesh.POINTS(mesh.nbPoints, 2) = mesh.ELE_INFOS(I, tags); 131 mesh.nbLines = mesh.nbLines + 1; 134 mesh.LINES(mesh.nbLines, 3) = mesh.ELE_INFOS(I, tags); 141 mesh.TRIANGLES(mesh.nbTriangles, 4) = mesh.ELE_INFOS(I, tags); 149 mesh.QUADS(mesh.nbQuads, 5) = mesh.ELE_INFOS(I, tags); 152 mesh.nbTets = mesh.nbTets + 1; 157 mesh.TETS(mesh.nbTets, 5) = mesh.ELE_INFOS(I, tags); 169 mesh.HEXAS(mesh.nbHexas, 9) = mesh.ELE_INFOS(I, tags); 179 mesh.PRISMS(mesh.nbPrisms, 7) = mesh.ELE_INFOS(I, tags); [all …]
|
/dports/science/medit/medit-2012.02.05_5/sources/ |
H A D | libmesh3.c | 163 mesh->current_kw = mesh->type = 0; in LM_open_mesh() 188 if(!(mesh->handle = fopen(mesh->filename, "rb"))) in LM_open_mesh() 195 mesh->endian = read_int(mesh); in LM_open_mesh() 200 mesh->version = read_int(mesh); in LM_open_mesh() 249 if(!(mesh->handle = fopen(mesh->filename, "wb"))) in LM_open_mesh() 268 write_int(mesh, mesh->endian); in LM_open_mesh() 269 write_int(mesh, mesh->version); in LM_open_mesh() 441 case 4 : mesh->sol_headers[ kw_code ][1] += mesh->dimension * mesh->dimension; break; in LM_write_field() 747 fseek(mesh->handle, mesh->kw_pos[ mesh->current_kw ][0], SEEK_SET); in write_kw() 921 mesh->sol_headers[i][j+1] = read_int(mesh); in read_sol_headers() [all …]
|
H A D | animat.c | 15 if ( mesh->tria ) M_free(mesh->tria); in getmesh() 16 if ( mesh->quad ) M_free(mesh->quad); in getmesh() 17 if ( mesh->edge ) M_free(mesh->edge); in getmesh() 19 if ( mesh->hexa ) M_free(mesh->hexa); in getmesh() 21 if ( mesh->voy ) M_free(mesh->voy); in getmesh() 31 if ( mesh->sol && mesh->nbb ) { in getmesh() 32 if ( (mesh->dim==2 && mesh->nfield==3) || (mesh->dim==3 && mesh->nfield==6) ) in getmesh() 46 mesh->np = mesh->nt = mesh->nq = mesh->ne = 0; in getmesh() 47 mesh->ntet = mesh->nhex = mesh->nbb = 0; in getmesh() 76 if ( (mesh->ntet && !mesh->nt) || (mesh->nhex && !mesh->nq) ) in getmesh() [all …]
|
/dports/games/OpenTomb/OpenTomb-win32-2018-02-03_alpha/src/ |
H A D | mesh.c | 37 if(mesh->polygons) in BaseMesh_Clear() 48 if(mesh->vertices) in BaseMesh_Clear() 62 if(mesh->faces) in BaseMesh_Clear() 73 free(mesh->faces); in BaseMesh_Clear() 140 mesh->centre[0] = (mesh->bb_min[0] + mesh->bb_max[0]) / 2.0; in BaseMesh_FindBB() 141 mesh->centre[1] = (mesh->bb_min[1] + mesh->bb_max[1]) / 2.0; in BaseMesh_FindBB() 142 mesh->centre[2] = (mesh->bb_min[2] + mesh->bb_max[2]) / 2.0; in BaseMesh_FindBB() 202 mesh->vertices = (vertex_p)realloc(mesh->vertices, mesh->vertex_count * sizeof(vertex_t)); in BaseMesh_AddVertex() 252 … mesh->faces = (mesh_face_p)realloc(mesh->faces, (mesh->faces_count + 1) * sizeof(mesh_face_t)); in BaseMesh_AddPolygonToFaces() 253 current_face = mesh->faces + mesh->faces_count; in BaseMesh_AddPolygonToFaces() [all …]
|
/dports/math/mfem/mfem-4.3/tests/unit/fem/ |
H A D | test_build_dof_to_arrays.cpp | 65 int dim = mesh->Dimension(); 77 mesh->ReorientTetMesh(); 179 delete mesh; 251 Mesh * mesh = NULL; in GetMesh() local 257 mesh->AddVertex(0.0); in GetMesh() 258 mesh->AddVertex(a_); in GetMesh() 260 mesh->AddSegment(0, 1); in GetMesh() 262 mesh->AddBdrPoint(0); in GetMesh() 263 mesh->AddBdrPoint(1); in GetMesh() 477 mesh->FinalizeTopology(); in GetMesh() [all …]
|
H A D | test_domain_int.cpp | 85 mesh->UniformRefinement(); 143 delete mesh; 161 mesh->UniformRefinement(); 241 delete mesh; 272 delete mesh; 355 delete mesh; 440 Mesh * mesh = NULL; in GetMesh() local 446 mesh->AddVertex(0.0); in GetMesh() 447 mesh->AddVertex(a_); in GetMesh() 666 mesh->FinalizeTopology(); in GetMesh() [all …]
|
/dports/textproc/sowing/sowing-1.1.18/src/doctext/test/ |
H A D | mesh.c | 2354 mesh->sizeX = mesh->endX - mesh->startX; in MeshUpdateBoundingBox() 2355 mesh->sizeY = mesh->endY - mesh->startY; in MeshUpdateBoundingBox() 2624 if (x - mesh->sizeX > mesh->endX) { in MeshPeriodicX() 2630 if (x + mesh->sizeX < mesh->startX) { in MeshPeriodicX() 2671 if (y - mesh->sizeY > mesh->endY) { in MeshPeriodicY() 2677 if (y + mesh->sizeY < mesh->startY) { in MeshPeriodicY() 2718 if (z - mesh->sizeZ > mesh->endZ) { in MeshPeriodicZ() 2724 if (z + mesh->sizeZ < mesh->startZ) { in MeshPeriodicZ() 2772 if (x - mesh->sizeX > xO + mesh->sizeX) { in MeshPeriodicRelativeX() 2778 if (x + mesh->sizeX < xO - mesh->sizeX) { in MeshPeriodicRelativeX() [all …]
|
/dports/graphics/lib3ds/lib3ds-1.3.0/lib3ds/ |
H A D | mesh.c | 209 ASSERT(!mesh->pointL && !mesh->points); in lib3ds_mesh_new_point_list() 269 ASSERT(!mesh->flagL && !mesh->flags); in lib3ds_mesh_new_flag_list() 387 ASSERT(!mesh->faceL && !mesh->faces); in lib3ds_mesh_new_face_list() 646 ASSERT((!mesh->flags) || (mesh->points==mesh->flags)); in lib3ds_mesh_read() 647 ASSERT((!mesh->texels) || (mesh->points==mesh->texels)); in lib3ds_mesh_read() 666 ASSERT((!mesh->points) || (mesh->flags==mesh->points)); in lib3ds_mesh_read() 667 ASSERT((!mesh->texels) || (mesh->flags==mesh->texels)); in lib3ds_mesh_read() 719 ASSERT((!mesh->points) || (mesh->texels==mesh->points)); in lib3ds_mesh_read() 720 ASSERT((!mesh->flags) || (mesh->texels==mesh->flags)); in lib3ds_mesh_read() 820 if (!mesh->flags || !mesh->flagL) { in flag_array_write() [all …]
|
/dports/cad/meshlab/meshlab-Meshlab-2020.05/src/external/lib3ds-1.3.0/lib3ds/ |
H A D | mesh.c | 209 ASSERT(!mesh->pointL && !mesh->points); in lib3ds_mesh_new_point_list() 269 ASSERT(!mesh->flagL && !mesh->flags); in lib3ds_mesh_new_flag_list() 387 ASSERT(!mesh->faceL && !mesh->faces); in lib3ds_mesh_new_face_list() 646 ASSERT((!mesh->flags) || (mesh->points==mesh->flags)); in lib3ds_mesh_read() 647 ASSERT((!mesh->texels) || (mesh->points==mesh->texels)); in lib3ds_mesh_read() 666 ASSERT((!mesh->points) || (mesh->flags==mesh->points)); in lib3ds_mesh_read() 667 ASSERT((!mesh->texels) || (mesh->flags==mesh->texels)); in lib3ds_mesh_read() 719 ASSERT((!mesh->points) || (mesh->texels==mesh->points)); in lib3ds_mesh_read() 720 ASSERT((!mesh->flags) || (mesh->texels==mesh->flags)); in lib3ds_mesh_read() 820 if (!mesh->flags || !mesh->flagL) { in flag_array_write() [all …]
|
/dports/math/mfem/mfem-4.3/miniapps/toys/ |
H A D | rubik.cpp | 218 init_hex_mesh(mesh); in main() 235 mesh.Print(ofs); in main() 406 init_hex_mesh(Mesh & mesh) in init_hex_mesh() argument 422 mesh.AddVertex(c); in init_hex_mesh() 428 mesh.AddVertex(c); in init_hex_mesh() 434 mesh.AddVertex(c); in init_hex_mesh() 440 mesh.AddVertex(c); in init_hex_mesh() 446 mesh.AddVertex(c); in init_hex_mesh() 452 mesh.AddVertex(c); in init_hex_mesh() 458 mesh.AddVertex(c); in init_hex_mesh() [all …]
|
/dports/math/freefem++/FreeFem-sources-4.6/src/medit/ |
H A D | animat.c | 39 if (mesh->tria) M_free(mesh->tria); in getmesh() 40 if (mesh->quad) M_free(mesh->quad); in getmesh() 41 if (mesh->edge) M_free(mesh->edge); in getmesh() 45 if (mesh->voy) M_free(mesh->voy); in getmesh() 57 if (mesh->sol && mesh->nbb) { in getmesh() 58 if ((mesh->dim == 2 && mesh->nfield == 3) || (mesh->dim == 3 && mesh->nfield == 6)) { in getmesh() 75 mesh->np = mesh->nt = mesh->nq = mesh->ne = 0; in getmesh() 76 mesh->ntet = mesh->nhex = mesh->nbb = 0; in getmesh() 102 if ((mesh->ntet && !mesh->nt) || (mesh->nhex && !mesh->nq)) meshSurf(mesh); in getmesh() 108 if (!loadSol(mesh, mesh->name, 1)) bbfile(mesh); in getmesh() [all …]
|
/dports/graphics/wdune/wdune-1.926/src/ |
H A D | subd_mesh.c | 38 struct mesh { struct 47 struct mesh *mesh = malloc(sizeof(*mesh)); in mesh_create() local 55 void mesh_free(struct mesh *mesh) in mesh_free() argument 80 void mesh_begin_face(struct mesh *mesh) in mesh_begin_face() argument 82 buf_push(mesh->faces, buf_len(mesh->ibuf)); in mesh_begin_face() 93 void mesh_end_face(struct mesh *mesh) in mesh_end_face() argument 112 int mesh_face_count(const struct mesh *mesh) in mesh_face_count() argument 123 mesh->faces[face + 1] : buf_len(mesh->ibuf); in mesh_face_vertex_count() 155 void mesh_compute_normals(struct mesh *mesh) in mesh_compute_normals() argument 160 buf_resize(mesh->nbuf, buf_len(mesh->vbuf)); in mesh_compute_normals() [all …]
|
/dports/science/octopus/octopus-10.5/src/grid/ |
H A D | mesh_init.F90 | 111 mesh%idx%nr(1,:) = -mesh%idx%nr(2,:) 487 mesh%np = mesh%np_global 497 call mesh_cube_map_init(mesh%cube_map, mesh%idx, mesh%np_global) 652 size = maxval(mesh%idx%nr(2, 1:mesh%sb%dim) - mesh%idx%nr(1, 1:mesh%sb%dim) + 1) 930 … mesh%sb%dim, mesh%sb%periodic_dim, mesh%inner_partition, mesh%bndry_partition, mesh%vp, namespace) 943 mesh%np_part = mesh%np + mesh%vp%np_ghost + mesh%vp%np_bndry 959 mesh%x(ii+mesh%np, 1:MAX_DIM) = mesh_x_global(mesh, jj) 964 mesh%x(ii + mesh%np + mesh%vp%np_ghost, 1:MAX_DIM) = mesh_x_global(mesh, jj) 1036 … mesh%vol_pp(ip + mesh%np)*curvilinear_det_Jac(sb, mesh%cv, mesh%x(ip + mesh%np, :), chi(1:sb%dim)) 1043 mesh%vol_pp(ip+mesh%np+mesh%vp%np_ghost) = & [all …]
|
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/test/geometry/ |
H A D | test_mesh_data.cpp | 77 ASSERT_EQ (n_e, mesh.sizeEdges ()); in checkSizeElements() 139 MeshV mesh; in TEST() local 161 mesh.cleanUp (); in TEST() 174 MeshE mesh; in TEST() local 198 mesh.cleanUp (); in TEST() 212 MeshHE mesh; in TEST() local 243 mesh.cleanUp (); in TEST() 262 MeshF mesh; in TEST() local 282 mesh.cleanUp (); in TEST() 293 MeshAD mesh; in TEST() local [all …]
|
/dports/graphics/opencollada/OpenCOLLADA-1.6.68/Externals/lib3ds/src/ |
H A D | lib3ds_mesh.c | 41 if (!mesh) { in lib3ds_mesh_new() 47 return (mesh); in lib3ds_mesh_new() 61 free(mesh); in lib3ds_mesh_free() 67 assert(mesh); in lib3ds_mesh_resize_vertices() 71 mesh->texcos? mesh->nvertices : 0, in lib3ds_mesh_resize_vertices() 77 mesh->vflags? mesh->nvertices : 0, in lib3ds_mesh_resize_vertices() 127 mesh->vertices[mesh->faces[i].index[0]], in lib3ds_mesh_calculate_face_normals() 128 mesh->vertices[mesh->faces[i].index[1]], in lib3ds_mesh_calculate_face_normals() 129 mesh->vertices[mesh->faces[i].index[2]] in lib3ds_mesh_calculate_face_normals() 185 …lib3ds_vector_sub(p, mesh->vertices[mesh->faces[i].index[j<2? j + 1 : 0]], mesh->vertices[mesh->fa… in lib3ds_mesh_calculate_vertex_normals() [all …]
|