[deal.II] Adding the manifold ID to a DataOutFaces

2020-04-08 Thread Bruno Blais
Dear all, I hope you are well. I am currently working extensively with adaptive mesh refinement and I feel the need to output the 2D boundary surface of my 3D mesh (thus a dim=2, spacedim=3 type of problem) I have realized there is an amazing Data out object that exists DataOutFaces which does

Re: [deal.II] ABOUT ASSEMBLING RIGHT HAND SIDE

2020-04-08 Thread 孙翔
Dear Wolfgang, Thank you very much. I will try to see what happened by myself. Best, Xiang On Wednesday, 8 April 2020 10:46:04 UTC-7, Wolfgang Bangerth wrote: > > On 4/8/20 10:20 AM, 孙翔 wrote: > > > > I tried the zero boundary and it can get a correct answer. I truly used > the > > function

Re: [deal.II] ABOUT ASSEMBLING RIGHT HAND SIDE

2020-04-08 Thread Wolfgang Bangerth
On 4/8/20 10:20 AM, 孙翔 wrote: I tried the zero boundary and it can get a correct answer. I truly used the function for the matrix once in a time loop. In the new time loop, I have updated the system matrix and vector. I am trying to debug it. Could you help me review the code? If it is a stup

Re: [deal.II] ABOUT ASSEMBLING RIGHT HAND SIDE

2020-04-08 Thread Wolfgang Bangerth
On 4/7/20 5:31 PM, 孙翔 wrote: I applied a Dirichlet boundary condition after I formed system matrixes and vectors, then use the method you taught in the lecture to change the entries in the system matrix and rhs vector. Could I upload the code here in order to make it clear? You can, but you