[petsc-users] plexvtk viewer

Matthew Knepley knepley at gmail.com
Thu May 9 17:44:21 CDT 2013


On Thu, May 9, 2013 at 11:11 AM, Dharmendar Reddy
<dharmareddy84 at gmail.com>wrote:

> Hello,
>          I am getting an error, when i try to vec view for dofs defined on
> nodes and cell centers.  I find this error massage strange, i am the dofs
> belong to different fields, why is it considered a mixed type object? It
> works if us fileds with only nodal or only cell dofs
>
> Is it possible to support a case wehre i have few fields which are
> differed on nodes, and few which are defined on cell (this are usually
> auxiliary variables providing information such as material parameters).
> Attached a test case
>

This may be possible. You would have to change the PetscViewerVTKFieldType
to be bitflags. After that,
I am not sure if anything would break in the routine. I don't have much
time right now, but I will look at it
later if no one else gets to it.

  Thanks,

     Matt


> [0]PETSC ERROR: --------------------- Error Message
> ----------------------------
> --------
> [0]PETSC ERROR: No support for this operation for this object type!
> [0]PETSC ERROR: No support for viewing mixed space with dofs at both
> vertices an
> d cells!
> [0]PETSC ERROR:
> ----------------------------------------------------------------
> --------
> [0]PETSC ERROR: Petsc Development GIT revision:
> ba3d6699fe16b82fc53230ec60dd42b2
> a6c4d965  GIT Date: 2013-05-09 07:57:34 -0500
> [0]PETSC ERROR: See docs/changes/index.html for recent updates.
> [0]PETSC ERROR: See docs/faq.html for hints about trouble shooting.
> [0]PETSC ERROR: See docs/index.html for manual pages.
> [0]PETSC ERROR:
> ----------------------------------------------------------------
> --------
> [0]PETSC ERROR: ./testDMView on a mpi_rScalar_Debug named
> login1.stampede.tacc.u
> texas.edu by Reddy135 Thu May  9 11:04:50 2013
> [0]PETSC ERROR: Libraries linked from
> /home1/00924/Reddy135/LocalApps/petsc/mpi_
> rScalar_Debug/lib
> [0]PETSC ERROR: Configure run at Thu May  9 08:52:27 2013
> [0]PETSC ERROR: Configure options   --download-blacs=1
> --download-ctetgen=1 --do
> wnload-metis=1 --download-mumps=1 --download-parmetis=1
> --download-scalapack=1 -
> -download-superlu_dist=1 --download-triangle=1 --download-umfpack=1
> --with-blas-
> lapack-dir=/opt/apps/intel/13/composer_xe_2013.2.146/mkl/lib/intel64/
> --with-deb
> ugging=1 --with-mpi-dir=/opt/apps/intel13/mvapich2/1.9/
> --with-petsc-arch=mpi_rS
> calar_Debug --with-petsc-dir=/home1/00924/Reddy135/LocalApps/petsc
> PETSC_ARCH=mp
> i_rScalar_Debug
> [0]PETSC ERROR:
> ----------------------------------------------------------------
> --------
> [0]PETSC ERROR: VecView_Plex_Local() line 42 in
> /home1/00924/Reddy135/LocalApps/
> petsc/src/dm/impls/plex/plex.c
> [0]PETSC ERROR: VecView() line 706 in
> /home1/00924/Reddy135/LocalApps/petsc/src/
> vec/vec/interface/vector.c
> login1$
>
>
>
> --
> -----------------------------------------------------
> Dharmendar Reddy Palle
> Graduate Student
> Microelectronics Research center,
> University of Texas at Austin,
> 10100 Burnet Road, Bldg. 160
> MER 2.608F, TX 78758-4445
> e-mail: dharmareddy84 at gmail.com
> Phone: +1-512-350-9082
> United States of America.
> Homepage: https://webspace.utexas.edu/~dpr342
>



-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130509/8d758a2e/attachment-0001.html>


More information about the petsc-users mailing list