<div dir="ltr"><pre> Hi everybody, I am trying to set the coordinates of a non-uniform <span style class="">dm</span>, and to do <br>so I found the function <span style class="">DMSetCoordinates</span>(<span style class="">DM</span> <span style class="">dm</span>, <span style class="">Vec</span> c), but the problem is I didn't<br>
find in the website manual any example of how to use it, so I don't know how to set<br>the vector "c" in the function prototype, I mean, is this a common vector, or one <br>declared with <span style class="">DMCreateGlobalVector</span> (which doesn't make much sense but I don't know <br>
for sure ) ?<br> And more importantly, how should I organize the coordinates I want to set inside<br>the vector "c" ?<br> <br> Thanks in advance, and happy new year.<br></pre><pre>
<br>
</pre></div>