If I comment out the following line, projected result and expected result are the same: ierr = DMAddBoundary(dm, PETSC_TRUE, "fixed", "Face Sets",0,Ncomp,restrictall,(void (*)()) zero_vector, Nfid,fid,NULL);CHKERRQ(ierr); Please find attached the test example and the test mesh. I run it with: -disp_petscspace_order 2 -stress_petscspace_order 2 Thanks, Max |
projectfieldtest.c
Description: Binary data
testcube.msh
Description: Binary data
|
