Re: [deal.II] what is the material id after coarsening

2017-09-13 Thread Wolfgang Bangerth
On 09/13/2017 09:59 AM, Zhibo Luo wrote: Thank you Prof. Wolfgan. I just realize that. So if I want to coarsen the neighbored cells with the same material id, I should find their parent cell and set the same material id. Is this right? You can. What I'm saying is that if you had set the

Re: [deal.II] what is the material id after coarsening

2017-09-13 Thread Zhibo Luo
Thank you Prof. Wolfgan. I just realize that. So if I want to coarsen the neighbored cells with the same material id, I should find their parent cell and set the same material id. Is this right? Best regards, Zhibo 在 2017年9月13日星期三 UTC-4上午11:49:38,Wolfgang Bangerth写道: > > On 09/13/2017 09:12

Re: [deal.II] what is the material id after coarsening

2017-09-13 Thread Wolfgang Bangerth
On 09/13/2017 09:12 AM, Zhibo Luo wrote: I encountered a problem recently when I refine and coarse mesh. I know the material id is inherited from mother to child cell upon mesh refinement. But what is the rules when coarsening the mesh? For example, in 2D, I have four neighbored cells which

[deal.II] what is the material id after coarsening

2017-09-13 Thread Zhibo Luo
Hi guys, I encountered a problem recently when I refine and coarse mesh. I know the material id is inherited from mother to child cell upon mesh refinement. But what is the rules when coarsening the mesh? For example, in 2D, I have four neighbored cells which have different material ids, then

[deal.II] Re: Linking error when compiling with Trilinos

2017-09-13 Thread Bruno Turcksin
Hi, You have several problems. On Wednesday, September 13, 2017 at 4:58:10 AM UTC-4, Maxi Miller wrote: > > ~/local_opt/trilinos/lib/libmuelu-adapters.so: error: undefined reference > to 'dmumps_c' > You have compile deal or trilinos with MUMPS support but the linker does not find it

Re: [deal.II] PETScWrappers::SparseDirectMUMPS use in parallel version of step-22

2017-09-13 Thread Timo Heister
Anna, > Now with parallel implementation I would like to use > PETScWrappers::SparseDirectMUMPS instead of SparseDirectUMFPACK. > > However I am getting the following error: > > error: ‘SparseDirectMUMPS’ in namespace ‘LA’ does not name a type > typedef LA::SparseDirectMUMPS type; You have to

Re: [deal.II] Parallel implementation

2017-09-13 Thread Anna Avdeeva
Dear Wolfgang, thank you very much for the link. I have followed their approach, but before I can check the result, I have to substitute the solver I used for a parallel solver. Anna -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see

[deal.II] PETScWrappers::SparseDirectMUMPS use in parallel version of step-22

2017-09-13 Thread Anna Avdeeva
Dear All, I have modified step-22 to solve system of Maxwell's equations, and then used step-40(and 55) to parallelize the code. In the serial version I used template struct InnerPreconditioner; template<> struct InnerPreconditioner<0> { typedef SparseDirectUMFPACK type; }; template<> struct