From: Martin Kronbichler Date: Mon, 3 Aug 2020 10:35:29 +0000 (+0200) Subject: Merge pull request #10701 from peterrum/simplex_dataout_write_vtk X-Git-Tag: v9.3.0-rc1~1218 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f6f35bb5460a7febeecd95f53e3fbef864bfed3;p=dealii.git Merge pull request #10701 from peterrum/simplex_dataout_write_vtk Generalize DataOut::write_vtk for simplex mesh --- 4f6f35bb5460a7febeecd95f53e3fbef864bfed3 diff --cc source/simplex/fe_lib.cc index a3545d4e8d,a4b0d0282f..abcde7aaca --- a/source/simplex/fe_lib.cc +++ b/source/simplex/fe_lib.cc @@@ -115,27 -115,27 +115,27 @@@ namespace Simple { if (degree == 1) { + this->unit_support_points.emplace_back(0.0, 0.0); this->unit_support_points.emplace_back(1.0, 0.0); this->unit_support_points.emplace_back(0.0, 1.0); - this->unit_support_points.emplace_back(0.0, 0.0); // TODO - this->unit_face_support_points.emplace_back(0.0); - this->unit_face_support_points.emplace_back(1.0); + this->unit_face_support_points[0].emplace_back(0.0); + this->unit_face_support_points[0].emplace_back(1.0); } else if (degree == 2) { + this->unit_support_points.emplace_back(0.0, 0.0); this->unit_support_points.emplace_back(1.0, 0.0); this->unit_support_points.emplace_back(0.0, 1.0); - this->unit_support_points.emplace_back(0.0, 0.0); + this->unit_support_points.emplace_back(0.5, 0.0); this->unit_support_points.emplace_back(0.5, 0.5); this->unit_support_points.emplace_back(0.0, 0.5); - this->unit_support_points.emplace_back(0.5, 0.0); // TODO - this->unit_face_support_points.emplace_back(0.0); - this->unit_face_support_points.emplace_back(1.0); - this->unit_face_support_points.emplace_back(0.5); + this->unit_face_support_points[0].emplace_back(0.0); + this->unit_face_support_points[0].emplace_back(1.0); + this->unit_face_support_points[0].emplace_back(0.5); } else {