<div dir="ltr">Hi,<div><br></div><div>I have a DM that that has 2 sections:</div><div> </div><div>section_0 has 2 dofs: u, v</div><div>section_1 has 1 dofs: p</div><div><br></div><div>and a SubDM created by DMCreateSubDM. SubDM only has section_1.</div><div><br></div><div>There are a global vector created with DM, and a local vector created with SubDM</div><div><br></div><div>Can I do GlobalToLocal between this 2 vectors? If yes, which DM should I use when calling GlobalToLocal.</div><div><br></div><div>Basically, I want </div><div>a global vec: [u1, v1, p1 u2, v2, p2, u3, v3, p3......]</div><div>to </div><div>local vec: [all dof p that belongs to this processor]<br></div><div><br></div><div><br></div><div>Thanks,</div><div>Yu-Sheng</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div>