<div id='cm_signature'> <br><br>Sent using <a
href="https://cloudmagic.com/k/d/mailapp?ct=pa&cv=7.4.10&pv=5.0.2&source=email_footer_2">CloudMagic
Email</a> </div><div class="cm_quote" style=" color: #787878">On Sun, Nov
08, 2015 at 7:41 PM, Matthew Knepley <<a
href="mailto:knepley@gmail.com">knepley@gmail.com</a>>
wrote:</div><br><div id="oldcontent" style="background: rgb(255, 255,
255);"><blockquote style=""><div dir="ltr"><div class="gmail_extra"><div
class="gmail_quote">On Sat, Nov 7, 2015 at 11:27 PM, TAY wee-beng <span
dir="ltr"><<a
href="mailto:zonexo@gmail.com">zonexo@gmail.com</a>></span>
wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I need to use DM structures of type PETScInt.<br>
<br>
I tried to use:<br>
<br>
DM da_cu_types<br>
<br>
Vec cu_types_local,cu_types_global<br>
<br>
PetscInt,pointer :: cu_types_array(:,:,:)<br>
<br>
Is this allowed? The cu_types_array is to be of integer type. Because I got
into problems compiling.</blockquote><div><br></div><div>We do not support
integer Vecs. You should use IS. What are you trying to
do?</div><div><br></div><div>
Matt</div><div></div></div></div></div></blockquote><div
id="ID_1446984484695"><br></div><div
id="ID_1446984484695">Hi, </div><div
id="ID_1446984484695"><br></div><div id="ID_1446984484695">I've a cfd code
and I need to separate cells inside or outside a body. I denote the inside
/boundary /outside cells as type =2/1/0. I've a subroutine which determines
the type in parallel and hence I need a Vec with integer type. Based on my
description, can I use Is? Is there an example I can
follow? </div><div id="ID_1446984484695"><br></div><div
id="ID_1446984484695">Thanks </div><blockquote class="" style=""><div
class="" style=""><div class="gmail_extra" style=""><div
class="gmail_quote" style=""><br></div><div> </div><blockquote
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc
solid;padding-left:1ex"><span><font color="#888888"><br>
-- <br>
Thank you.<br>
<br>
Yours sincerely,<br>
<br>
TAY wee-beng<br>
<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>--
<br><div>What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.<br>-- Norbert Wiener</div>
</div>
</blockquote></div>