Home
last modified time | relevance | path

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

12345

/dports/science/frontistr/FrontISTR-c66bdc397de319ca59a0565b3f3b1a3b33f0c50c/hecmw1/src/operations/dynamic_load_balancing/
H A Dhecmw_dlb_data_transfer.c170 if (new_mesh->node != NULL) free(new_mesh->node); in hecmw_dlb_c2f_finalize_()
179 if (new_mesh->elem_ID != NULL) free(new_mesh->elem_ID); in hecmw_dlb_c2f_finalize_()
181 if (new_mesh->elem_type != NULL) free(new_mesh->elem_type); in hecmw_dlb_c2f_finalize_()
186 if (new_mesh->section_ID != NULL) free(new_mesh->section_ID); in hecmw_dlb_c2f_finalize_()
193 if (new_mesh->neighbor_pe != NULL) free(new_mesh->neighbor_pe); in hecmw_dlb_c2f_finalize_()
195 if (new_mesh->import_item != NULL) free(new_mesh->import_item); in hecmw_dlb_c2f_finalize_()
197 if (new_mesh->import_item != NULL) free(new_mesh->export_item); in hecmw_dlb_c2f_finalize_()
199 if (new_mesh->import_item != NULL) free(new_mesh->shared_item); in hecmw_dlb_c2f_finalize_()
206 if (new_mesh->adapt_type != NULL) free(new_mesh->adapt_type); in hecmw_dlb_c2f_finalize_()
207 if (new_mesh->adapt_level != NULL) free(new_mesh->adapt_level); in hecmw_dlb_c2f_finalize_()
[all …]
H A Dhecmw_dlb_elem_sr_adapt.c957 new_mesh in mesh_migration_adapt()
963 new_mesh in mesh_migration_adapt()
1765 new_mesh->node_dof_index[1] = new_mesh->n_node; in mesh_migration_adapt()
1850 new_mesh->elem_internal_list[new_mesh->ne_internal] = i + 1; in mesh_migration_adapt()
1880 tmp_send[i] = new_mesh->node_ID[(new_mesh->nn_internal + i) * 2]; in mesh_migration_adapt()
1946 new_mesh->import_item[i] = new_mesh->nn_internal + i + 1; in mesh_migration_adapt()
2104 new_mesh->when_i_was_refined_node[i + new_mesh->nn_internal] = in mesh_migration_adapt()
2269 if (new_mesh->elem_type[i] == new_mesh->elem_type_item[j]) { in mesh_migration_adapt()
2288 if (new_mesh->elem_type[i] == new_mesh->elem_type_item[j]) { in mesh_migration_adapt()
2375 new_mesh->elem_internal_list[new_mesh->ne_internal] = i + 1; in mesh_migration_adapt()
[all …]
H A Doutput_ucd_c.c26 for (i = 0; i < new_mesh->ne_internal; i++) { in write_dist_mesh_display()
27 if (new_mesh->adapt_type[new_mesh->elem_internal_list[i] - 1] == 0) in write_dist_mesh_display()
33 for (i = 0; i < new_mesh->n_node; i++) in write_dist_mesh_display()
35 new_mesh->node[i * 3 + 1], new_mesh->node[i * 3 + 2]); in write_dist_mesh_display()
37 for (i = 0; i < new_mesh->ne_internal; i++) { in write_dist_mesh_display()
38 if (new_mesh->adapt_type[new_mesh->elem_internal_list[i] - 1] == 0) { in write_dist_mesh_display()
41 tmp_int = new_mesh->elem_internal_list[i] - 1; in write_dist_mesh_display()
42 if ((new_mesh->elem_node_index[tmp_int + 1] - in write_dist_mesh_display()
43 new_mesh->elem_node_index[tmp_int]) == 4) in write_dist_mesh_display()
47 for (j = new_mesh->elem_node_index[tmp_int]; in write_dist_mesh_display()
[all …]
H A Dhecmw_dlb_migrate.c16 extern struct hecmwST_local_mesh *new_mesh;
24 struct hecmwST_local_mesh *new_mesh,
27 struct hecmwST_local_mesh *new_mesh,
118 HECMW_put_mesh(new_mesh, "mesh-dlb-out"); in redistribute_mesh()
123 HECMW_put_result_from_structure(new_mesh, new_data, resultfile_dist); in redistribute_mesh()
H A Dhecmw_dynamic_load_balancing.c10 extern struct hecmwST_local_mesh *new_mesh;
107 new_mesh = in hecmw_dynamic_load_balancing_()
109 if (new_mesh == NULL) HECMW_dlb_memory_exit("new_mesh"); in hecmw_dynamic_load_balancing_()
/dports/science/quantum-espresso/q-e-qe-6.7.0/NEB/src/
H A Dpath_reparametrisation.f90108 REAL(DP), ALLOCATABLE :: old_mesh(:), new_mesh(:) local
128 ALLOCATE( new_mesh( ni:nf ) )
131 new_mesh(:) = 0.0_DP
145 new_mesh(j+ni) = DBLE(j) * delta
150 new_mesh(:) = new_mesh(:) / length
156 DEALLOCATE( new_vec, old_mesh, new_mesh )
201 ALLOCATE( new_mesh( ni:nf ) )
204 new_mesh(:) = 0.0_DP
218 new_mesh(j+ni) = DBLE(j) * delta
223 new_mesh(:) = new_mesh(:) / length
[all …]
H A Dpath_interpolation.f9024 REAL (DP), ALLOCATABLE :: old_mesh(:), new_mesh(:) variable
121 ALLOCATE( new_mesh( new_num_of_images ) )
250 new_mesh(j+1) = R
273 new_mesh = new_mesh / old_mesh(old_num_of_images)
276 CALL dosplineint( old_mesh , old_pos , new_mesh , new_pos )
359 IF ( ALLOCATED( new_mesh ) ) DEALLOCATE( new_mesh )
/dports/cad/meshlab/meshlab-Meshlab-2020.05/src/meshlabplugins/filter_isoparametrization/
H A Dmesh_operators.h220 new_mesh.Clear(); in CopyMeshFromFaces()
230 new_mesh.vert[i].P()=(*iteV)->P(); in CopyMeshFromFaces()
231 new_mesh.vert[i].RPos=(*iteV)->RPos; in CopyMeshFromFaces()
233 new_mesh.vert[i].N()=(*iteV)->N(); in CopyMeshFromFaces()
237 new_mesh.vert[i].ClearFlags(); in CopyMeshFromFaces()
438 new_mesh.Clear(); in CopyMeshFromVertices()
439 new_mesh.vn=0; in CopyMeshFromVertices()
440 new_mesh.fn=0; in CopyMeshFromVertices()
465 new_mesh.Clear(); in CopyMeshFromVertices()
475 new_mesh.vert[i].P()=(*iteVI)->P(); in CopyMeshFromVertices()
[all …]
H A Diso_parametrization.h134 new_mesh.Clear(); in CopyMeshFromFacesAbs()
135 new_mesh.vn=0; in CopyMeshFromFacesAbs()
136 new_mesh.fn=0; in CopyMeshFromFacesAbs()
137 new_mesh.face.resize(faces.size()); in CopyMeshFromFacesAbs()
139 new_mesh.vn=vertices.size(); in CopyMeshFromFacesAbs()
140 new_mesh.fn=faces.size(); in CopyMeshFromFacesAbs()
157 new_mesh.vert[i].ClearFlags(); in CopyMeshFromFacesAbs()
212 new_mesh.Clear(); in CopyMeshFromVerticesAbs()
213 new_mesh.vn=0; in CopyMeshFromVerticesAbs()
214 new_mesh.fn=0; in CopyMeshFromVerticesAbs()
[all …]
/dports/games/openclonk/openclonk-release-8.1-src/src/lib/
H A DStdMeshUpdate.cpp91 void StdMeshUpdate::Update(StdMeshInstance* instance, const StdMesh& new_mesh) const in Update()
96 instance->Mesh = &new_mesh; in Update()
97 …instance->BoneTransforms = std::vector<StdMeshMatrix>(new_mesh.GetSkeleton().GetNumBones(), StdMes… in Update()
102 instance->SubMeshInstances.resize(new_mesh.GetNumSubMeshes()); in Update()
105 …instance->SubMeshInstances[i] = new StdSubMeshInstance(*instance, new_mesh.GetSubMesh(i), instance… in Update()
155 const StdMesh& new_mesh = *instance->Mesh; in UpdateAnimationNode() local
165 const StdMeshBone* bone = new_mesh.GetSkeleton().GetBoneByName(bone_name); in UpdateAnimationNode()
219 const StdMesh& new_mesh = *instance->Mesh; in UpdateAnimationNode() local
231 node->Leaf.Animation = new_mesh.GetSkeleton().GetAnimationByName(iter->second); in UpdateAnimationNode()
/dports/science/quantum-espresso/q-e-qe-6.7.0/upflib/
H A Dsplinelib.f90200 SUBROUTINE dosplineint_1D( old_mesh, old_vec, new_mesh, new_vec ) argument
205 REAL (DP), INTENT(IN) :: old_mesh(:), new_mesh(:) local
221 IF ( new_dim /= SIZE( new_mesh ) ) &
233 new_vec(i) = splint( old_mesh, old_vec(:), d2y, new_mesh(i) )
242 SUBROUTINE dosplineint_2D( old_mesh, old_vec, new_mesh, new_vec ) argument
247 REAL (DP), INTENT(IN) :: old_mesh(:), new_mesh(:) local
269 IF ( new_dim /= SIZE( new_mesh, 1 ) ) &
283 new_vec(i,j) = splint( old_mesh, old_vec(i,:), d2y, new_mesh(j) )
/dports/graphics/blender/blender-2.91.0/source/blender/editors/mesh/
H A Deditmesh_mask_extract.c110 Mesh *new_mesh = (Mesh *)BKE_id_copy(bmain, &mesh->id); in geometry_extract_apply() local
112 const BMAllocTemplate allocsize = BMALLOC_TEMPLATE_FROM_ME(new_mesh); in geometry_extract_apply()
120 new_mesh, in geometry_extract_apply()
198 BKE_id_free(bmain, new_mesh); in geometry_extract_apply()
199 new_mesh = BKE_mesh_from_bmesh_nomain(bm, in geometry_extract_apply()
208 if (new_mesh->totvert == 0) { in geometry_extract_apply()
209 BKE_id_free(bmain, new_mesh); in geometry_extract_apply()
499 Mesh *new_mesh = (Mesh *)BKE_id_copy(bmain, &mesh->id); in paint_mask_slice_exec() local
513 new_mesh, in paint_mask_slice_exec()
520 BKE_id_free(bmain, new_mesh); in paint_mask_slice_exec()
[all …]
/dports/math/vtk9/VTK-9.1.0/IO/Import/
H A Dvtk3DSImporter.cxx448 vtk3DSMesh* new_mesh; in create_mesh() local
450 new_mesh = (vtk3DSMesh*)malloc(sizeof(*new_mesh)); in create_mesh()
461 new_mesh->vertex = (vtk3DSVector*)malloc(vertices * sizeof(*new_mesh->vertex)); in create_mesh()
464 new_mesh->faces = faces; in create_mesh()
468 new_mesh->face = nullptr; in create_mesh()
469 new_mesh->mtl = nullptr; in create_mesh()
473 new_mesh->face = (vtk3DSFace*)malloc(faces * sizeof(*new_mesh->face)); in create_mesh()
475 new_mesh->mtl = (vtk3DSMaterial**)malloc(faces * sizeof(*new_mesh->mtl)); in create_mesh()
478 new_mesh->hidden = 0; in create_mesh()
479 new_mesh->shadow = 1; in create_mesh()
[all …]
/dports/math/vtk8/VTK-8.2.0/IO/Import/
H A Dvtk3DSImporter.cxx442 vtk3DSMesh *new_mesh; in create_mesh() local
444 new_mesh = (vtk3DSMesh *) malloc (sizeof(*new_mesh)); in create_mesh()
455 new_mesh->vertex = (vtk3DSVector *) malloc(vertices * sizeof(*new_mesh->vertex)); in create_mesh()
458 new_mesh->faces = faces; in create_mesh()
462 new_mesh->face = nullptr; in create_mesh()
463 new_mesh->mtl = nullptr; in create_mesh()
467 new_mesh->face = (vtk3DSFace *) malloc (faces * sizeof(*new_mesh->face)); in create_mesh()
468 new_mesh->mtl = (vtk3DSMaterial **) malloc (faces * sizeof(*new_mesh->mtl)); in create_mesh()
471 new_mesh->hidden = 0; in create_mesh()
472 new_mesh->shadow = 1; in create_mesh()
[all …]
/dports/math/vtk6/VTK-6.2.0/IO/Import/
H A Dvtk3DSImporter.cxx437 vtk3DSMesh *new_mesh; in create_mesh() local
439 new_mesh = (vtk3DSMesh *) malloc (sizeof(*new_mesh)); in create_mesh()
453 new_mesh->faces = faces; in create_mesh()
457 new_mesh->face = NULL; in create_mesh()
458 new_mesh->mtl = NULL; in create_mesh()
462 new_mesh->face = (vtk3DSFace *) malloc (faces * sizeof(*new_mesh->face)); in create_mesh()
463 new_mesh->mtl = (vtk3DSMaterial **) malloc (faces * sizeof(*new_mesh->mtl)); in create_mesh()
466 new_mesh->hidden = 0; in create_mesh()
467 new_mesh->shadow = 1; in create_mesh()
469 new_mesh->anActor = NULL; in create_mesh()
[all …]
/dports/graphics/blender/blender-2.91.0/source/blender/editors/object/
H A Dobject_remesh.c135 Mesh *new_mesh; in voxel_remesh_exec() local
147 new_mesh = BKE_mesh_remesh_voxel_to_mesh_nomain( in voxel_remesh_exec()
150 if (!new_mesh) { in voxel_remesh_exec()
160 new_mesh = BKE_mesh_remesh_voxel_fix_poles(new_mesh); in voxel_remesh_exec()
161 BKE_mesh_calc_normals(new_mesh); in voxel_remesh_exec()
174 BKE_mesh_remesh_reproject_paint_mask(new_mesh, mesh); in voxel_remesh_exec()
178 BKE_remesh_reproject_sculpt_face_sets(new_mesh, mesh); in voxel_remesh_exec()
183 BKE_remesh_reproject_vertex_paint(new_mesh, mesh); in voxel_remesh_exec()
831 Mesh *new_mesh; in quadriflow_start_job() local
863 if (new_mesh == NULL) { in quadriflow_start_job()
[all …]
/dports/graphics/blender/blender-2.91.0/source/blender/io/alembic/intern/
H A Dabc_reader_points.cc148 Mesh *new_mesh = NULL; in read_mesh() local
151 new_mesh = BKE_mesh_new_nomain(positions->size(), 0, 0, 0, 0); in read_mesh()
154 Mesh *mesh_to_export = new_mesh ? new_mesh : existing_mesh; in read_mesh()
H A Dabc_reader_mesh.cc670 Mesh *new_mesh = NULL; in read_mesh() local
677 new_mesh = BKE_mesh_new_nomain_from_template( in read_mesh()
698 Mesh *mesh_to_export = new_mesh ? new_mesh : existing_mesh; in read_mesh()
706 if (new_mesh) { in read_mesh()
710 size_t num_polys = new_mesh->totpoly; in read_mesh()
713 assign_facesets_to_mpoly(sample_sel, new_mesh->mpoly, num_polys, mat_map); in read_mesh()
716 return new_mesh; in read_mesh()
962 Mesh *new_mesh = NULL; in read_mesh() local
968 new_mesh = BKE_mesh_new_nomain_from_template( in read_mesh()
990 Mesh *mesh_to_export = new_mesh ? new_mesh : existing_mesh; in read_mesh()
/dports/math/libmesh/libmesh-1.6.2/src/apps/
H A Dprojection.C134 Mesh new_mesh(init.comm(), requested_dim); in main()
138 new_mesh.read(outmeshname); in main()
140 new_mesh.print_info(); in main()
150 EquationSystems new_es(new_mesh); in main()
H A Dcalculator.C102 Mesh new_mesh(init.comm(), requested_dim); in main()
103 new_mesh.read(meshname); in main()
113 EquationSystems new_es(new_mesh); in main()
/dports/science/code_saturne/code_saturne-7.1.0/src/mesh/
H A Dcs_join_split.c1668 new_mesh = cs_join_mesh_create(new_mesh_name); in _update_mesh_after_split()
1723 new_mesh->n_faces = n_new_faces; in _update_mesh_after_split()
1724 new_mesh->n_g_faces = builder->n_g_subfaces; in _update_mesh_after_split()
1738 new_mesh->face_vtx_idx[0] = 0; in _update_mesh_after_split()
1740 new_mesh->face_vtx_idx[i+1] += new_mesh->face_vtx_idx[i]; in _update_mesh_after_split()
1742 BFT_MALLOC(new_mesh->face_vtx_lst, in _update_mesh_after_split()
1749 shift = new_mesh->face_vtx_idx[i]; in _update_mesh_after_split()
1760 new_mesh->n_vertices = init_mesh->n_vertices; in _update_mesh_after_split()
1762 BFT_MALLOC(new_mesh->vertices, new_mesh->n_vertices, cs_join_vertex_t); in _update_mesh_after_split()
1767 cs_join_mesh_vertex_clean(new_mesh); in _update_mesh_after_split()
[all …]
/dports/math/cgal/CGAL-5.3/demo/Polyhedron/Plugins/Surface_mesh/
H A DOffset_meshing_plugin.cpp373 SMesh* new_mesh= nullptr; in run() local
375 new_mesh = cgal_off_meshing(CGAL::Three::Three::mainWindow(), in run()
385 new_mesh = cgal_off_meshing(CGAL::Three::Three::mainWindow(), in run()
394 Q_EMIT resultReady(new_mesh); in run()
397 void resultReady(SMesh *new_mesh);
623 (SMesh *new_mesh){ in offset_meshing() argument
625 if(!new_mesh){ in offset_meshing()
628 Scene_surface_mesh_item* new_item = new Scene_surface_mesh_item(new_mesh); in offset_meshing()
/dports/math/libmesh/libmesh-1.6.2/src/mesh/
H A Dunstructured_mesh.C712 void UnstructuredMesh::create_submesh (UnstructuredMesh & new_mesh, in create_submesh() argument
718 new_mesh.clear(); in create_submesh()
724 new_mesh.delete_remote_elements(); in create_submesh()
737 new_mesh.merge_extra_integer_names(*this); in create_submesh()
760 Elem * new_elem = new_mesh.add_elem(std::move(uelem)); in create_submesh()
770 if (!new_mesh.query_node_ptr(this_node_id)) in create_submesh()
773 new_mesh.add_point (old_elem->point(n), in create_submesh()
787 new_elem->set_node(n) = new_mesh.node_ptr(this_node_id); in create_submesh()
794 new_mesh.get_boundary_info().add_side (new_elem, s, bc_ids); in create_submesh()
799 new_mesh.prepare_for_use(); in create_submesh()
/dports/math/mfem/mfem-4.3/fem/
H A Ddatacollection.hpp308 virtual void SetMesh(Mesh *new_mesh);
314 virtual void SetMesh(MPI_Comm comm, Mesh *new_mesh);
443 virtual void SetMesh(Mesh *new_mesh);
447 virtual void SetMesh(MPI_Comm comm, Mesh *new_mesh);
/dports/graphics/wdune/wdune-1.926/vcglib/vcg/complex/algorithms/create/
H A Dresampler.h322 …void BuildMesh(OldMeshType &old_mesh,NewMeshType &new_mesh,EXTRACTOR_TYPE &extractor,vcg::CallBack… in BuildMesh() argument
324 _newM=&new_mesh; in BuildMesh()
346 for(NewVertexIterator vi=new_mesh.vert.begin();vi!=new_mesh.vert.end();++vi) in BuildMesh()
601 …static void Resample(OldMeshType &old_mesh, NewMeshType &new_mesh, NewBoxType volumeBox, vcg::Poi…
613 MyMarchingCubes mc(new_mesh, walker);
614 walker.BuildMesh(old_mesh,new_mesh,mc,cb);

12345