diff --git a/Development of a finite element mesh loader/Types.cpp b/Development of a finite element mesh loader/Types.cpp index e04953e58a3af46d3f9ccc1094c70b7501dd29e1..a21845a61b1a83255d3d3e73c73e15ac599413f3 100644 --- a/Development of a finite element mesh loader/Types.cpp +++ b/Development of a finite element mesh loader/Types.cpp @@ -2,9 +2,7 @@ #include std::ostream& operator << (std::ostream& out, const Node& N) { - out << std::endl << std::setw(4) << N.ID << " " << - std::right << std::setw(11) - << N.vertex; + out << std::endl << std::setw(4) << N.ID << " " << std::setw(11) << N.vertex; for (const auto& it : N.cd) out << std::setw(10) << it; return out; @@ -25,7 +23,7 @@ std::ostream& operator << (std::ostream& out, const FiniteElement& elem) { std::setw(11) << elem.material_ID << " "; for (const auto& it : elem.nodes_ID) - out << std::right << std::setw(11) << it; + out << std::setw(11) << it; out << std::endl; return out; } @@ -44,7 +42,7 @@ std::ostream& operator << (std::ostream& out, const BoundaryFiniteElement& elem) std::setw(4) << elem.element_ID << " " << std::setw(6) << elem.edge_ID << " "; for (const auto& it : elem.nodes_ID) { - out << std::right << std::setw(6) << it; + out << std::setw(6) << it; } out << std::endl; return out;