Re: [deal.II] How to use a function avoiding to pass some of its arguments

2016-11-08 Thread Wolfgang Bangerth
On 11/08/2016 05:42 PM, Hamed Babaei wrote: Since I use Newton method and I want to apply boundary displacement as constraint, I should apply constraint only in zero Newton iteration. So I can not do so in setup_system but after assembly. I followed step-44 for that. Then keep two ConstraintM

Re: [deal.II] How to use a function avoiding to pass some of its arguments

2016-11-08 Thread Hamed Babaei
Dear Wolfgang, Since I use Newton method and I want to apply boundary displacement as constraint, I should apply constraint only in zero Newton iteration. So I can not do so in setup_system but after assembly. I followed step-44 for that. Thanks, On Tuesday, November 8, 2016 at 6:28:17 PM UT

Re: [deal.II] How to use a function avoiding to pass some of its arguments

2016-11-08 Thread Wolfgang Bangerth
On 11/08/2016 05:19 PM, Hamed Babaei wrote: DoFTools::make_sparsity_pattern (dof_handler, sp, constraints, false, Utilities::MPI::this_mpi_process

[deal.II] How to use a function avoiding to pass some of its arguments

2016-11-08 Thread Hamed Babaei
Hi all, I want to use the following function: DoFTools::make_sparsity_pattern (dof_handler, sp, constraints, false, Utilities::MPI::this_mpi_process