~ubuntu-branches/ubuntu/warty/petsc/warty

« back to all changes in this revision

Viewing changes to src/sys/src/viewer/impls/socket/send.c

  • Committer: Bazaar Package Importer
  • Author(s): Adam C. Powell, IV
  • Date: 2004-06-07 13:41:43 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040607134143-92p586zrauvie0le
Tags: 2.2.0-2
* Upstream patch level 2.
* New PETSC_BOPT_EXTRA option for different BOPT and lib names, with _c++
  symlinks only for plain and single (closes: #249617).
* New DEBIAN_DIST=contrib option to link with hypre, parmetis (closes:
  #249619).
* Combined petsc-c and petsc-fortran substvars into petsc-compilers.
* Extra quote in -dev prerm eliminates "too many arguments" problem.

Show diffs side-by-side

added added

removed removed

Lines of Context:
161
161
$    VecView(Vec vector,PetscViewer viewer)
162
162
 
163
163
   Options Database Keys:
164
 
   For use with the default Matlab PetscViewer, PetscViewer_SOCKET_WORLD or if 
 
164
   For use with the default Matlab PetscViewer, PETSC_VIEWER_SOCKET_WORLD, PETSC_VIEWER_SOCKET_SELF,
 
165
   PETSC_VIEWER_SOCKET_() or if 
165
166
    PETSC_NULL is passed for machine or PETSC_DEFAULT is passed for port
166
167
$    -viewer_socket_machine <machine>
167
168
$    -viewer_socket_port <port>
242
243
EXTERN_C_END
243
244
 
244
245
#undef __FUNCT__  
245
 
#define __FUNCT__ "PetscViewerSocketSetConnection" 
 
246
#define __FUNCT__ "PetscViewerSocketSetConnection"
 
247
/*@C
 
248
      PetscViewerSocketSetConnection - Sets the machine and port that a PETSc socket 
 
249
             viewer is to use
 
250
 
 
251
  Collective on PetscViewer
 
252
 
 
253
  Input Parameters:
 
254
+   v - viewer to connect
 
255
.   machine - host to connect to
 
256
-   port - the port on the machine one is connecting to
 
257
 
 
258
    Level: advanced
 
259
 
 
260
.seealso: PetscViewerSocketOpen()
 
261
@*/ 
246
262
int PetscViewerSocketSetConnection(PetscViewer v,const char machine[],int port)
247
263
{
248
264
  int                ierr,rank;
284
300
*/
285
301
static int Petsc_Viewer_Socket_keyval = MPI_KEYVAL_INVALID;
286
302
 
 
303
 
287
304
#undef __FUNCT__  
288
305
#define __FUNCT__ "PETSC_VIEWER_SOCKET_"  
289
306
/*@C