<commit_before>#include "../NacaBnd_test.h"

using namespace dealii;
using namespace NSFEMSolver;

#define dim 2

int main()
{
  Triangulation<dim> triangulation;
  {
    GridIn<dim> grid_in;
    grid_in.attach_triangulation (triangulation);

    std::ifstream input_file ("NACA0012.msh");
    Assert (input_file, ExcFileNotOpen ("NACA0012.msh"));
    grid_in.read_msh (input_file);
  }

  const BndNaca4DigitSymm<dim> NACA_foil_boundary (0012, 1.0);
  std::ofstream fout ("output.out");
  Assert (fout, ExcFileNotOpen ("output.out"));
  fout << std::scientific;
  fout.precision (8);

  for (typename Triangulation<dim>::active_cell_iterator
       cell = triangulation.begin_active();
       cell != triangulation.end();
       ++cell)
    for (unsigned int f=0; f<GeometryInfo<dim>::faces_per_cell; ++f)
      if (cell->face (f)->at_boundary())
        {
          if (cell->face (f)->boundary_id() == 1)
            {
              typename Boundary<2,2>::FaceVertexNormals face_vertex_normals;
              NACA_foil_boundary.get_normals_at_vertices (cell->face (f),
                                                          face_vertex_normals);
              for (unsigned int v=0; v<GeometryInfo<2>::vertices_per_face; ++v)
                {
                  fout << cell->face (f)->vertex (v) << '\t';
                  fout << face_vertex_normals[v] << std::endl;
                }
            }
        }

  fout.close();
  return (0);
}
<commit_msg>follow dealii update: rename Boundary to Manifold in regTest<commit_after>#include "../NacaBnd_test.h"

using namespace dealii;
using namespace NSFEMSolver;

#define dim 2

int main()
{
  Triangulation<dim> triangulation;
  {
    GridIn<dim> grid_in;
    grid_in.attach_triangulation (triangulation);

    std::ifstream input_file ("NACA0012.msh");
    Assert (input_file, ExcFileNotOpen ("NACA0012.msh"));
    grid_in.read_msh (input_file);
  }

  const BndNaca4DigitSymm<dim> NACA_foil_boundary (0012, 1.0);
  std::ofstream fout ("output.out");
  Assert (fout, ExcFileNotOpen ("output.out"));
  fout << std::scientific;
  fout.precision (8);

  for (typename Triangulation<dim>::active_cell_iterator
       cell = triangulation.begin_active();
       cell != triangulation.end();
       ++cell)
    for (unsigned int f=0; f<GeometryInfo<dim>::faces_per_cell; ++f)
      if (cell->face (f)->at_boundary())
        {
          if (cell->face (f)->boundary_id() == 1)
            {
              typename Manifold<2,2>::FaceVertexNormals face_vertex_normals;
              NACA_foil_boundary.get_normals_at_vertices (cell->face (f),
                                                          face_vertex_normals);
              for (unsigned int v=0; v<GeometryInfo<2>::vertices_per_face; ++v)
                {
                  fout << cell->face (f)->vertex (v) << '\t';
                  fout << face_vertex_normals[v] << std::endl;
                }
            }
        }

  fout.close();
  return (0);
}

{'fraction_non_alphanumeric': 0.13555331315169863, 'fraction_numerical': 0.016145307769929364, 'mean_word_length': 2.430219146482122, 'pattern_counts': {'":': 0, '<': 41, '<?xml version=': 0, '>': 31, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6026991', 'n_tokens_mistral': 1037, 'n_tokens_neox': 961, 'n_words': 186}