Skip to content

Commit

Permalink
bug fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
EamonnGlynn committed Jul 14, 2024
1 parent 8d8b3be commit b33651f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/pmpo_MPMesh_assembly.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,7 @@ void MPMesh::assemblyVtx1() {
int vID = elm2VtxConn(elm,i+1)-1; //vID = vertex id
for(int j=0;j<numEntries;j++){
double fieldComponentVal = mpData(mp,j) * weight(mp, 0);
double[4] CoordDiffs = {1,
vtxCoords(vID,0) - mpPositions(mp,0),
vtxCoords(vID,1) - mpPositions(mp,1),
vtxCoords(vID,2) - mpPositions(mp,2)};
double[4] CoordDiffs = {1, vtxCoords(vID,0) - mpPositions(mp,0), vtxCoords(vID,1) - mpPositions(mp,1), vtxCoords(vID,2) - mpPositions(mp,2)};
//add to the matrix
for(int k=0;k<4;k++){
for(int l=0;l<4;l++){
Expand Down

0 comments on commit b33651f

Please sign in to comment.