1332
1332
epv->f_isType = remote_bHYPRE__SStructMatrixView_isType;
1333
1333
epv->f_getClassInfo = remote_bHYPRE__SStructMatrixView_getClassInfo;
1335
e0->f__cast = (void* (*)(void*,const char*,
1336
sidl_BaseInterface*)) epv->f__cast;
1337
e0->f__delete = (void (*)(void*,
1338
sidl_BaseInterface*)) epv->f__delete;
1339
e0->f__getURL = (char* (*)(void*,
1340
sidl_BaseInterface*)) epv->f__getURL;
1341
e0->f__raddRef = (void (*)(void*,
1342
sidl_BaseInterface*)) epv->f__raddRef;
1343
e0->f__isRemote = (sidl_bool (*)(void*,
1344
sidl_BaseInterface*)) epv->f__isRemote;
1345
e0->f__set_hooks = (void (*)(void*,int32_t,
1346
sidl_BaseInterface*)) epv->f__set_hooks;
1347
e0->f__exec = (void (*)(void*,const char*,
1348
struct sidl_rmi_Call__object*,struct sidl_rmi_Return__object*,
1349
struct sidl_BaseInterface__object **)) epv->f__exec;
1350
e0->f_SetCommunicator = (int32_t (*)(void*,
1351
struct bHYPRE_MPICommunicator__object*,
1352
struct sidl_BaseInterface__object **)) epv->f_SetCommunicator;
1353
e0->f_Destroy = (void (*)(void*,
1354
struct sidl_BaseInterface__object **)) epv->f_Destroy;
1355
e0->f_Initialize = (int32_t (*)(void*,
1356
struct sidl_BaseInterface__object **)) epv->f_Initialize;
1357
e0->f_Assemble = (int32_t (*)(void*,
1358
struct sidl_BaseInterface__object **)) epv->f_Assemble;
1359
e0->f_addRef = (void (*)(void*,
1360
struct sidl_BaseInterface__object **)) epv->f_addRef;
1361
e0->f_deleteRef = (void (*)(void*,
1362
struct sidl_BaseInterface__object **)) epv->f_deleteRef;
1363
e0->f_isSame = (sidl_bool (*)(void*,
1364
struct sidl_BaseInterface__object*,
1365
struct sidl_BaseInterface__object **)) epv->f_isSame;
1366
e0->f_isType = (sidl_bool (*)(void*,const char*,
1367
struct sidl_BaseInterface__object **)) epv->f_isType;
1368
e0->f_getClassInfo = (struct sidl_ClassInfo__object* (*)(void*,
1369
struct sidl_BaseInterface__object **)) epv->f_getClassInfo;
1371
e1->f__cast = (void* (*)(void*,const char*,
1372
sidl_BaseInterface*)) epv->f__cast;
1373
e1->f__delete = (void (*)(void*,
1374
sidl_BaseInterface*)) epv->f__delete;
1375
e1->f__getURL = (char* (*)(void*,
1376
sidl_BaseInterface*)) epv->f__getURL;
1377
e1->f__raddRef = (void (*)(void*,
1378
sidl_BaseInterface*)) epv->f__raddRef;
1379
e1->f__isRemote = (sidl_bool (*)(void*,
1380
sidl_BaseInterface*)) epv->f__isRemote;
1381
e1->f__set_hooks = (void (*)(void*,int32_t,
1382
sidl_BaseInterface*)) epv->f__set_hooks;
1383
e1->f__exec = (void (*)(void*,const char*,
1384
struct sidl_rmi_Call__object*,struct sidl_rmi_Return__object*,
1385
struct sidl_BaseInterface__object **)) epv->f__exec;
1386
e1->f_SetCommunicator = (int32_t (*)(void*,
1387
struct bHYPRE_MPICommunicator__object*,
1388
struct sidl_BaseInterface__object **)) epv->f_SetCommunicator;
1389
e1->f_Destroy = (void (*)(void*,
1390
struct sidl_BaseInterface__object **)) epv->f_Destroy;
1391
e1->f_Initialize = (int32_t (*)(void*,
1392
struct sidl_BaseInterface__object **)) epv->f_Initialize;
1393
e1->f_Assemble = (int32_t (*)(void*,
1394
struct sidl_BaseInterface__object **)) epv->f_Assemble;
1395
e1->f_addRef = (void (*)(void*,
1396
struct sidl_BaseInterface__object **)) epv->f_addRef;
1397
e1->f_deleteRef = (void (*)(void*,
1398
struct sidl_BaseInterface__object **)) epv->f_deleteRef;
1399
e1->f_isSame = (sidl_bool (*)(void*,
1400
struct sidl_BaseInterface__object*,
1401
struct sidl_BaseInterface__object **)) epv->f_isSame;
1402
e1->f_isType = (sidl_bool (*)(void*,const char*,
1403
struct sidl_BaseInterface__object **)) epv->f_isType;
1404
e1->f_getClassInfo = (struct sidl_ClassInfo__object* (*)(void*,
1405
struct sidl_BaseInterface__object **)) epv->f_getClassInfo;
1407
e2->f__cast = (void* (*)(void*,const char*,
1408
sidl_BaseInterface*)) epv->f__cast;
1409
e2->f__delete = (void (*)(void*,
1410
sidl_BaseInterface*)) epv->f__delete;
1411
e2->f__getURL = (char* (*)(void*,
1412
sidl_BaseInterface*)) epv->f__getURL;
1413
e2->f__raddRef = (void (*)(void*,
1414
sidl_BaseInterface*)) epv->f__raddRef;
1415
e2->f__isRemote = (sidl_bool (*)(void*,
1416
sidl_BaseInterface*)) epv->f__isRemote;
1417
e2->f__set_hooks = (void (*)(void*,int32_t,
1418
sidl_BaseInterface*)) epv->f__set_hooks;
1419
e2->f__exec = (void (*)(void*,const char*,
1420
struct sidl_rmi_Call__object*,struct sidl_rmi_Return__object*,
1421
struct sidl_BaseInterface__object **)) epv->f__exec;
1422
e2->f_GetObject = (int32_t (*)(void*,
1423
struct sidl_BaseInterface__object**,
1424
struct sidl_BaseInterface__object **)) epv->f_GetObject;
1425
e2->f_SetCommunicator = (int32_t (*)(void*,
1426
struct bHYPRE_MPICommunicator__object*,
1427
struct sidl_BaseInterface__object **)) epv->f_SetCommunicator;
1428
e2->f_Destroy = (void (*)(void*,
1429
struct sidl_BaseInterface__object **)) epv->f_Destroy;
1430
e2->f_Initialize = (int32_t (*)(void*,
1431
struct sidl_BaseInterface__object **)) epv->f_Initialize;
1432
e2->f_Assemble = (int32_t (*)(void*,
1433
struct sidl_BaseInterface__object **)) epv->f_Assemble;
1434
e2->f_addRef = (void (*)(void*,
1435
struct sidl_BaseInterface__object **)) epv->f_addRef;
1436
e2->f_deleteRef = (void (*)(void*,
1437
struct sidl_BaseInterface__object **)) epv->f_deleteRef;
1438
e2->f_isSame = (sidl_bool (*)(void*,
1439
struct sidl_BaseInterface__object*,
1440
struct sidl_BaseInterface__object **)) epv->f_isSame;
1441
e2->f_isType = (sidl_bool (*)(void*,const char*,
1442
struct sidl_BaseInterface__object **)) epv->f_isType;
1443
e2->f_getClassInfo = (struct sidl_ClassInfo__object* (*)(void*,
1444
struct sidl_BaseInterface__object **)) epv->f_getClassInfo;
1446
e3->f__cast = (void* (*)(void*,const char*,
1447
sidl_BaseInterface*)) epv->f__cast;
1448
e3->f__delete = (void (*)(void*,
1449
sidl_BaseInterface*)) epv->f__delete;
1450
e3->f__getURL = (char* (*)(void*,
1451
sidl_BaseInterface*)) epv->f__getURL;
1452
e3->f__raddRef = (void (*)(void*,
1453
sidl_BaseInterface*)) epv->f__raddRef;
1454
e3->f__isRemote = (sidl_bool (*)(void*,
1455
sidl_BaseInterface*)) epv->f__isRemote;
1456
e3->f__set_hooks = (void (*)(void*,int32_t,
1457
sidl_BaseInterface*)) epv->f__set_hooks;
1458
e3->f__exec = (void (*)(void*,const char*,
1459
struct sidl_rmi_Call__object*,struct sidl_rmi_Return__object*,
1460
struct sidl_BaseInterface__object **)) epv->f__exec;
1461
e3->f_SetGraph = (int32_t (*)(void*,
1462
struct bHYPRE_SStructGraph__object*,
1463
struct sidl_BaseInterface__object **)) epv->f_SetGraph;
1335
e0->f__cast = (void* (*)(void*,const char*,sidl_BaseInterface*))
1337
e0->f__delete = (void (*)(void*,sidl_BaseInterface*))
1339
e0->f__getURL = (char* (*)(void*,sidl_BaseInterface*))
1341
e0->f__raddRef = (void (*)(void*,sidl_BaseInterface*))
1343
e0->f__isRemote = (sidl_bool (*)(void*,sidl_BaseInterface*))
1345
e0->f__set_hooks = (void (*)(void*,int32_t, sidl_BaseInterface*))
1347
e0->f__exec = (void (*)(void*,const char*,struct
1348
sidl_rmi_Call__object*,struct sidl_rmi_Return__object*,struct
1349
sidl_BaseInterface__object **)) epv->f__exec;
1350
e0->f_SetCommunicator = (int32_t (*)(void*,struct
1351
bHYPRE_MPICommunicator__object*,struct sidl_BaseInterface__object **))
1352
epv->f_SetCommunicator;
1353
e0->f_Destroy = (void (*)(void*,struct sidl_BaseInterface__object
1354
**)) epv->f_Destroy;
1355
e0->f_Initialize = (int32_t (*)(void*,struct
1356
sidl_BaseInterface__object **)) epv->f_Initialize;
1357
e0->f_Assemble = (int32_t (*)(void*,struct
1358
sidl_BaseInterface__object **)) epv->f_Assemble;
1359
e0->f_addRef = (void (*)(void*,struct sidl_BaseInterface__object
1361
e0->f_deleteRef = (void (*)(void*,struct sidl_BaseInterface__object
1362
**)) epv->f_deleteRef;
1363
e0->f_isSame = (sidl_bool (*)(void*,struct
1364
sidl_BaseInterface__object*,struct sidl_BaseInterface__object **))
1366
e0->f_isType = (sidl_bool (*)(void*,const char*,struct
1367
sidl_BaseInterface__object **)) epv->f_isType;
1368
e0->f_getClassInfo = (struct sidl_ClassInfo__object* (*)(void*,struct
1369
sidl_BaseInterface__object **)) epv->f_getClassInfo;
1371
e1->f__cast = (void* (*)(void*,const char*,sidl_BaseInterface*))
1373
e1->f__delete = (void (*)(void*,sidl_BaseInterface*))
1375
e1->f__getURL = (char* (*)(void*,sidl_BaseInterface*))
1377
e1->f__raddRef = (void (*)(void*,sidl_BaseInterface*))
1379
e1->f__isRemote = (sidl_bool (*)(void*,sidl_BaseInterface*))
1381
e1->f__set_hooks = (void (*)(void*,int32_t, sidl_BaseInterface*))
1383
e1->f__exec = (void (*)(void*,const char*,struct
1384
sidl_rmi_Call__object*,struct sidl_rmi_Return__object*,struct
1385
sidl_BaseInterface__object **)) epv->f__exec;
1386
e1->f_SetCommunicator = (int32_t (*)(void*,struct
1387
bHYPRE_MPICommunicator__object*,struct sidl_BaseInterface__object **))
1388
epv->f_SetCommunicator;
1389
e1->f_Destroy = (void (*)(void*,struct sidl_BaseInterface__object
1390
**)) epv->f_Destroy;
1391
e1->f_Initialize = (int32_t (*)(void*,struct
1392
sidl_BaseInterface__object **)) epv->f_Initialize;
1393
e1->f_Assemble = (int32_t (*)(void*,struct
1394
sidl_BaseInterface__object **)) epv->f_Assemble;
1395
e1->f_addRef = (void (*)(void*,struct sidl_BaseInterface__object
1397
e1->f_deleteRef = (void (*)(void*,struct sidl_BaseInterface__object
1398
**)) epv->f_deleteRef;
1399
e1->f_isSame = (sidl_bool (*)(void*,struct
1400
sidl_BaseInterface__object*,struct sidl_BaseInterface__object **))
1402
e1->f_isType = (sidl_bool (*)(void*,const char*,struct
1403
sidl_BaseInterface__object **)) epv->f_isType;
1404
e1->f_getClassInfo = (struct sidl_ClassInfo__object* (*)(void*,struct
1405
sidl_BaseInterface__object **)) epv->f_getClassInfo;
1407
e2->f__cast = (void* (*)(void*,const char*,sidl_BaseInterface*))
1409
e2->f__delete = (void (*)(void*,sidl_BaseInterface*))
1411
e2->f__getURL = (char* (*)(void*,sidl_BaseInterface*))
1413
e2->f__raddRef = (void (*)(void*,sidl_BaseInterface*))
1415
e2->f__isRemote = (sidl_bool (*)(void*,sidl_BaseInterface*))
1417
e2->f__set_hooks = (void (*)(void*,int32_t, sidl_BaseInterface*))
1419
e2->f__exec = (void (*)(void*,const char*,struct
1420
sidl_rmi_Call__object*,struct sidl_rmi_Return__object*,struct
1421
sidl_BaseInterface__object **)) epv->f__exec;
1422
e2->f_GetObject = (int32_t (*)(void*,struct
1423
sidl_BaseInterface__object**,struct sidl_BaseInterface__object **))
1425
e2->f_SetCommunicator = (int32_t (*)(void*,struct
1426
bHYPRE_MPICommunicator__object*,struct sidl_BaseInterface__object **))
1427
epv->f_SetCommunicator;
1428
e2->f_Destroy = (void (*)(void*,struct sidl_BaseInterface__object
1429
**)) epv->f_Destroy;
1430
e2->f_Initialize = (int32_t (*)(void*,struct
1431
sidl_BaseInterface__object **)) epv->f_Initialize;
1432
e2->f_Assemble = (int32_t (*)(void*,struct
1433
sidl_BaseInterface__object **)) epv->f_Assemble;
1434
e2->f_addRef = (void (*)(void*,struct sidl_BaseInterface__object
1436
e2->f_deleteRef = (void (*)(void*,struct sidl_BaseInterface__object
1437
**)) epv->f_deleteRef;
1438
e2->f_isSame = (sidl_bool (*)(void*,struct
1439
sidl_BaseInterface__object*,struct sidl_BaseInterface__object **))
1441
e2->f_isType = (sidl_bool (*)(void*,const char*,struct
1442
sidl_BaseInterface__object **)) epv->f_isType;
1443
e2->f_getClassInfo = (struct sidl_ClassInfo__object* (*)(void*,struct
1444
sidl_BaseInterface__object **)) epv->f_getClassInfo;
1446
e3->f__cast = (void* (*)(void*,const char*,sidl_BaseInterface*))
1448
e3->f__delete = (void (*)(void*,sidl_BaseInterface*))
1450
e3->f__getURL = (char* (*)(void*,sidl_BaseInterface*))
1452
e3->f__raddRef = (void (*)(void*,sidl_BaseInterface*))
1454
e3->f__isRemote = (sidl_bool (*)(void*,sidl_BaseInterface*))
1456
e3->f__set_hooks = (void (*)(void*,int32_t, sidl_BaseInterface*))
1458
e3->f__exec = (void (*)(void*,const char*,struct
1459
sidl_rmi_Call__object*,struct sidl_rmi_Return__object*,struct
1460
sidl_BaseInterface__object **)) epv->f__exec;
1461
e3->f_SetGraph = (int32_t (*)(void*,struct
1462
bHYPRE_SStructGraph__object*,struct sidl_BaseInterface__object **))
1464
1464
e3->f_SetValues = (int32_t (*)(void*,int32_t,struct sidl_int__array*,
1465
int32_t,struct sidl_int__array*,struct sidl_double__array*,
1466
struct sidl_BaseInterface__object **)) epv->f_SetValues;
1465
int32_t,struct sidl_int__array*,struct sidl_double__array*,struct
1466
sidl_BaseInterface__object **)) epv->f_SetValues;
1467
1467
e3->f_SetBoxValues = (int32_t (*)(void*,int32_t,struct sidl_int__array*,
1468
struct sidl_int__array*,int32_t,struct sidl_int__array*,
1469
struct sidl_double__array*,
1470
struct sidl_BaseInterface__object **)) epv->f_SetBoxValues;
1468
struct sidl_int__array*,int32_t,struct sidl_int__array*,struct
1469
sidl_double__array*,struct sidl_BaseInterface__object **))
1470
epv->f_SetBoxValues;
1471
1471
e3->f_AddToValues = (int32_t (*)(void*,int32_t,struct sidl_int__array*,
1472
int32_t,struct sidl_int__array*,struct sidl_double__array*,
1473
struct sidl_BaseInterface__object **)) epv->f_AddToValues;
1472
int32_t,struct sidl_int__array*,struct sidl_double__array*,struct
1473
sidl_BaseInterface__object **)) epv->f_AddToValues;
1474
1474
e3->f_AddToBoxValues = (int32_t (*)(void*,int32_t,struct sidl_int__array*,
1475
struct sidl_int__array*,int32_t,struct sidl_int__array*,
1476
struct sidl_double__array*,
1477
struct sidl_BaseInterface__object **)) epv->f_AddToBoxValues;
1475
struct sidl_int__array*,int32_t,struct sidl_int__array*,struct
1476
sidl_double__array*,struct sidl_BaseInterface__object **))
1477
epv->f_AddToBoxValues;
1478
1478
e3->f_SetSymmetric = (int32_t (*)(void*,int32_t,int32_t,int32_t,int32_t,
1479
1479
struct sidl_BaseInterface__object **)) epv->f_SetSymmetric;
1480
e3->f_SetNSSymmetric = (int32_t (*)(void*,int32_t,
1481
struct sidl_BaseInterface__object **)) epv->f_SetNSSymmetric;
1482
e3->f_SetComplex = (int32_t (*)(void*,
1483
struct sidl_BaseInterface__object **)) epv->f_SetComplex;
1484
e3->f_Print = (int32_t (*)(void*,const char*,int32_t,
1485
struct sidl_BaseInterface__object **)) epv->f_Print;
1486
e3->f_GetObject = (int32_t (*)(void*,
1487
struct sidl_BaseInterface__object**,
1488
struct sidl_BaseInterface__object **)) epv->f_GetObject;
1489
e3->f_SetCommunicator = (int32_t (*)(void*,
1490
struct bHYPRE_MPICommunicator__object*,
1491
struct sidl_BaseInterface__object **)) epv->f_SetCommunicator;
1492
e3->f_Destroy = (void (*)(void*,
1493
struct sidl_BaseInterface__object **)) epv->f_Destroy;
1494
e3->f_Initialize = (int32_t (*)(void*,
1495
struct sidl_BaseInterface__object **)) epv->f_Initialize;
1496
e3->f_Assemble = (int32_t (*)(void*,
1497
struct sidl_BaseInterface__object **)) epv->f_Assemble;
1498
e3->f_addRef = (void (*)(void*,
1499
struct sidl_BaseInterface__object **)) epv->f_addRef;
1500
e3->f_deleteRef = (void (*)(void*,
1501
struct sidl_BaseInterface__object **)) epv->f_deleteRef;
1502
e3->f_isSame = (sidl_bool (*)(void*,
1503
struct sidl_BaseInterface__object*,
1504
struct sidl_BaseInterface__object **)) epv->f_isSame;
1505
e3->f_isType = (sidl_bool (*)(void*,const char*,
1506
struct sidl_BaseInterface__object **)) epv->f_isType;
1507
e3->f_getClassInfo = (struct sidl_ClassInfo__object* (*)(void*,
1508
struct sidl_BaseInterface__object **)) epv->f_getClassInfo;
1480
e3->f_SetNSSymmetric = (int32_t (*)(void*,int32_t,struct
1481
sidl_BaseInterface__object **)) epv->f_SetNSSymmetric;
1482
e3->f_SetComplex = (int32_t (*)(void*,struct
1483
sidl_BaseInterface__object **)) epv->f_SetComplex;
1484
e3->f_Print = (int32_t (*)(void*,const char*,int32_t,struct
1485
sidl_BaseInterface__object **)) epv->f_Print;
1486
e3->f_GetObject = (int32_t (*)(void*,struct
1487
sidl_BaseInterface__object**,struct sidl_BaseInterface__object **))
1489
e3->f_SetCommunicator = (int32_t (*)(void*,struct
1490
bHYPRE_MPICommunicator__object*,struct sidl_BaseInterface__object **))
1491
epv->f_SetCommunicator;
1492
e3->f_Destroy = (void (*)(void*,struct sidl_BaseInterface__object
1493
**)) epv->f_Destroy;
1494
e3->f_Initialize = (int32_t (*)(void*,struct
1495
sidl_BaseInterface__object **)) epv->f_Initialize;
1496
e3->f_Assemble = (int32_t (*)(void*,struct
1497
sidl_BaseInterface__object **)) epv->f_Assemble;
1498
e3->f_addRef = (void (*)(void*,struct sidl_BaseInterface__object
1500
e3->f_deleteRef = (void (*)(void*,struct sidl_BaseInterface__object
1501
**)) epv->f_deleteRef;
1502
e3->f_isSame = (sidl_bool (*)(void*,struct
1503
sidl_BaseInterface__object*,struct sidl_BaseInterface__object **))
1505
e3->f_isType = (sidl_bool (*)(void*,const char*,struct
1506
sidl_BaseInterface__object **)) epv->f_isType;
1507
e3->f_getClassInfo = (struct sidl_ClassInfo__object* (*)(void*,struct
1508
sidl_BaseInterface__object **)) epv->f_getClassInfo;
1510
e4->f__cast = (void* (*)(void*,const char*,
1511
sidl_BaseInterface*)) epv->f__cast;
1510
e4->f__cast = (void* (*)(void*,const char*,sidl_BaseInterface*))
1512
1512
e4->f__delete = (void (*)(void*,sidl_BaseInterface*)) epv->f__delete;
1513
1513
e4->f__getURL = (char* (*)(void*,sidl_BaseInterface*)) epv->f__getURL;
1514
1514
e4->f__raddRef = (void (*)(void*,sidl_BaseInterface*)) epv->f__raddRef;
1515
e4->f__isRemote = (sidl_bool (*)(void*,
1516
sidl_BaseInterface*)) epv->f__isRemote;
1517
e4->f__set_hooks = (void (*)(void*,int32_t,
1518
sidl_BaseInterface*)) epv->f__set_hooks;
1519
e4->f__exec = (void (*)(void*,const char*,
1520
struct sidl_rmi_Call__object*,struct sidl_rmi_Return__object*,
1521
struct sidl_BaseInterface__object **)) epv->f__exec;
1522
e4->f_addRef = (void (*)(void*,
1523
struct sidl_BaseInterface__object **)) epv->f_addRef;
1524
e4->f_deleteRef = (void (*)(void*,
1525
struct sidl_BaseInterface__object **)) epv->f_deleteRef;
1526
e4->f_isSame = (sidl_bool (*)(void*,
1527
struct sidl_BaseInterface__object*,
1528
struct sidl_BaseInterface__object **)) epv->f_isSame;
1529
e4->f_isType = (sidl_bool (*)(void*,const char*,
1530
struct sidl_BaseInterface__object **)) epv->f_isType;
1531
e4->f_getClassInfo = (struct sidl_ClassInfo__object* (*)(void*,
1532
struct sidl_BaseInterface__object **)) epv->f_getClassInfo;
1515
e4->f__isRemote = (sidl_bool (*)(void*,sidl_BaseInterface*))
1517
e4->f__set_hooks = (void (*)(void*,int32_t, sidl_BaseInterface*))
1519
e4->f__exec = (void (*)(void*,const char*,struct
1520
sidl_rmi_Call__object*,struct sidl_rmi_Return__object*,struct
1521
sidl_BaseInterface__object **)) epv->f__exec;
1522
e4->f_addRef = (void (*)(void*,struct sidl_BaseInterface__object **))
1524
e4->f_deleteRef = (void (*)(void*,struct sidl_BaseInterface__object **))
1526
e4->f_isSame = (sidl_bool (*)(void*,struct
1527
sidl_BaseInterface__object*,struct sidl_BaseInterface__object **))
1529
e4->f_isType = (sidl_bool (*)(void*,const char*,struct
1530
sidl_BaseInterface__object **)) epv->f_isType;
1531
e4->f_getClassInfo = (struct sidl_ClassInfo__object* (*)(void*,struct
1532
sidl_BaseInterface__object **)) epv->f_getClassInfo;
1534
1534
s_remote_initialized = 1;
1537
1537
// Create an instance that connects to an existing remote object.
1538
1538
static struct bHYPRE_SStructMatrixView__object*
1539
bHYPRE_SStructMatrixView__remoteConnect(const char *url, sidl_bool ar,
1539
bHYPRE_SStructMatrixView__remoteConnect(const char *url, sidl_bool ar,
1540
1540
sidl_BaseInterface *_ex)
1542
1542
struct bHYPRE__SStructMatrixView__object* self;
1750
1750
int32_t _result;
1751
ior_t* const loc_self = (ior_t*)
1752
::bHYPRE::SStructMatrixView::_cast((void*)(_get_ior()));
1753
struct bHYPRE_SStructGraph__object* _local_graph = graph._get_ior();
1754
sidl_BaseInterface__object * _exception;
1755
/*pack args to dispatch to ior*/
1756
_result = (*(loc_self->d_epv->f_SetGraph))(loc_self->d_object,
1757
/* in */ _local_graph, &_exception );
1759
if (_exception != 0 ) {
1760
throwException0(_exception);
1762
{ struct sidl_BaseInterface__object *throwaway_exception;
1763
(*loc_self->d_epv->f_deleteRef)(loc_self->d_object, &throwaway_exception);
1764
}/*unpack results and cleanup*/
1771
* Set matrix coefficients index by index.
1773
* NOTE: Users are required to set values on all processes that
1774
* own the associated variables. This means that some data will
1775
* be multiply defined.
1777
* NOTE: The entries in this routine must all be of the same
1778
* type: either stencil or non-stencil, but not both. Also, if
1779
* they are stencil entries, they must all represent couplings
1780
* to the same variable type (there are no such restrictions for
1781
* non-stencil entries).
1783
* If the matrix is complex, then {\tt values} consists of pairs
1784
* of doubles representing the real and imaginary parts of each
1788
bHYPRE::SStructMatrixView::SetValues( /* in */int32_t part,
1789
/* in rarray[dim] */int32_t* index, /* in */int32_t dim, /* in */int32_t var,
1790
/* in */int32_t nentries, /* in rarray[nentries] */int32_t* entries,
1791
/* in rarray[nentries] */double* values )
1795
ior_t* const loc_self = (ior_t*)
1796
::bHYPRE::SStructMatrixView::_cast((void*)(_get_ior()));
1797
int32_t index_lower[1], index_upper[1], index_stride[1];
1798
struct sidl_int__array index_real;
1799
struct sidl_int__array *index_tmp = &index_real;
1800
index_upper[0] = dim-1;
1801
sidl_int__array_init(index, index_tmp, 1, index_lower, index_upper,
1803
int32_t entries_lower[1], entries_upper[1], entries_stride[1];
1804
struct sidl_int__array entries_real;
1805
struct sidl_int__array *entries_tmp = &entries_real;
1806
entries_upper[0] = nentries-1;
1807
sidl_int__array_init(entries, entries_tmp, 1, entries_lower, entries_upper,
1809
int32_t values_lower[1], values_upper[1], values_stride[1];
1810
struct sidl_double__array values_real;
1811
struct sidl_double__array *values_tmp = &values_real;
1812
values_upper[0] = nentries-1;
1813
sidl_double__array_init(values, values_tmp, 1, values_lower, values_upper,
1815
sidl_BaseInterface__object * _exception;
1816
/*pack args to dispatch to ior*/
1817
_result = (*(loc_self->d_epv->f_SetValues))(loc_self->d_object, /* in */ part,
1818
/* in rarray[dim] */ index_tmp, /* in */ var,
1819
/* in rarray[nentries] */ entries_tmp, /* in rarray[nentries] */ values_tmp,
1822
if (_exception != 0 ) {
1823
throwException0(_exception);
1825
{ struct sidl_BaseInterface__object *throwaway_exception;
1826
(*loc_self->d_epv->f_deleteRef)(loc_self->d_object, &throwaway_exception);
1827
}/*unpack results and cleanup*/
1834
* Set matrix coefficients index by index.
1836
* NOTE: Users are required to set values on all processes that
1837
* own the associated variables. This means that some data will
1838
* be multiply defined.
1840
* NOTE: The entries in this routine must all be of the same
1841
* type: either stencil or non-stencil, but not both. Also, if
1842
* they are stencil entries, they must all represent couplings
1843
* to the same variable type (there are no such restrictions for
1844
* non-stencil entries).
1846
* If the matrix is complex, then {\tt values} consists of pairs
1847
* of doubles representing the real and imaginary parts of each
1851
bHYPRE::SStructMatrixView::SetValues( /* in */int32_t part,
1852
/* in rarray[dim] */::sidl::array<int32_t> index, /* in */int32_t var,
1853
/* in rarray[nentries] */::sidl::array<int32_t> entries,
1854
/* in rarray[nentries] */::sidl::array<double> values )
1858
ior_t* const loc_self = (ior_t*)
1859
::bHYPRE::SStructMatrixView::_cast((void*)(_get_ior()));
1860
sidl_BaseInterface__object * _exception;
1861
/*pack args to dispatch to ior*/
1862
_result = (*(loc_self->d_epv->f_SetValues))(loc_self->d_object, /* in */ part,
1863
/* in rarray[dim] */ index._get_ior(), /* in */ var,
1864
/* in rarray[nentries] */ entries._get_ior(),
1865
/* in rarray[nentries] */ values._get_ior(), &_exception );
1867
if (_exception != 0 ) {
1868
throwException0(_exception);
1870
{ struct sidl_BaseInterface__object *throwaway_exception;
1871
(*loc_self->d_epv->f_deleteRef)(loc_self->d_object, &throwaway_exception);
1872
}/*unpack results and cleanup*/
1879
* Set matrix coefficients a box at a time.
1881
* NOTE: Users are required to set values on all processes that
1882
* own the associated variables. This means that some data will
1883
* be multiply defined.
1885
* NOTE: The entries in this routine must all be of the same
1886
* type: either stencil or non-stencil, but not both. Also, if
1887
* they are stencil entries, they must all represent couplings
1888
* to the same variable type (there are no such restrictions for
1889
* non-stencil entries).
1891
* If the matrix is complex, then {\tt values} consists of pairs
1892
* of doubles representing the real and imaginary parts of each
1896
bHYPRE::SStructMatrixView::SetBoxValues( /* in */int32_t part,
1897
/* in rarray[dim] */int32_t* ilower, /* in rarray[dim] */int32_t* iupper,
1898
/* in */int32_t dim, /* in */int32_t var, /* in */int32_t nentries,
1899
/* in rarray[nentries] */int32_t* entries,
1900
/* in rarray[nvalues] */double* values, /* in */int32_t nvalues )
1904
ior_t* const loc_self = (ior_t*)
1905
::bHYPRE::SStructMatrixView::_cast((void*)(_get_ior()));
1906
int32_t ilower_lower[1], ilower_upper[1], ilower_stride[1];
1907
struct sidl_int__array ilower_real;
1908
struct sidl_int__array *ilower_tmp = &ilower_real;
1909
ilower_upper[0] = dim-1;
1910
sidl_int__array_init(ilower, ilower_tmp, 1, ilower_lower, ilower_upper,
1912
int32_t iupper_lower[1], iupper_upper[1], iupper_stride[1];
1913
struct sidl_int__array iupper_real;
1914
struct sidl_int__array *iupper_tmp = &iupper_real;
1915
iupper_upper[0] = dim-1;
1916
sidl_int__array_init(iupper, iupper_tmp, 1, iupper_lower, iupper_upper,
1918
int32_t entries_lower[1], entries_upper[1], entries_stride[1];
1919
struct sidl_int__array entries_real;
1920
struct sidl_int__array *entries_tmp = &entries_real;
1921
entries_upper[0] = nentries-1;
1922
sidl_int__array_init(entries, entries_tmp, 1, entries_lower, entries_upper,
1924
int32_t values_lower[1], values_upper[1], values_stride[1];
1925
struct sidl_double__array values_real;
1926
struct sidl_double__array *values_tmp = &values_real;
1927
values_upper[0] = nvalues-1;
1928
sidl_double__array_init(values, values_tmp, 1, values_lower, values_upper,
1930
sidl_BaseInterface__object * _exception;
1931
/*pack args to dispatch to ior*/
1932
_result = (*(loc_self->d_epv->f_SetBoxValues))(loc_self->d_object,
1933
/* in */ part, /* in rarray[dim] */ ilower_tmp,
1934
/* in rarray[dim] */ iupper_tmp, /* in */ var,
1935
/* in rarray[nentries] */ entries_tmp, /* in rarray[nvalues] */ values_tmp,
1938
if (_exception != 0 ) {
1939
throwException0(_exception);
1941
{ struct sidl_BaseInterface__object *throwaway_exception;
1942
(*loc_self->d_epv->f_deleteRef)(loc_self->d_object, &throwaway_exception);
1943
}/*unpack results and cleanup*/
1950
* Set matrix coefficients a box at a time.
1952
* NOTE: Users are required to set values on all processes that
1953
* own the associated variables. This means that some data will
1954
* be multiply defined.
1956
* NOTE: The entries in this routine must all be of the same
1957
* type: either stencil or non-stencil, but not both. Also, if
1958
* they are stencil entries, they must all represent couplings
1959
* to the same variable type (there are no such restrictions for
1960
* non-stencil entries).
1962
* If the matrix is complex, then {\tt values} consists of pairs
1963
* of doubles representing the real and imaginary parts of each
1967
bHYPRE::SStructMatrixView::SetBoxValues( /* in */int32_t part,
1968
/* in rarray[dim] */::sidl::array<int32_t> ilower,
1969
/* in rarray[dim] */::sidl::array<int32_t> iupper, /* in */int32_t var,
1970
/* in rarray[nentries] */::sidl::array<int32_t> entries,
1971
/* in rarray[nvalues] */::sidl::array<double> values )
1975
ior_t* const loc_self = (ior_t*)
1976
::bHYPRE::SStructMatrixView::_cast((void*)(_get_ior()));
1977
sidl_BaseInterface__object * _exception;
1978
/*pack args to dispatch to ior*/
1979
_result = (*(loc_self->d_epv->f_SetBoxValues))(loc_self->d_object,
1980
/* in */ part, /* in rarray[dim] */ ilower._get_ior(),
1981
/* in rarray[dim] */ iupper._get_ior(), /* in */ var,
1982
/* in rarray[nentries] */ entries._get_ior(),
1983
/* in rarray[nvalues] */ values._get_ior(), &_exception );
1985
if (_exception != 0 ) {
1986
throwException0(_exception);
1988
{ struct sidl_BaseInterface__object *throwaway_exception;
1989
(*loc_self->d_epv->f_deleteRef)(loc_self->d_object, &throwaway_exception);
1990
}/*unpack results and cleanup*/
1997
* Add to matrix coefficients index by index.
1999
* NOTE: Users are required to set values on all processes that
2000
* own the associated variables. This means that some data will
2001
* be multiply defined.
2003
* NOTE: The entries in this routine must all be of the same
2004
* type: either stencil or non-stencil, but not both. Also, if
2005
* they are stencil entries, they must all represent couplings
2006
* to the same variable type.
2008
* If the matrix is complex, then {\tt values} consists of pairs
2009
* of doubles representing the real and imaginary parts of each
2013
bHYPRE::SStructMatrixView::AddToValues( /* in */int32_t part,
2014
/* in rarray[dim] */int32_t* index, /* in */int32_t dim, /* in */int32_t var,
2015
/* in */int32_t nentries, /* in rarray[nentries] */int32_t* entries,
2016
/* in rarray[nentries] */double* values )
2020
ior_t* const loc_self = (ior_t*)
2021
::bHYPRE::SStructMatrixView::_cast((void*)(_get_ior()));
2022
int32_t index_lower[1], index_upper[1], index_stride[1];
2023
struct sidl_int__array index_real;
2024
struct sidl_int__array *index_tmp = &index_real;
2025
index_upper[0] = dim-1;
2026
sidl_int__array_init(index, index_tmp, 1, index_lower, index_upper,
2028
int32_t entries_lower[1], entries_upper[1], entries_stride[1];
2029
struct sidl_int__array entries_real;
2030
struct sidl_int__array *entries_tmp = &entries_real;
2031
entries_upper[0] = nentries-1;
2032
sidl_int__array_init(entries, entries_tmp, 1, entries_lower, entries_upper,
2034
int32_t values_lower[1], values_upper[1], values_stride[1];
2035
struct sidl_double__array values_real;
2036
struct sidl_double__array *values_tmp = &values_real;
2037
values_upper[0] = nentries-1;
2038
sidl_double__array_init(values, values_tmp, 1, values_lower, values_upper,
2040
sidl_BaseInterface__object * _exception;
2041
/*pack args to dispatch to ior*/
2042
_result = (*(loc_self->d_epv->f_AddToValues))(loc_self->d_object,
2043
/* in */ part, /* in rarray[dim] */ index_tmp, /* in */ var,
2044
/* in rarray[nentries] */ entries_tmp, /* in rarray[nentries] */ values_tmp,
2047
if (_exception != 0 ) {
2048
throwException0(_exception);
2050
{ struct sidl_BaseInterface__object *throwaway_exception;
2051
(*loc_self->d_epv->f_deleteRef)(loc_self->d_object, &throwaway_exception);
2052
}/*unpack results and cleanup*/
2059
* Add to matrix coefficients index by index.
2061
* NOTE: Users are required to set values on all processes that
2062
* own the associated variables. This means that some data will
2063
* be multiply defined.
2065
* NOTE: The entries in this routine must all be of the same
2066
* type: either stencil or non-stencil, but not both. Also, if
2067
* they are stencil entries, they must all represent couplings
2068
* to the same variable type.
2070
* If the matrix is complex, then {\tt values} consists of pairs
2071
* of doubles representing the real and imaginary parts of each
2075
bHYPRE::SStructMatrixView::AddToValues( /* in */int32_t part,
2076
/* in rarray[dim] */::sidl::array<int32_t> index, /* in */int32_t var,
2077
/* in rarray[nentries] */::sidl::array<int32_t> entries,
2078
/* in rarray[nentries] */::sidl::array<double> values )
2082
ior_t* const loc_self = (ior_t*)
2083
::bHYPRE::SStructMatrixView::_cast((void*)(_get_ior()));
2084
sidl_BaseInterface__object * _exception;
2085
/*pack args to dispatch to ior*/
2086
_result = (*(loc_self->d_epv->f_AddToValues))(loc_self->d_object,
2087
/* in */ part, /* in rarray[dim] */ index._get_ior(), /* in */ var,
2088
/* in rarray[nentries] */ entries._get_ior(),
2089
/* in rarray[nentries] */ values._get_ior(), &_exception );
2091
if (_exception != 0 ) {
2092
throwException0(_exception);
2094
{ struct sidl_BaseInterface__object *throwaway_exception;
2095
(*loc_self->d_epv->f_deleteRef)(loc_self->d_object, &throwaway_exception);
2096
}/*unpack results and cleanup*/
2103
* Add to matrix coefficients a box at a time.
2105
* NOTE: Users are required to set values on all processes that
2106
* own the associated variables. This means that some data will
2107
* be multiply defined.
2109
* NOTE: The entries in this routine must all be of stencil
2110
* type. Also, they must all represent couplings to the same
2113
* If the matrix is complex, then {\tt values} consists of pairs
2114
* of doubles representing the real and imaginary parts of each
2118
bHYPRE::SStructMatrixView::AddToBoxValues( /* in */int32_t part,
2119
/* in rarray[dim] */int32_t* ilower, /* in rarray[dim] */int32_t* iupper,
2120
/* in */int32_t dim, /* in */int32_t var, /* in */int32_t nentries,
2121
/* in rarray[nentries] */int32_t* entries,
2122
/* in rarray[nvalues] */double* values, /* in */int32_t nvalues )
2126
ior_t* const loc_self = (ior_t*)
2127
::bHYPRE::SStructMatrixView::_cast((void*)(_get_ior()));
2128
int32_t ilower_lower[1], ilower_upper[1], ilower_stride[1];
2129
struct sidl_int__array ilower_real;
2130
struct sidl_int__array *ilower_tmp = &ilower_real;
2131
ilower_upper[0] = dim-1;
2132
sidl_int__array_init(ilower, ilower_tmp, 1, ilower_lower, ilower_upper,
2134
int32_t iupper_lower[1], iupper_upper[1], iupper_stride[1];
2135
struct sidl_int__array iupper_real;
2136
struct sidl_int__array *iupper_tmp = &iupper_real;
2137
iupper_upper[0] = dim-1;
2138
sidl_int__array_init(iupper, iupper_tmp, 1, iupper_lower, iupper_upper,
2140
int32_t entries_lower[1], entries_upper[1], entries_stride[1];
2141
struct sidl_int__array entries_real;
2142
struct sidl_int__array *entries_tmp = &entries_real;
2143
entries_upper[0] = nentries-1;
2144
sidl_int__array_init(entries, entries_tmp, 1, entries_lower, entries_upper,
2146
int32_t values_lower[1], values_upper[1], values_stride[1];
2147
struct sidl_double__array values_real;
2148
struct sidl_double__array *values_tmp = &values_real;
2149
values_upper[0] = nvalues-1;
2150
sidl_double__array_init(values, values_tmp, 1, values_lower, values_upper,
2152
sidl_BaseInterface__object * _exception;
2153
/*pack args to dispatch to ior*/
2154
_result = (*(loc_self->d_epv->f_AddToBoxValues))(loc_self->d_object,
2155
/* in */ part, /* in rarray[dim] */ ilower_tmp,
2156
/* in rarray[dim] */ iupper_tmp, /* in */ var,
2157
/* in rarray[nentries] */ entries_tmp, /* in rarray[nvalues] */ values_tmp,
2160
if (_exception != 0 ) {
2161
throwException0(_exception);
2163
{ struct sidl_BaseInterface__object *throwaway_exception;
2164
(*loc_self->d_epv->f_deleteRef)(loc_self->d_object, &throwaway_exception);
2165
}/*unpack results and cleanup*/
2172
* Add to matrix coefficients a box at a time.
2174
* NOTE: Users are required to set values on all processes that
2175
* own the associated variables. This means that some data will
2176
* be multiply defined.
2178
* NOTE: The entries in this routine must all be of stencil
2179
* type. Also, they must all represent couplings to the same
2182
* If the matrix is complex, then {\tt values} consists of pairs
2183
* of doubles representing the real and imaginary parts of each
2187
bHYPRE::SStructMatrixView::AddToBoxValues( /* in */int32_t part,
2188
/* in rarray[dim] */::sidl::array<int32_t> ilower,
2189
/* in rarray[dim] */::sidl::array<int32_t> iupper, /* in */int32_t var,
2190
/* in rarray[nentries] */::sidl::array<int32_t> entries,
2191
/* in rarray[nvalues] */::sidl::array<double> values )
2195
ior_t* const loc_self = (ior_t*)
2196
::bHYPRE::SStructMatrixView::_cast((void*)(_get_ior()));
2197
sidl_BaseInterface__object * _exception;
2198
/*pack args to dispatch to ior*/
2199
_result = (*(loc_self->d_epv->f_AddToBoxValues))(loc_self->d_object,
2200
/* in */ part, /* in rarray[dim] */ ilower._get_ior(),
2201
/* in rarray[dim] */ iupper._get_ior(), /* in */ var,
2202
/* in rarray[nentries] */ entries._get_ior(),
2203
/* in rarray[nvalues] */ values._get_ior(), &_exception );
2205
if (_exception != 0 ) {
2206
throwException0(_exception);
2208
{ struct sidl_BaseInterface__object *throwaway_exception;
2209
(*loc_self->d_epv->f_deleteRef)(loc_self->d_object, &throwaway_exception);
2210
}/*unpack results and cleanup*/
1751
ior_t* const loc_self = (struct bHYPRE_SStructMatrixView__object*)
1752
::bHYPRE::SStructMatrixView::_get_ior();
1753
struct bHYPRE_SStructGraph__object* _local_graph = (struct
1754
bHYPRE_SStructGraph__object*) graph.::bHYPRE::SStructGraph::_get_ior();
1755
sidl_BaseInterface__object * _exception;
1756
/*pack args to dispatch to ior*/
1757
_result = (*(loc_self->d_epv->f_SetGraph))(loc_self->d_object, /* in */
1758
_local_graph, &_exception );
1760
if (_exception != 0 ) {
1762
throwException0(_exception);
1764
/*unpack results and cleanup*/
1771
* Set matrix coefficients index by index.
1773
* NOTE: Users are required to set values on all processes that
1774
* own the associated variables. This means that some data will
1775
* be multiply defined.
1777
* NOTE: The entries in this routine must all be of the same
1778
* type: either stencil or non-stencil, but not both. Also, if
1779
* they are stencil entries, they must all represent couplings
1780
* to the same variable type (there are no such restrictions for
1781
* non-stencil entries).
1783
* If the matrix is complex, then {\tt values} consists of pairs
1784
* of doubles representing the real and imaginary parts of each
1788
bHYPRE::SStructMatrixView::SetValues( /* in */int32_t part, /* in rarray[dim]
1789
*/int32_t* index, /* in */int32_t dim, /* in */int32_t var, /* in */int32_t
1790
nentries, /* in rarray[nentries] */int32_t* entries, /* in rarray[nentries]
1795
ior_t* const loc_self = (struct bHYPRE_SStructMatrixView__object*)
1796
::bHYPRE::SStructMatrixView::_get_ior();
1797
int32_t index_lower[1], index_upper[1], index_stride[1];
1798
struct sidl_int__array index_real;
1799
struct sidl_int__array *index_tmp = &index_real;
1800
index_upper[0] = dim-1;
1801
sidl_int__array_init(index, index_tmp, 1, index_lower, index_upper,
1803
int32_t entries_lower[1], entries_upper[1], entries_stride[1];
1804
struct sidl_int__array entries_real;
1805
struct sidl_int__array *entries_tmp = &entries_real;
1806
entries_upper[0] = nentries-1;
1807
sidl_int__array_init(entries, entries_tmp, 1, entries_lower, entries_upper,
1809
int32_t values_lower[1], values_upper[1], values_stride[1];
1810
struct sidl_double__array values_real;
1811
struct sidl_double__array *values_tmp = &values_real;
1812
values_upper[0] = nentries-1;
1813
sidl_double__array_init(values, values_tmp, 1, values_lower, values_upper,
1815
sidl_BaseInterface__object * _exception;
1816
/*pack args to dispatch to ior*/
1817
_result = (*(loc_self->d_epv->f_SetValues))(loc_self->d_object, /* in */ part,
1818
/* in rarray[dim] */ index_tmp, /* in */ var, /* in rarray[nentries] */
1819
entries_tmp, /* in rarray[nentries] */ values_tmp, &_exception );
1821
if (_exception != 0 ) {
1822
sidl__array_deleteRef((struct sidl__array *)index_tmp);
1823
sidl__array_deleteRef((struct sidl__array *)entries_tmp);
1824
sidl__array_deleteRef((struct sidl__array *)values_tmp);
1826
throwException0(_exception);
1828
sidl__array_deleteRef((struct sidl__array *)index_tmp);
1829
sidl__array_deleteRef((struct sidl__array *)entries_tmp);
1830
sidl__array_deleteRef((struct sidl__array *)values_tmp);
1831
/*unpack results and cleanup*/
1838
* Set matrix coefficients index by index.
1840
* NOTE: Users are required to set values on all processes that
1841
* own the associated variables. This means that some data will
1842
* be multiply defined.
1844
* NOTE: The entries in this routine must all be of the same
1845
* type: either stencil or non-stencil, but not both. Also, if
1846
* they are stencil entries, they must all represent couplings
1847
* to the same variable type (there are no such restrictions for
1848
* non-stencil entries).
1850
* If the matrix is complex, then {\tt values} consists of pairs
1851
* of doubles representing the real and imaginary parts of each
1855
bHYPRE::SStructMatrixView::SetValues( /* in */int32_t part, /* in rarray[dim]
1856
*/::sidl::array<int32_t> index, /* in */int32_t var, /* in rarray[nentries]
1857
*/::sidl::array<int32_t> entries, /* in rarray[nentries]
1858
*/::sidl::array<double> values )
1862
ior_t* const loc_self = (struct bHYPRE_SStructMatrixView__object*)
1863
::bHYPRE::SStructMatrixView::_get_ior();
1864
sidl_BaseInterface__object * _exception;
1865
/*pack args to dispatch to ior*/
1866
_result = (*(loc_self->d_epv->f_SetValues))(loc_self->d_object, /* in */ part,
1867
/* in rarray[dim] */ index._get_ior(), /* in */ var, /* in rarray[nentries]
1868
*/ entries._get_ior(), /* in rarray[nentries] */ values._get_ior(),
1871
if (_exception != 0 ) {
1873
throwException0(_exception);
1875
/*unpack results and cleanup*/
1882
* Set matrix coefficients a box at a time.
1884
* NOTE: Users are required to set values on all processes that
1885
* own the associated variables. This means that some data will
1886
* be multiply defined.
1888
* NOTE: The entries in this routine must all be of the same
1889
* type: either stencil or non-stencil, but not both. Also, if
1890
* they are stencil entries, they must all represent couplings
1891
* to the same variable type (there are no such restrictions for
1892
* non-stencil entries).
1894
* If the matrix is complex, then {\tt values} consists of pairs
1895
* of doubles representing the real and imaginary parts of each
1899
bHYPRE::SStructMatrixView::SetBoxValues( /* in */int32_t part, /* in
1900
rarray[dim] */int32_t* ilower, /* in rarray[dim] */int32_t* iupper, /* in
1901
*/int32_t dim, /* in */int32_t var, /* in */int32_t nentries, /* in
1902
rarray[nentries] */int32_t* entries, /* in rarray[nvalues] */double* values,
1903
/* in */int32_t nvalues )
1907
ior_t* const loc_self = (struct bHYPRE_SStructMatrixView__object*)
1908
::bHYPRE::SStructMatrixView::_get_ior();
1909
int32_t ilower_lower[1], ilower_upper[1], ilower_stride[1];
1910
struct sidl_int__array ilower_real;
1911
struct sidl_int__array *ilower_tmp = &ilower_real;
1912
ilower_upper[0] = dim-1;
1913
sidl_int__array_init(ilower, ilower_tmp, 1, ilower_lower, ilower_upper,
1915
int32_t iupper_lower[1], iupper_upper[1], iupper_stride[1];
1916
struct sidl_int__array iupper_real;
1917
struct sidl_int__array *iupper_tmp = &iupper_real;
1918
iupper_upper[0] = dim-1;
1919
sidl_int__array_init(iupper, iupper_tmp, 1, iupper_lower, iupper_upper,
1921
int32_t entries_lower[1], entries_upper[1], entries_stride[1];
1922
struct sidl_int__array entries_real;
1923
struct sidl_int__array *entries_tmp = &entries_real;
1924
entries_upper[0] = nentries-1;
1925
sidl_int__array_init(entries, entries_tmp, 1, entries_lower, entries_upper,
1927
int32_t values_lower[1], values_upper[1], values_stride[1];
1928
struct sidl_double__array values_real;
1929
struct sidl_double__array *values_tmp = &values_real;
1930
values_upper[0] = nvalues-1;
1931
sidl_double__array_init(values, values_tmp, 1, values_lower, values_upper,
1933
sidl_BaseInterface__object * _exception;
1934
/*pack args to dispatch to ior*/
1935
_result = (*(loc_self->d_epv->f_SetBoxValues))(loc_self->d_object, /* in */
1936
part, /* in rarray[dim] */ ilower_tmp, /* in rarray[dim] */ iupper_tmp, /*
1937
in */ var, /* in rarray[nentries] */ entries_tmp, /* in rarray[nvalues] */
1938
values_tmp, &_exception );
1940
if (_exception != 0 ) {
1941
sidl__array_deleteRef((struct sidl__array *)ilower_tmp);
1942
sidl__array_deleteRef((struct sidl__array *)iupper_tmp);
1943
sidl__array_deleteRef((struct sidl__array *)entries_tmp);
1944
sidl__array_deleteRef((struct sidl__array *)values_tmp);
1946
throwException0(_exception);
1948
sidl__array_deleteRef((struct sidl__array *)ilower_tmp);
1949
sidl__array_deleteRef((struct sidl__array *)iupper_tmp);
1950
sidl__array_deleteRef((struct sidl__array *)entries_tmp);
1951
sidl__array_deleteRef((struct sidl__array *)values_tmp);
1952
/*unpack results and cleanup*/
1959
* Set matrix coefficients a box at a time.
1961
* NOTE: Users are required to set values on all processes that
1962
* own the associated variables. This means that some data will
1963
* be multiply defined.
1965
* NOTE: The entries in this routine must all be of the same
1966
* type: either stencil or non-stencil, but not both. Also, if
1967
* they are stencil entries, they must all represent couplings
1968
* to the same variable type (there are no such restrictions for
1969
* non-stencil entries).
1971
* If the matrix is complex, then {\tt values} consists of pairs
1972
* of doubles representing the real and imaginary parts of each
1976
bHYPRE::SStructMatrixView::SetBoxValues( /* in */int32_t part, /* in
1977
rarray[dim] */::sidl::array<int32_t> ilower, /* in rarray[dim]
1978
*/::sidl::array<int32_t> iupper, /* in */int32_t var, /* in rarray[nentries]
1979
*/::sidl::array<int32_t> entries, /* in rarray[nvalues]
1980
*/::sidl::array<double> values )
1984
ior_t* const loc_self = (struct bHYPRE_SStructMatrixView__object*)
1985
::bHYPRE::SStructMatrixView::_get_ior();
1986
sidl_BaseInterface__object * _exception;
1987
/*pack args to dispatch to ior*/
1988
_result = (*(loc_self->d_epv->f_SetBoxValues))(loc_self->d_object, /* in */
1989
part, /* in rarray[dim] */ ilower._get_ior(), /* in rarray[dim] */
1990
iupper._get_ior(), /* in */ var, /* in rarray[nentries] */ entries._get_ior(
1991
), /* in rarray[nvalues] */ values._get_ior(), &_exception );
1993
if (_exception != 0 ) {
1995
throwException0(_exception);
1997
/*unpack results and cleanup*/
2004
* Add to matrix coefficients index by index.
2006
* NOTE: Users are required to set values on all processes that
2007
* own the associated variables. This means that some data will
2008
* be multiply defined.
2010
* NOTE: The entries in this routine must all be of the same
2011
* type: either stencil or non-stencil, but not both. Also, if
2012
* they are stencil entries, they must all represent couplings
2013
* to the same variable type.
2015
* If the matrix is complex, then {\tt values} consists of pairs
2016
* of doubles representing the real and imaginary parts of each
2020
bHYPRE::SStructMatrixView::AddToValues( /* in */int32_t part, /* in rarray[dim]
2021
*/int32_t* index, /* in */int32_t dim, /* in */int32_t var, /* in */int32_t
2022
nentries, /* in rarray[nentries] */int32_t* entries, /* in rarray[nentries]
2027
ior_t* const loc_self = (struct bHYPRE_SStructMatrixView__object*)
2028
::bHYPRE::SStructMatrixView::_get_ior();
2029
int32_t index_lower[1], index_upper[1], index_stride[1];
2030
struct sidl_int__array index_real;
2031
struct sidl_int__array *index_tmp = &index_real;
2032
index_upper[0] = dim-1;
2033
sidl_int__array_init(index, index_tmp, 1, index_lower, index_upper,
2035
int32_t entries_lower[1], entries_upper[1], entries_stride[1];
2036
struct sidl_int__array entries_real;
2037
struct sidl_int__array *entries_tmp = &entries_real;
2038
entries_upper[0] = nentries-1;
2039
sidl_int__array_init(entries, entries_tmp, 1, entries_lower, entries_upper,
2041
int32_t values_lower[1], values_upper[1], values_stride[1];
2042
struct sidl_double__array values_real;
2043
struct sidl_double__array *values_tmp = &values_real;
2044
values_upper[0] = nentries-1;
2045
sidl_double__array_init(values, values_tmp, 1, values_lower, values_upper,
2047
sidl_BaseInterface__object * _exception;
2048
/*pack args to dispatch to ior*/
2049
_result = (*(loc_self->d_epv->f_AddToValues))(loc_self->d_object, /* in */
2050
part, /* in rarray[dim] */ index_tmp, /* in */ var, /* in rarray[nentries]
2051
*/ entries_tmp, /* in rarray[nentries] */ values_tmp, &_exception );
2053
if (_exception != 0 ) {
2054
sidl__array_deleteRef((struct sidl__array *)index_tmp);
2055
sidl__array_deleteRef((struct sidl__array *)entries_tmp);
2056
sidl__array_deleteRef((struct sidl__array *)values_tmp);
2058
throwException0(_exception);
2060
sidl__array_deleteRef((struct sidl__array *)index_tmp);
2061
sidl__array_deleteRef((struct sidl__array *)entries_tmp);
2062
sidl__array_deleteRef((struct sidl__array *)values_tmp);
2063
/*unpack results and cleanup*/
2070
* Add to matrix coefficients index by index.
2072
* NOTE: Users are required to set values on all processes that
2073
* own the associated variables. This means that some data will
2074
* be multiply defined.
2076
* NOTE: The entries in this routine must all be of the same
2077
* type: either stencil or non-stencil, but not both. Also, if
2078
* they are stencil entries, they must all represent couplings
2079
* to the same variable type.
2081
* If the matrix is complex, then {\tt values} consists of pairs
2082
* of doubles representing the real and imaginary parts of each
2086
bHYPRE::SStructMatrixView::AddToValues( /* in */int32_t part, /* in rarray[dim]
2087
*/::sidl::array<int32_t> index, /* in */int32_t var, /* in rarray[nentries]
2088
*/::sidl::array<int32_t> entries, /* in rarray[nentries]
2089
*/::sidl::array<double> values )
2093
ior_t* const loc_self = (struct bHYPRE_SStructMatrixView__object*)
2094
::bHYPRE::SStructMatrixView::_get_ior();
2095
sidl_BaseInterface__object * _exception;
2096
/*pack args to dispatch to ior*/
2097
_result = (*(loc_self->d_epv->f_AddToValues))(loc_self->d_object, /* in */
2098
part, /* in rarray[dim] */ index._get_ior(), /* in */ var, /* in
2099
rarray[nentries] */ entries._get_ior(), /* in rarray[nentries] */
2100
values._get_ior(), &_exception );
2102
if (_exception != 0 ) {
2104
throwException0(_exception);
2106
/*unpack results and cleanup*/
2113
* Add to matrix coefficients a box at a time.
2115
* NOTE: Users are required to set values on all processes that
2116
* own the associated variables. This means that some data will
2117
* be multiply defined.
2119
* NOTE: The entries in this routine must all be of stencil
2120
* type. Also, they must all represent couplings to the same
2123
* If the matrix is complex, then {\tt values} consists of pairs
2124
* of doubles representing the real and imaginary parts of each
2128
bHYPRE::SStructMatrixView::AddToBoxValues( /* in */int32_t part, /* in
2129
rarray[dim] */int32_t* ilower, /* in rarray[dim] */int32_t* iupper, /* in
2130
*/int32_t dim, /* in */int32_t var, /* in */int32_t nentries, /* in
2131
rarray[nentries] */int32_t* entries, /* in rarray[nvalues] */double* values,
2132
/* in */int32_t nvalues )
2136
ior_t* const loc_self = (struct bHYPRE_SStructMatrixView__object*)
2137
::bHYPRE::SStructMatrixView::_get_ior();
2138
int32_t ilower_lower[1], ilower_upper[1], ilower_stride[1];
2139
struct sidl_int__array ilower_real;
2140
struct sidl_int__array *ilower_tmp = &ilower_real;
2141
ilower_upper[0] = dim-1;
2142
sidl_int__array_init(ilower, ilower_tmp, 1, ilower_lower, ilower_upper,
2144
int32_t iupper_lower[1], iupper_upper[1], iupper_stride[1];
2145
struct sidl_int__array iupper_real;
2146
struct sidl_int__array *iupper_tmp = &iupper_real;
2147
iupper_upper[0] = dim-1;
2148
sidl_int__array_init(iupper, iupper_tmp, 1, iupper_lower, iupper_upper,
2150
int32_t entries_lower[1], entries_upper[1], entries_stride[1];
2151
struct sidl_int__array entries_real;
2152
struct sidl_int__array *entries_tmp = &entries_real;
2153
entries_upper[0] = nentries-1;
2154
sidl_int__array_init(entries, entries_tmp, 1, entries_lower, entries_upper,
2156
int32_t values_lower[1], values_upper[1], values_stride[1];
2157
struct sidl_double__array values_real;
2158
struct sidl_double__array *values_tmp = &values_real;
2159
values_upper[0] = nvalues-1;
2160
sidl_double__array_init(values, values_tmp, 1, values_lower, values_upper,
2162
sidl_BaseInterface__object * _exception;
2163
/*pack args to dispatch to ior*/
2164
_result = (*(loc_self->d_epv->f_AddToBoxValues))(loc_self->d_object, /* in */
2165
part, /* in rarray[dim] */ ilower_tmp, /* in rarray[dim] */ iupper_tmp, /*
2166
in */ var, /* in rarray[nentries] */ entries_tmp, /* in rarray[nvalues] */
2167
values_tmp, &_exception );
2169
if (_exception != 0 ) {
2170
sidl__array_deleteRef((struct sidl__array *)ilower_tmp);
2171
sidl__array_deleteRef((struct sidl__array *)iupper_tmp);
2172
sidl__array_deleteRef((struct sidl__array *)entries_tmp);
2173
sidl__array_deleteRef((struct sidl__array *)values_tmp);
2175
throwException0(_exception);
2177
sidl__array_deleteRef((struct sidl__array *)ilower_tmp);
2178
sidl__array_deleteRef((struct sidl__array *)iupper_tmp);
2179
sidl__array_deleteRef((struct sidl__array *)entries_tmp);
2180
sidl__array_deleteRef((struct sidl__array *)values_tmp);
2181
/*unpack results and cleanup*/
2188
* Add to matrix coefficients a box at a time.
2190
* NOTE: Users are required to set values on all processes that
2191
* own the associated variables. This means that some data will
2192
* be multiply defined.
2194
* NOTE: The entries in this routine must all be of stencil
2195
* type. Also, they must all represent couplings to the same
2198
* If the matrix is complex, then {\tt values} consists of pairs
2199
* of doubles representing the real and imaginary parts of each
2203
bHYPRE::SStructMatrixView::AddToBoxValues( /* in */int32_t part, /* in
2204
rarray[dim] */::sidl::array<int32_t> ilower, /* in rarray[dim]
2205
*/::sidl::array<int32_t> iupper, /* in */int32_t var, /* in rarray[nentries]
2206
*/::sidl::array<int32_t> entries, /* in rarray[nvalues]
2207
*/::sidl::array<double> values )
2211
ior_t* const loc_self = (struct bHYPRE_SStructMatrixView__object*)
2212
::bHYPRE::SStructMatrixView::_get_ior();
2213
sidl_BaseInterface__object * _exception;
2214
/*pack args to dispatch to ior*/
2215
_result = (*(loc_self->d_epv->f_AddToBoxValues))(loc_self->d_object, /* in */
2216
part, /* in rarray[dim] */ ilower._get_ior(), /* in rarray[dim] */
2217
iupper._get_ior(), /* in */ var, /* in rarray[nentries] */ entries._get_ior(
2218
), /* in rarray[nvalues] */ values._get_ior(), &_exception );
2220
if (_exception != 0 ) {
2222
throwException0(_exception);
2224
/*unpack results and cleanup*/
2211
2225
return _result;