Boundary condition on mesh

Dear all,

I only have mesh imported from a TetGen output. How should I enforce the boundary conditions in this case (the corresponding boundary nodes are labelled)?

Thank you in advance!


Your question too vague,

you can get the list of label of mesh3 Th

  int[int] labs = labels(Th); 
  cout << labs < endl; 

or you can build the surface mesh
load “msh3”
laid “medit”
Th = buildBdMesh(Th); // build the surface mesh
meshS Th1 = Th.Gamma;
medit(“Th1”,Th1); // to see label of region of Th1 …

Thank you very much Prof. Hecht! This works pretty well for me.