Skip to content

Commit

Permalink
Merging develop into master
Browse files Browse the repository at this point in the history
  • Loading branch information
Nightly Bot authored and cwsmith committed Mar 21, 2021
2 parents 6ae8ffd + 897ffda commit 30a332d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion ree/reeResidualFunctionals.cc
Original file line number Diff line number Diff line change
Expand Up @@ -710,12 +710,13 @@ static void getOrderedTetsandFaces(apf::Mesh* mesh, apf::MeshEntity* edge,
else {
apf::Up up;
mesh->getUp(edge, up);
apf::MeshEntity* firstFace;
apf::MeshEntity* firstFace = nullptr;
for (int i = 0; i < up.n; i++) {
if ( isOnDomainBoundary(mesh, up.e[i]) ) {
firstFace = up.e[i]; break;
}
}
PCU_ALWAYS_ASSERT(firstFace);
faces.push_back(firstFace);
mesh->getUp(firstFace, up);
PCU_ALWAYS_ASSERT(up.n == 1);
Expand Down
2 changes: 1 addition & 1 deletion test/xgc_split.cc
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ int main(int argc, char** argv)
char without_extension[256];
snprintf(without_extension,strlen(argv[3])-3,"%s",argv[3]);

char vtk_fname[32];
char vtk_fname[512];
sprintf(vtk_fname,"%s",without_extension);
pumi_mesh_write(m, vtk_fname, "vtk");

Expand Down

0 comments on commit 30a332d

Please sign in to comment.