Fix/wrong expid for block
Compare changes
Files
9@@ -20,10 +20,11 @@ public:
@@ -38,6 +39,7 @@ public:
In original design, operator class does not know the correct exp id for each block. The current version of BwdTransStdMat
access the wrong expansion in the expansionlist
.
The new solution is
GetBlockAttributes()
to Field.hpp, so that both Operator
and main
can access it;GetBlockAttributes()
does not modify the original sequence of exp in explist. In this design, we may create more blocks of the same element type. So std::map
is no longer used;exp_id
of each block by offseting the exp_id
, starting from 0.Add new test file square2.xml which contains two different element order.