Re: [deal.II] SLEPcWrapper eigenvalue solver

2022-02-22 Thread Léonhard YU
Thanks for your reply, professor. I found that I should use the function make_zero_boundary_constraints with boudary_id rather that the overloaded function in step-36. I think my problem is solved, Have a nice day! Best W. (smile) Le mercredi 23 février 2022 à 11:14:56 UTC+8, Wolfgang

Re: [deal.II] SLEPcWrapper eigenvalue solver

2022-02-22 Thread Wolfgang Bangerth
On 2/22/22 20:01, Léonhard YU wrote: Hello my friends, I am dealing with solid system eigenvalue problem, and I follow step-36 to construct the code. But how can I apply boundary values? I need to give a constraint boundary to system but step-36 is not clear about that. step-36 uses zero

[deal.II] SLEPcWrapper eigenvalue solver

2022-02-22 Thread Léonhard YU
Hello my friends, I am dealing with solid system eigenvalue problem, and I follow step-36 to construct the code. But how can I apply boundary values? I need to give a constraint boundary to system but step-36 is not clear about that. Waiting and Thanks to your help. -- The deal.II project is

Re: [deal.II] PETSc SNES implementation in deal.ii

2022-02-22 Thread Timo Heister
Hi Lorenzo, I didn't look at your code, but I can help with this: > however i am not sure how to extract PETSc Vec object from > PETScWrappers::MPI::Vector without passing from a PETScWrapper::VectorBase. You should be able to use the conversion operator

Re: [deal.II] Re: Cluster installation error with symengine library

2022-02-22 Thread Timo Heister
Do you have $SYMENGINE_DIR defined in your environment? If yes, "unset SYMENGINE_DIR" might help. On Tue, Feb 22, 2022 at 10:08 AM Stephanie Sparks wrote: > > Timo, > > I did try to install from scratch and I'm getting the same error: > > Could not find the symengine library! > > Please ensure

[deal.II] deal.II Newsletter #202

2022-02-22 Thread 'Rene Gassmoeller' via deal.II User Group
Hello everyone! This is deal.II newsletter #202. It automatically reports recently merged features and discussions about the deal.II finite element library. ## Below you find a list of recently proposed or merged features: #13436: Move a couple of functions out of line. (proposed by bangerth)

Re: [deal.II] Re: SolverControl stopping criteria

2022-02-22 Thread Wolfgang Bangerth
On 2/22/22 07:48, Yang Liu wrote: It seems that all the three derived classes of SolverControl have the stopping criteria that are based on the residual l_2 norm. The argument `check_value' in the function SolverControl::check() is provided as the residual l_2 norm. I wonder how to provide

[deal.II] Re: SolverControl stopping criteria

2022-02-22 Thread Bruno Turcksin
Yang, Sorry, my bad. I think the only way to do what you want, is to modify the code inside deal.II You need to modify this function You will need to change the second argument of iteration_status()

Re: [deal.II] Re: Cluster installation error with symengine library

2022-02-22 Thread Stephanie Sparks
Timo, I did try to install from scratch and I'm getting the same error: *Could not find the symengine library!* *Please ensure that a suitable symengine library is installed on your computer.* I turned off symengine in the candi.cfg file and deleted the installation library so I'm not sure

[deal.II] Re: SolverControl stopping criteria

2022-02-22 Thread Yang Liu
Hi Bruno, It seems that all the three derived classes of SolverControl have the stopping criteria that are based on the residual l_2 norm. The argument `check_value' in the function SolverControl::check() is provided as the residual l_2 norm. I wonder how to provide the