Skip to content

Commit

Permalink
Update Mesh.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
povanberg authored May 19, 2019
1 parent 8387024 commit ad1e2a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mesh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ Mesh::Mesh(std::string name, Config config) : name(name), config(config) {
gmsh::view::addListData(normalTag, "VP", m_fNum*m_fNumIntPts, viewNormals);
gmsh::view::write(normalTag, "normal.pos");

if(m_elOrder !=1)
if(m_elDim==3 && m_elOrder !=1)
fc = -1;

assert(m_elFNodeTags.size() == m_elNum*m_fNumPerEl*m_fNumNodes);
Expand Down

0 comments on commit ad1e2a9

Please sign in to comment.