| /petsc/src/sys/classes/viewer/impls/socket/ |
| H A D | send.c | 63 if (vmatlab->port) { in PetscViewerDestroy_Socket() 67 ierr = closesocket(vmatlab->port); in PetscViewerDestroy_Socket() 69 ierr = close(vmatlab->port); in PetscViewerDestroy_Socket() 313 PetscErrorCode PetscViewerSocketOpen(MPI_Comm comm, const char machine[], int port, PetscViewer *la… argument 318 PetscCall(PetscViewerSocketSetConnection(*lab, machine, port)); 383 vmatlab->port = 0; 414 PetscErrorCode PetscViewerSocketSetConnection(PetscViewer v, const char machine[], int port) argument 426 if (port <= 0) { 432 PetscCall(PetscMPIIntCast(pport, &port)); 433 } else port = PETSCSOCKETDEFAULTPORT; [all …]
|
| H A D | socket.h | 9 int port; member
|
| /petsc/lib/petsc/bin/saws/ |
| H A D | SAWs.py | 16 port = os.getenv('SAWS_PORT') variable 17 if not port: 18 port = '8080' variable 19 url = 'http://'+host+':'+port+'/SAWs'
|
| /petsc/src/sys/classes/viewer/impls/glvis/ |
| H A D | glvis.c | 14 PetscInt port; /* used just for the socket case */ member 214 PetscCall(PetscViewerASCIISocketOpen(PETSC_COMM_SELF, socket->name, socket->port, &window)); in PetscViewerGLVisGetNewWindow_Private() 566 PetscInt port = 19916; in PetscViewerFileSetName_GLVis() local 572 ierr = PetscOptionsStringToInt(sport, &port); in PetscViewerFileSetName_GLVis() 574 socket->port = 19916; in PetscViewerFileSetName_GLVis() 576 socket->port = (port != PETSC_DECIDE && port != PETSC_DEFAULT) ? port : 19916; in PetscViewerFileSetName_GLVis() 609 …pen(MPI_Comm comm, PetscViewerGLVisType type, const char name[], PetscInt port, PetscViewer *viewe… in PetscViewerGLVisOpen() argument 623 socket->port = (!port || port == PETSC_DETERMINE || port == PETSC_DECIDE) ? 19916 : port; in PetscViewerGLVisOpen() 662 PetscInt port = 19916; /* default for GLVis */ in PETSC_VIEWER_GLVIS_() local 671 if (flg) PetscCallNull(PetscOptionsStringToInt(sport, &port)); in PETSC_VIEWER_GLVIS_() [all …]
|
| /petsc/src/ksp/ksp/tutorials/output/ |
| H A D | ex2_help.out | 75 -mat_view socket[:port]: Pushes object to a Unix socket (PetscOptionsCreateViewer) 87 -ksp_monitor socket[:port]: Pushes object to a Unix socket (PetscOptionsCreateViewer) 93 -ksp_monitor_short socket[:port]: Pushes object to a Unix socket (PetscOptionsCreateViewer) 99 -all_ksp_monitor socket[:port]: Pushes object to a Unix socket (PetscOptionsCreateViewer) 105 -ksp_monitor_range socket[:port]: Pushes object to a Unix socket (PetscOptionsCreateViewer) 111 …-ksp_monitor_true_residual socket[:port]: Pushes object to a Unix socket (PetscOptionsCreateViewer) 117 -ksp_monitor_max socket[:port]: Pushes object to a Unix socket (PetscOptionsCreateViewer) 123 -ksp_monitor_solution socket[:port]: Pushes object to a Unix socket (PetscOptionsCreateViewer) 129 …-ksp_monitor_singular_value socket[:port]: Pushes object to a Unix socket (PetscOptionsCreateViewe… 135 -ksp_monitor_error socket[:port]: Pushes object to a Unix socket (PetscOptionsCreateViewer) [all …]
|
| /petsc/src/sys/classes/draw/interface/ |
| H A D | dviewp.c | 345 PetscErrorCode PetscDrawViewPortsSet(PetscDrawViewPorts *ports, PetscInt port) in PetscDrawViewPortsSet() argument 350 …port >= 0 && (port <= ports->nports - 1), PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "Port is out … in PetscDrawViewPortsSet() 351 …Call(PetscDrawSetViewPort(ports->draw, ports->xl[port], ports->yl[port], ports->xr[port], ports->y… in PetscDrawViewPortsSet()
|
| /petsc/doc/install/ |
| H A D | index.md | 22 - MacPorts: <https://ports.macports.org/port/petsc> 23 : `sudo port install petsc`
|
| /petsc/src/sys/classes/viewer/impls/mathematica/ |
| H A D | mathematica.c | 269 PetscErrorCode PetscViewerMathematicaSetLinkPort(PetscViewer v, int port) in PetscViewerMathematicaSetLinkPort() argument 274 snprintf(name, 16, "%6d", port); in PetscViewerMathematicaSetLinkPort() 338 PetscErrorCode PetscViewerMathematicaOpen(MPI_Comm comm, int port, const char machine[], const char… in PetscViewerMathematicaOpen() argument 344 PetscCall(PetscViewerMathematicaSetLinkPort(*v, port)); in PetscViewerMathematicaOpen()
|
| /petsc/src/sys/webclient/ |
| H A D | client.c | 297 PetscErrorCode PetscHTTPSConnect(const char host[], int port, SSL_CTX *ctx, int *sock, SSL **ssl) in PetscHTTPSConnect() argument 303 PetscCall(PetscOpenSocket(host, port, sock)); in PetscHTTPSConnect()
|
| /petsc/doc/manual/ |
| H A D | matlab.md | 86 PetscViewerSocketOpen(MPI_Comm,char *machine,int port,PetscViewer *v); 89 (`port` is usually set to `PETSC_DEFAULT`; use `NULL` for the 108 provided a port number in your call to `PetscViewerSocketOpen()`), and
|
| H A D | other.md | 260 `PetscViewerSocketOpen(MPI_Comm comm, char *machine, int port, PetscViewer *viewer)`. 385 - `-saws_port_auto_select` - have SAWs pick a port number instead of 387 - `-saws_port port` - use `port` instead of 8080.
|
| /petsc/src/sys/objects/ |
| H A D | pinit.c | 625 int port; in PetscInitializeSAWs() local 645 PetscCallSAWs(SAWs_Get_Available_Port, (&port)); in PetscInitializeSAWs() 646 PetscCallSAWs(SAWs_Set_Port, (port)); in PetscInitializeSAWs() 648 PetscCall(PetscOptionsGetInt(NULL, NULL, "-saws_port", &port, &flg)); in PetscInitializeSAWs() 649 if (flg) PetscCallSAWs(SAWs_Set_Port, (port)); in PetscInitializeSAWs() 706 PetscCallSAWs(SAWs_Get_Available_Port, (&port)); in PetscInitializeSAWs() 707 PetscCallSAWs(SAWs_Set_Port, (port)); in PetscInitializeSAWs()
|
| /petsc/doc/community/bofs/ |
| H A D | 2026_Feb_CASS.md | 83 …tion supports key electromagnetic analysis capabilities, including lumped-port excitation, perfect…
|
| /petsc/doc/community/meetings/2023/ |
| H A D | index.md | 845 and profile PETSc on GPUs. We also talk about how to port your PETSc code to GPUs.
|