Re: [Libmesh-devel] init_context

2011-08-30 Thread Roy Stogner
On Tue, 30 Aug 2011, Truman Ellis wrote: > So it is a performance issue? Yes. If you don't prerequest anything, then everything gets calculated by FE::reinit. If you prerequest some things, then only those things get calculated. > How does this handle p-adaptivity? It assumes that you want

Re: [Libmesh-devel] init_context

2011-08-30 Thread Truman Ellis
On 08/30/2011 03:00 PM, John Peterson wrote: > On Tue, Aug 30, 2011 at 1:57 PM, Truman Ellis wrote: >> I have a question about FEMSystem::init_context and inherited instances like >> NavierSystem::init_context from example 18. Why is it necessary to call >> get_JxW(), get_phi(), etc? In FEMSystem:

Re: [Libmesh-devel] init_context

2011-08-30 Thread John Peterson
On Tue, Aug 30, 2011 at 1:57 PM, Truman Ellis wrote: > I have a question about FEMSystem::init_context and inherited instances like > NavierSystem::init_context from example 18. Why is it necessary to call > get_JxW(), get_phi(), etc? In FEMSystem::assembly() this is only called once > before we h

[Libmesh-devel] init_context

2011-08-30 Thread Truman Ellis
I have a question about FEMSystem::init_context and inherited instances like NavierSystem::init_context from example 18. Why is it necessary to call get_JxW(), get_phi(), etc? In FEMSystem::assembly() this is only called once before we have actually started looping over any elements. Furthermore, a