[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fem-fenics questions
From: |
Daniel Kraft |
Subject: |
Re: fem-fenics questions |
Date: |
Mon, 03 Mar 2014 12:46:54 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 |
Hi!
On 2014-03-03 11:13, Marco Vassallo wrote:
> On Mon, Mar 3, 2014 at 8:53 AM, Daniel Kraft <address@hidden
> <mailto:address@hidden>> wrote:
>
> Hi!
>
> I've recently started playing around with fem-fenics, and it works very
> well for my application so far. Here are just some questions I came
> across and wanted to discuss:
>
> 1) Whenever I run my script using fem-fenics (presumably during the call
> to import_ufl_Problem), I see a cc1plus process popping up and using 10
> s or so finish. (This can also be seen with the Poisson example.) I
> understand that this is necessary to compile my UFL form. Is it
> possible to somehow skip this step unless the UFL file was changed? It
> takes a not negligible amount of processing time for my code and I don't
> think the UFL file will change often.
>
> Yes we should improve it. For the moment you can do as follow:
>
> Go to the file generate_makefile.m in the private directory and remove
> line 59:
>
> rm -f Makefile _@@UFL_NAME@@\n\
>
> In this way the makefile is not removed after you call the
> import_ufl_problem() function
> and thus the file Poisson.ufl should not be compiled again.
>
> Otherwise, you can just comment import_ufl_problem() in your script file
> after that it has been called the first time.
> If you don't change the .ufl file you don't need to run it again.
Thanks for the suggestions! I will probably just comment the
import_ufl_Problem line for now, that should be good enough for me.
Yours,
Daniel
--
http://www.domob.eu/
OpenPGP: 901C 5216 0537 1D2A F071 5A0E 4D94 6EED 04F7 CF52
Namecoin: id/domob -> https://nameid.org/?name=domob
--
Done: Arc-Bar-Cav-Hea-Kni-Ran-Rog-Sam-Tou-Val-Wiz
To go: Mon-Pri
- fem-fenics questions, Daniel Kraft, 2014/03/03
- Re: fem-fenics questions, Marco Vassallo, 2014/03/03
- Re: fem-fenics questions,
Daniel Kraft <=
- Re: fem-fenics questions, Marco Vassallo, 2014/03/03
- Re: fem-fenics questions, Daniel Kraft, 2014/03/03
- Re: fem-fenics questions, Marco Vassallo, 2014/03/03
- Re: fem-fenics questions, Daniel Kraft, 2014/03/04
- Re: fem-fenics questions, Marco Vassallo, 2014/03/04
- Re: fem-fenics questions, Daniel Kraft, 2014/03/04
- Re: fem-fenics questions, Marco Vassallo, 2014/03/04
- Re: fem-fenics questions, Marco Vassallo, 2014/03/04
- Re: fem-fenics questions, c., 2014/03/04