const std::string in_mesh_filename = "input/initial_mesh_3d.vtk";
const std::string cad_file_name = "input/DTMB-5415_bulbous_bow.iges";
- cout << "----------------------------------------------------------"
- << endl;
- cout << "Testing projection in direction normal to CAD surface" << endl;
- cout << "----------------------------------------------------------"
- << endl;
+ std::cout << "----------------------------------------------------------"
+ << std::endl;
+ std::cout << "Testing projection in direction normal to CAD surface"
+ << std::endl;
+ std::cout << "----------------------------------------------------------"
+ << std::endl;
std::string out_mesh_filename = ("3d_mesh_normal_projection");
TriangulationOnCAD tria_on_cad_norm(in_mesh_filename,
cad_file_name,
out_mesh_filename,
TriangulationOnCAD::NormalProjection);
tria_on_cad_norm.run();
- cout << "----------------------------------------------------------"
- << endl;
- cout << endl;
- cout << endl;
-
- cout << "----------------------------------------------------------"
- << endl;
- cout << "Testing projection in y-axis direction" << endl;
- cout << "----------------------------------------------------------"
- << endl;
+ std::cout << "----------------------------------------------------------"
+ << std::endl;
+ std::cout << std::endl;
+ std::cout << std::endl;
+
+ std::cout << "----------------------------------------------------------"
+ << std::endl;
+ std::cout << "Testing projection in y-axis direction" << std::endl;
+ std::cout << "----------------------------------------------------------"
+ << std::endl;
out_mesh_filename = ("3d_mesh_directional_projection");
TriangulationOnCAD tria_on_cad_dir(
in_mesh_filename,
out_mesh_filename,
TriangulationOnCAD::DirectionalProjection);
tria_on_cad_dir.run();
- cout << "----------------------------------------------------------"
- << endl;
- cout << endl;
- cout << endl;
-
- cout << "----------------------------------------------------------"
- << endl;
- cout << "Testing projection in direction normal to mesh elements" << endl;
- cout << "----------------------------------------------------------"
- << endl;
+ std::cout << "----------------------------------------------------------"
+ << std::endl;
+ std::cout << std::endl;
+ std::cout << std::endl;
+
+ std::cout << "----------------------------------------------------------"
+ << std::endl;
+ std::cout << "Testing projection in direction normal to mesh elements"
+ << std::endl;
+ std::cout << "----------------------------------------------------------"
+ << std::endl;
out_mesh_filename = ("3d_mesh_normal_to_mesh_projection");
TriangulationOnCAD tria_on_cad_norm_to_mesh(
in_mesh_filename,
out_mesh_filename,
TriangulationOnCAD::NormalToMeshProjection);
tria_on_cad_norm_to_mesh.run();
- cout << "----------------------------------------------------------"
- << endl;
- cout << endl;
- cout << endl;
+ std::cout << "----------------------------------------------------------"
+ << std::endl;
+ std::cout << std::endl;
+ std::cout << std::endl;
}
catch (std::exception &exc)
{