MCPcopy Create free account
hub / github.com/FreeFem/FreeFem-sources / build_layer

Function build_layer

plugin/seq/LayerMesh.cpp:255–278  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

253}
254
255Mesh3 *build_layer(const Mesh &Th2, const int Nmax, const int *tab_Ni, const double *tab_zmin,
256 const double *tab_zmax, const map< int, int > &maptet,
257 const map< int, int > &maptrimil, const map< int, int > &maptrizmax,
258 const map< int, int > &maptrizmin, const map< int, int > &mapemil,
259 const map< int, int > &mapezmax, const map< int, int > &mapezmin) {
260 int MajSom, MajElem, MajBord2D;
261 Mesh3 *Th3 = new Mesh3;
262
263 NbSom3D_NbElem3D_NbBord2D_mesh_product_mesh_tab(Nmax, tab_Ni, Th2, MajSom, MajElem, MajBord2D);
264 cout << "MajSom = " << MajSom << " "
265 << "MajElem = " << MajElem << " "
266 << "MajBord2D =" << MajBord2D << endl;
267
268 cout << "debut : Th3.set(MajSom, MajElem, MajBord2D); " << endl;
269 Th3->set(MajSom, MajElem, MajBord2D);
270
271 cout << "debut : Som3D_mesh_product_Version_Sommet_mesh_tab( Nmax, tab_Ni, tab_zmin, tab_zmax, "
272 "Th2, Th3); "
273 << endl;
274 Som3D_mesh_product_Version_Sommet_mesh_tab(Nmax, tab_Ni, tab_zmin, tab_zmax, Th2, maptet,
275 maptrimil, maptrizmax, maptrizmin, mapemil, mapezmax,
276 mapezmin, *Th3);
277 return Th3;
278}
279
280void NbSom3D_NbElem3D_NbBord2D_mesh_product_mesh_tab(const int Nmax, const int *tab_Ni,
281 const Mesh &Th2, int &MajSom, int &MajElem,

Callers 1

buildlayer.cppFile · 0.70

Tested by

no test coverage detected