On Mon, Sep 27, 2010 at 9:25 AM, Stefano Berrone <sberr...@calvino.polito.it> wrote: > We are developing a non stationary parallel adaptive code for Navier-Stokes > equations. In order to apply our error estimators and adaptive strategy > in an efficient way, we need to do not repartition the mesh in the > adaptive steps within a time-step, and to repartition the mesh just at > the end of each time-step after the computation of the solution on the > last mesh for that time-step. > We did some experiment without success. > Did someone solve similar problems before? Can someone help us? > > Is it correct that if we do not repartition the mesh after each > refinement/coarsening the new children produced by refinement and the > father made active by coarsening of elements on the same processor > should be local on the processor to which the old elements belong?
Hi Stefano, I believe that all partitioning is done from the MeshBase::prepare_for_use() which utilizes the _partitioner object stored by MeshBase. I wonder if you could write a "do-nothing" partitioner subclass, and substitute it for the "real" partitioner until you actually want to partition, at which point you could swap back in the real one? Another question, though, is why this is necessary? Performance? Are you using the Parallel mesh? If not, I doubt there is much performance penalty just caused by the repartitioning, though I could be wrong. -- John ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Libmesh-users mailing list Libmesh-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libmesh-users