On Wed, 9 Feb 2011, Aron Ahmadia wrote: > link to the source of DMCreateGlobalVector from > http://www.mcs.anl.gov/petsc/petsc-as/snapshots/petsc-dev/docs/manualpages/DM/DMCreateGlobalVector.html > > goes to a broken url: > http://www.mcs.anl.gov/petsc/petsc-as/snapshots/petsc-dev/src/dm/da/interface/dm.c.html#DMCreateGlobalVector > > the functional url is: > http://www.mcs.anl.gov/petsc/petsc-as/snapshots/petsc-dev/src/dm/interface/dm.c.html > > Also, this really annoys me: > > 234: *PetscErrorCode > <http://www.mcs.anl.gov/petsc/petsc-as/snapshots/docs/manualpages/Sys/PetscErrorCode.html#PetscErrorCode> > DMCreateGlobalVector > <http://www.mcs.anl.gov/petsc/petsc-as/snapshots/docs/manualpages/DM/DMCreateGlobalVector.html#DMCreateGlobalVector>(DM > <http://www.mcs.anl.gov/petsc/petsc-as/snapshots/docs/manualpages/DM/DM.html#DM> > dm,Vec > <http://www.mcs.anl.gov/petsc/petsc-as/snapshots/docs/manualpages/Vec/Vec.html#Vec> > *vec)*235: { > 239: (*dm->ops->createglobalvector)(dm,vec);240: return(0);241: }
pushed a fix - website will get updated tonight. [will see if the links are correct then] > I went through the documentation to find out how DMCreateGlobalVector > is implemented. What's the mnemonic for finding the definition of the > above function (or I guess, multiple definitions since this appears to > be a 'virtual function' in C). tags-search with emacs? satish
