How to zero all values on a particular row?

2007-06-11 Thread Ben Tay
,MAT_KEEP_ZEROED_ROWS); before the matzerorows() Thanks -- next part -- An HTML attachment was scrubbed... URL: http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20070611/14542890/attachment.htm

Error installing PETSc with --download-triangle

2007-06-11 Thread Matthew Knepley
Yes, I fixed this error after release. If you a) Remove externalPackages/Triangle b) Reconfigure It should pull the new package and work. Thanks, Matt On 6/10/07, Shi Jin jinzishuai at yahoo.com wrote: Hi there, I am studying the tutorial given at

Error installing PETSc with --download-triangle

2007-06-11 Thread Shi Jin
Thanks but I am not exactly sure how I can get your changes. I've tried the latest petsc-dev and 2.3.3-p2, they both give me * UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details):

cannot find Python module Cxx and Cxxhelper

2007-06-11 Thread Shi Jin
Hi, I am trying to use the FIAT external package and when it calls the FEM.py at $PETSC_DIR/python/PETSc, I always get the error: ImportError: No module named Cxx I figured out it is cause by the line import Cxx, CxxHelper I searched online and could only find a Python module called PyCXX. The

PETSc support for second-order elements?

2007-06-11 Thread Shi Jin
Hi there, I am learning the PETSc tools provided in the latest version to deal with unstructured grid. I realize that with functions such as MeshCreatePCICE(MeshCreatePyLith), we can load the mesh directly from files, in the PCICE (PyLith) format. This is really a great news for us. However, we