Re: [deal.II] Finite Strain Compressibility problem with PETSc Data Structures

2021-01-18 Thread Wolfgang Bangerth
On 1/18/21 1:29 PM, Animesh Rastogi IIT Gandhinagar wrote: How should I initialize the "index set" that is required for this function? In step-17

Re: [deal.II] Finite Strain Compressibility problem with PETSc Data Structures

2021-01-18 Thread Animesh Rastogi IIT Gandhinagar
Dear Prof. Bangerth, Thank you for your reply. I have changed the required data structures using PETSc wrappers. I have another doubt regarding this. Since I am running on a single machine, how should I use the reinit() function for PETSc Sparse Matrix. I was thinking to use the (3/5th)

Re: [deal.II] Multiple FESystem

2021-01-18 Thread Wolfgang Bangerth
Question (1) Does it mean when I distribute the dofs, I should do it twice with the same dof_handler? dof_handler.distribute_dofs(fe_one); dof_handler.distribute_dofs(fe_two); The latter would overwrite the former. But because your two elements are the same, the second operation in

Re: [deal.II] ADOL-C not found through SPACK installation of deal.ii 9.2

2021-01-18 Thread Behrooz Karami
Hi Jean-Paul, It was another to the point advice which resolved the issue completely. Much appreciated. Best, Behrooz On Sun, Jan 17, 2021 at 2:30 PM Jean-Paul Pelteret wrote: > Hi Behrooz, > > When you install deal.II using Spack, it is completely isolated from the > system environment. That

Re: [deal.II] Multiple FESystem

2021-01-18 Thread Karthikeyan Chockalingam
I realized the mistake I was making, since all my sub-problems share the same fe space. I don't need a vector of FESystem or FEValues but just one object of each object for all my sub-problems. Best, Karthi. On Sun, Jan 17, 2021 at 4:48 PM Karthikeyan Chockalingam <