diff --git a/.gitignore b/.gitignore index 8c7eaf2..6c2b720 100644 --- a/.gitignore +++ b/.gitignore @@ -77,6 +77,10 @@ autoscan.log *.ods *.zip *.~ +*.xlsx +*.csv +*.m4 +libtool globe_mats_cubic.cxx globe_mats_cubic jobGenerator.cxx diff --git a/CubicMesh.cxx b/CubicMesh.cxx index 0b66c09..f5fb4db 100644 --- a/CubicMesh.cxx +++ b/CubicMesh.cxx @@ -457,7 +457,7 @@ std::unique_ptr CubicMesh::subdivideMesh(const emInt nDivs, MSOut.nPrisms, MSOut.nHexes); // Copy length scale data from the other mesh. auto wrappedData = outMesh.get(); - for (emInt vv = 0; vv < numVerts(); vv++) { + for (emInt vv = 0; vv < MSIn.nVerts; vv++) { wrappedData->setLengthScale(vv, m_lenScale[vv]); }