Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Export UNV
[modules/smesh.git]
/
src
/
DriverUNV
/
UNV2417_Structure.cxx
diff --git
a/src/DriverUNV/UNV2417_Structure.cxx
b/src/DriverUNV/UNV2417_Structure.cxx
index d52dd1e80937af76a84aa6c6c75551f3a355f383..485a81bd4e6f2928d1d264caf0bb05fe5b32c5c5 100644
(file)
--- a/
src/DriverUNV/UNV2417_Structure.cxx
+++ b/
src/DriverUNV/UNV2417_Structure.cxx
@@
-18,7
+18,7
@@
static int MYDEBUG = 0;
static string _group_labels[] = {"2417", "2429", "2430", "2432", "2435", "2452", "2467"};
#define NBGROUP 7
static string _group_labels[] = {"2417", "2429", "2430", "2432", "2435", "2452", "2467"};
#define NBGROUP 7
-static string _label_dataset = "24
29
";
+static string _label_dataset = "24
67
";
void UNV2417::Read(std::ifstream& in_stream, TDataSet& theDataSet)
{
void UNV2417::Read(std::ifstream& in_stream, TDataSet& theDataSet)
{
@@
-134,21
+134,25
@@
void UNV2417::Write(std::ofstream& out_stream, const TDataSet& theDataSet)
int aRow = 0;
int i;
for (i = 0; i < aNbNodes; i++) {
int aRow = 0;
int i;
for (i = 0; i < aNbNodes; i++) {
- if (aRow ==
4
) {
+ if (aRow ==
2
) {
out_stream<<std::endl;
aRow = 0;
}
out_stream<<std::setw(10)<<7;
out_stream<<std::setw(10)<<aRec.NodeList[i];
out_stream<<std::endl;
aRow = 0;
}
out_stream<<std::setw(10)<<7;
out_stream<<std::setw(10)<<aRec.NodeList[i];
+ out_stream<<std::setw(10)<<0;
+ out_stream<<std::setw(10)<<0;
aRow++;
}
for (i = 0; i < aNbElements; i++) {
aRow++;
}
for (i = 0; i < aNbElements; i++) {
- if (aRow ==
4
) {
+ if (aRow ==
2
) {
out_stream<<std::endl;
aRow = 0;
}
out_stream<<std::setw(10)<<8;
out_stream<<std::setw(10)<<aRec.ElementList[i];
out_stream<<std::endl;
aRow = 0;
}
out_stream<<std::setw(10)<<8;
out_stream<<std::setw(10)<<aRec.ElementList[i];
+ out_stream<<std::setw(10)<<0;
+ out_stream<<std::setw(10)<<0;
aRow++;
}
out_stream<<std::endl;
aRow++;
}
out_stream<<std::endl;