Re: [deal.II] Interpolate correct solution onto mesh using interpolate() with FE_Bernstein elements

2019-05-20 Thread Wolfgang Bangerth
On 5/20/19 6:26 AM, 'Maxi Miller' via deal.II User Group wrote: > I wrote a drop-in function which can replace VectorTools::interpolate, but > works for both FE_Q and FE_Bernstein (not tested yet for other elements). Is > it useful to have something like that in the library, and if yes, what is

Re: [deal.II] prepare_for_coarsening_and_refinement() for FE_Bernstein-elements

2019-05-20 Thread Wolfgang Bangerth
On 5/20/19 5:18 AM, 'Maxi Miller' via deal.II User Group wrote: > Trying to transfer solutions from an old grid to a new grid with > parallel::distributed::SolutionTransfer DoFHandler> solution_transfer() and > solution_transfer.prepare_for_coarsening_and_refinement() fails with > | > Anerror

Re: [deal.II] Problem Solving BlockSparsematrix system blockwise

2019-05-20 Thread Gabriel Peters
Hey Jean-Paul Thanks a lot, Now it works finely. Best regards Gabriel Gabriel Peters Endenicher Str. 310 53121 Bonn 00491525/5478185 gabriel.pet...@koeln.de Am 20.05.19 um 15:01 schrieb Jean-Paul Pelteret > Dear Gabriel, > > It looks to me like you forgot to dereference the shared pointer

Re: [deal.II] Problem Solving BlockSparsematrix system blockwise

2019-05-20 Thread Jean-Paul Pelteret
Dear Gabriel, It looks to me like you forgot to dereference the shared pointer for the preconditioner. So, solver_gmres.solve( system_matrix.block(0,0), distributed_solution.block(0), rhs.block(0), *Mp_preconditioner); // <— here You probably have the same problem for the other call.

Re: [deal.II] Interpolate correct solution onto mesh using interpolate() with FE_Bernstein elements

2019-05-20 Thread 'Maxi Miller' via deal.II User Group
I wrote a drop-in function which can replace VectorTools::interpolate, but works for both FE_Q and FE_Bernstein (not tested yet for other elements). Is it useful to have something like that in the library, and if yes, what is the best way for proof-checking and integrating? Thanks! Am

[deal.II] Problem Solving BlockSparsematrix system blockwise

2019-05-20 Thread Gabriel Peters
Hey everyone, I have a problem at solving a blocksystem. I have a matrix called "system_matrix" in Blockform M = [[A,0],[B,C]] and I want to solve classical Mx = F. (F = [f,0], x = [x1,x2]) I proceed according to the LinearSolvers class in the step-32 tutorial. so by blockwise solving the

Re: [deal.II] Interpolate correct solution onto mesh using interpolate() with FE_Bernstein elements

2019-05-20 Thread 'Maxi Miller' via deal.II User Group
That works, thanks! Am Donnerstag, 16. Mai 2019 22:00:23 UTC+2 schrieb luca.heltai: > > > > On 16 May 2019, at 9:16, 'Maxi Miller' via deal.II User Group < > dea...@googlegroups.com > wrote: > > > > I would like to use the interpolate()-function to interpolate the > correct function onto my

[deal.II] prepare_for_coarsening_and_refinement() for FE_Bernstein-elements

2019-05-20 Thread 'Maxi Miller' via deal.II User Group
Trying to transfer solutions from an old grid to a new grid with parallel::distributed::SolutionTransfer> solution_transfer() and solution_transfer.prepare_for_coarsening_and_refinement() fails with An error occurred in line <71> of file <~/Downloads/git-files/dealii/source/ fe/fe_bernstein.cc>

Re: [deal.II] Re: deal.II User and Developer Workshop: August 6-9, 2019

2019-05-20 Thread Wolfgang Bangerth
On 5/14/19 5:59 AM, Seb wrote: > Do you have an idea when users will get a notice of acceptance (so they can > plan travel & etc. accordingly) Seb & all, we have made a selection for the Summer School that precedes the workshop, and participants have already or will soon receive notifications.