On Monday March 21 2011 08:15:37 Dupront wrote: > Question #149875 on DOLFIN changed: > https://answers.launchpad.net/dolfin/+question/149875 > > Status: Answered => Open > > Dupront is still having a problem: > > > But I don't understand what Reps=11 means for Assemble > > > cells. > > > > This is the number of times integrals over cells have been assembled. > > Thank you ! > Why 11 times ? > > So the cost of an newton iteration is mainly 1 time "Assemble cells" plus 1 > time LU Solver.
The cost per Newton iteration for the Hyperelastisity demo is: 1x assemble bilinear (Matrix) over cells 1x assemble linear (Vector) over cells 1x linear solve + 1 inital assemble linear (Vector) over cells. 5 Newton iterations = 11 assemble over cells. Johan > > To: michel.dupr...@hotmail.fr > > From: question149...@answers.launchpad.net > > Subject: Re: [Dolfin] [Question #149875]: assembly and resolution time > > Date: Mon, 21 Mar 2011 15:03:16 +0000 > > > > Your question #149875 on DOLFIN changed: > > https://answers.launchpad.net/dolfin/+question/149875 > > > > Status: Open => Answered > > > > Johan Hake proposed the following answer: > > > > On Monday March 21 2011 07:45:30 Dupront wrote: > > > Question #149875 on DOLFIN changed: > > > https://answers.launchpad.net/dolfin/+question/149875 > > > > > > Status: Answered => Open > > > > > > Dupront is still having a problem: > > > > > I am running the Hyperelastic demo and I would like > > > > > to know the assembly and resolution times. > > > > > Could somebody help me with this matter ? > > > > > > > > What do you mean? Do you need timings for the different steps? > > > > > > > > You can call the command summary() at the end of your program to get > > > > some information. > > > > > > Thank you very much for your promt answer. > > > > > > Yes I meant timing for the different steps including assembly and > > > resolution. > > > > > > Using the command summary() I get what follows. > > > Is there a documentation that explain the meaning of Reps. > > > Regarding newton I understand that Reps=5 means 5 > > > newton iterations. > > > But I don't understand what Reps=11 means for Assemble > > > cells. > > > > This is the number of times integrals over cells have been assembled. > > > > > Is the matrix updated at each newton iteration ? > > > > Yes. > > > > Johan > > > > > Summary of timings | Average time Total time Reps > > > ------------------------------------------------------------- > > > Assemble cells | 0.052189 0.57408 11 > > > Assemble exterior facets | 0.0026364 0.015818 6 > > > Build sparsity | 0.0035736 0.025015 7 > > > Delete sparsity | 8.7476e-07 6.1233e-06 7 > > > Init dofmap | 0.0020095 0.0040191 2 > > > Init tensor | 7.0271e-05 0.0004919 7 > > > LU solver | 0.34523 1.7262 5 > > > compute connectivity 0 - 3 | 0.001205 0.001205 1 > > > compute connectivity 2 - 3 | 0.00095892 0.00095892 1 > > > compute connectivity 3 - 3 | 0.030152 0.030152 1 > > > compute entities dim = 2 | 0.099474 0.099474 1 > > > > > > > To: michel.dupr...@hotmail.fr > > > > From: question149...@answers.launchpad.net > > > > Subject: Re: [Dolfin] [Question #149875]: assembly and resolution > > > > time Date: Mon, 21 Mar 2011 09:15:38 +0000 > > > > > > > > Your question #149875 on DOLFIN changed: > > > > https://answers.launchpad.net/dolfin/+question/149875 > > > > > > > > Status: Open => Answered > > > > > > > > Anders Logg proposed the following answer: > > > > > > > > On Mon, Mar 21, 2011 at 08:58:56AM -0000, Dupront wrote: > > > > > New question #149875 on DOLFIN: > > > > > https://answers.launchpad.net/dolfin/+question/149875 > > > > > > > > > > Hello, > > > > > > > > > > I am a new fenics user. > > > > > It is really amazing ! > > > > > > > > Thanks. > > > > > > > > > I am running the Hyperelastic demo and I would like > > > > > to know the assembly and resolution times. > > > > > Could somebody help me with this matter ? > > > > > > > > What do you mean? Do you need timings for the different steps? > > > > > > > > You can call the command summary() at the end of your program to get > > > > some information. > > > > > > > > -- > > > > Anders > > > > > > You received this question notification because you are a member of > > > DOLFIN Team, which is an answer contact for DOLFIN. > > > > > > _______________________________________________ > > > Mailing list: https://launchpad.net/~dolfin > > > Post to : dolfin@lists.launchpad.net > > > Unsubscribe : https://launchpad.net/~dolfin > > > More help : https://help.launchpad.net/ListHelp > > You received this question notification because you are a member of > DOLFIN Team, which is an answer contact for DOLFIN. > > _______________________________________________ > Mailing list: https://launchpad.net/~dolfin > Post to : dolfin@lists.launchpad.net > Unsubscribe : https://launchpad.net/~dolfin > More help : https://help.launchpad.net/ListHelp _______________________________________________ Mailing list: https://launchpad.net/~dolfin Post to : dolfin@lists.launchpad.net Unsubscribe : https://launchpad.net/~dolfin More help : https://help.launchpad.net/ListHelp