On Thu, 18 Dec 2008, Yujie wrote: > Now, I have two System. One has two variables (v1s1,v2s1). The other has one > variable (v1s2). They use the same mesh. In parallel mode, what is the > ralationship between their dofs? > > To my knowledge, if I use two cpus and use > the variable-major mode and the same shape functions
What is your motivation for wanting to second-guess the DoF indexing to begin with? It's probably not, "I wish my code would break if I changed one of the variables' approximation orders", so there's got to be some other problem which you're trying to solve. Whatever that problem is, there ought to be a better way to solve it. Either there's a DofObject or DofMap API that can do what you want, and you should use it... or there isn't such an API, and we should add it. > that is, assuming the number of mesh points is n1, if I want to get the > relationship between v1s2 and v1s1 in the second cpu, it should be > d1_c2_v1s2=d1_c2_v1s1-n1, right? thanks a lot. Independent Systems have independently indexed DoF coefficient vectors; they overlap. If I'm understanding your notation right, then d1_c2_v1s2=d1_c2_v1s1. --- Roy ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
