Skip to content
Snippets Groups Projects

Fix/wrong expid for block

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

  • Move 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;
  • Use 3 basiskey to identify different element type, in order to avoid cases when total number of points are the same but basis are different;
  • Fetch correct 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.

Edited by BOYANG XIA

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading