[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Getfem-commits] (no subject)
From: |
Tetsuo Koyama |
Subject: |
[Getfem-commits] (no subject) |
Date: |
Sat, 3 Oct 2020 20:46:10 -0400 (EDT) |
branch: devel-tetsuo-xml-binary
commit ec7ee958129e97ae3fc333f39b526ce2f79930ef
Author: Tetsuo Koyama <tkoyama010@gmail.com>
AuthorDate: Sun Oct 4 01:09:33 2020 +0900
:sparkles: Fix TODO
---
src/getfem_export.cc | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/src/getfem_export.cc b/src/getfem_export.cc
index 1510033..49fe774 100644
--- a/src/getfem_export.cc
+++ b/src/getfem_export.cc
@@ -610,15 +610,14 @@ namespace getfem
os << "<DataArray type=\"Int64\" Name=\"types\" ";
os << (ascii ? "format=\"ascii\">\n" : "format=\"binary\">\n");
}
- size = sizeof(int64_t);
- // TODO: genelize to multi cell
- //if (!ascii) write_val(sizeof(int64_t)*2);
if (!vtk && !ascii) {
int size = sizeof(int64_t)*2;
write_val(size);
}
- write_val(int64_t(3));
- write_val(int64_t(3));
+ for (dal::bv_visitor cv(pmf->convex_index()); !cv.finished(); ++cv) {
+ write_val(int64_t(select_vtk_type(pmf_mapping_type[cv])));
+ if (vtk) write_separ();
+ }
write_vals();
if (!vtk) os << "\n" << "</DataArray>\n" << "</Cells>\n";
- [Getfem-commits] (no subject), (continued)
- [Getfem-commits] (no subject), Tetsuo Koyama, 2020/10/03
- [Getfem-commits] (no subject), Tetsuo Koyama, 2020/10/03
- [Getfem-commits] (no subject), Tetsuo Koyama, 2020/10/03
- [Getfem-commits] (no subject), Tetsuo Koyama, 2020/10/03
- [Getfem-commits] (no subject), Tetsuo Koyama, 2020/10/03
- [Getfem-commits] (no subject), Tetsuo Koyama, 2020/10/03
- [Getfem-commits] (no subject), Tetsuo Koyama, 2020/10/03
- [Getfem-commits] (no subject), Tetsuo Koyama, 2020/10/03
- [Getfem-commits] (no subject), Tetsuo Koyama, 2020/10/03
- [Getfem-commits] (no subject), Tetsuo Koyama, 2020/10/03
- [Getfem-commits] (no subject),
Tetsuo Koyama <=
- [Getfem-commits] (no subject), Tetsuo Koyama, 2020/10/03
- [Getfem-commits] (no subject), Tetsuo Koyama, 2020/10/03
- [Getfem-commits] (no subject), Tetsuo Koyama, 2020/10/03
- [Getfem-commits] (no subject), Tetsuo Koyama, 2020/10/03
- [Getfem-commits] (no subject), Tetsuo Koyama, 2020/10/03
- [Getfem-commits] (no subject), Tetsuo Koyama, 2020/10/03
- [Getfem-commits] (no subject), Tetsuo Koyama, 2020/10/03
- [Getfem-commits] (no subject), Tetsuo Koyama, 2020/10/03
- [Getfem-commits] (no subject), Tetsuo Koyama, 2020/10/03
- [Getfem-commits] (no subject), Tetsuo Koyama, 2020/10/03