Re: [deal.II] Applying boundary conditions to a point on the boundary in MP framework

2023-04-19 Thread Wasim Niyaz Munshi ce21d400
I am running the program in debug mode and this is the error message that I get: Running with PETSc on 1 MPI rank(s)... Cycle 0: An error occurred in line <324> of file in function static void dealii::internal::DoFAccessorImplement

Re: [deal.II] Why does putting the "TimerOuput" before the "ConditionalOStream" leads to a seg fault?

2023-04-19 Thread Abbas
Goes without saying thanks Prof On Wednesday, April 19, 2023 at 4:50:03 PM UTC+2 Wolfgang Bangerth wrote: > On 4/19/23 08:33, Abbas B. wrote: > > ** > > > > I attached a simple .cc file that illustrates the tittle. > > Switching lines 18 and 19 leads to a segmentation fault and I would like >

Re: [deal.II] Why does putting the "TimerOuput" before the "ConditionalOStream" leads to a seg fault?

2023-04-19 Thread Wolfgang Bangerth
On 4/19/23 08:33, Abbas B. wrote: ** I attached a simple .cc file that illustrates the tittle. Switching lines 18 and 19 leads to a segmentation fault and I would like to know why out of curiosity. Abbas: This is a C++ question. Member variables are initialized in the order in which they are

[deal.II] Why does putting the "TimerOuput" before the "ConditionalOStream" leads to a seg fault?

2023-04-19 Thread Abbas B.
I attached a simple .cc file that illustrates the tittle. Switching lines 18 and 19 leads to a segmentation fault and I would like to know why out of curiosity. Would appreciate it. Thanks -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https:/

Re: [deal.II] Applying boundary conditions to a point on the boundary in MP framework

2023-04-19 Thread Daniel Arndt
Wasim, What does the backtrace in your debugger (gdb?) look like? Best, Daniel On Wed, Apr 19, 2023 at 7:27 AM Wasim Niyaz Munshi ce21d400 < ce21d...@smail.iitm.ac.in> wrote: > Hello everyone. > I am trying to apply a particular boundary condition at one single point > in the domain for a probl

[deal.II] Applying boundary conditions to a point on the boundary in MP framework

2023-04-19 Thread Wasim Niyaz Munshi ce21d400
Hello everyone. I am trying to apply a particular boundary condition at one single point in the domain for a problem very similar to step-40. I am using the following code to do it: for (const auto &cell : dof_handler.active_cell_iterators()) if (cell->is_locally_owned()) { for (const aut