Home
last modified time | relevance | path

Searched refs:Ybusview (Results 1 – 5 of 5) sorted by relevance

/petsc/src/ts/tutorials/power_grid/stability_9bus/
H A Dex9busdmnetwork.c154 PetscViewer Xview, Ybusview; in read_data() local
160 PetscCall(PetscViewerBinaryOpen(PETSC_COMM_SELF, "Ybus.bin", FILE_MODE_READ, &Ybusview)); in read_data()
166 PetscCall(MatLoad(Ybus, Ybusview)); in read_data()
170 PetscCall(PetscViewerDestroy(&Ybusview)); in read_data()
H A Dex9busadj.c772 PetscViewer Xview, Ybusview; in main() local
811 PetscCall(PetscViewerBinaryOpen(PETSC_COMM_WORLD, "Ybus.bin", FILE_MODE_READ, &Ybusview)); in main()
821 PetscCall(MatLoad(user.Ybus, Ybusview)); in main()
841 PetscCall(PetscViewerDestroy(&Ybusview)); in main()
H A Dex9busoptfd.c981 PetscViewer Xview, Ybusview; in FormFunction() local
999 PetscCall(PetscViewerBinaryOpen(PETSC_COMM_WORLD, "Ybus.bin", FILE_MODE_READ, &Ybusview)); in FormFunction()
1009 PetscCall(MatLoad(ctx->Ybus, Ybusview)); in FormFunction()
1012 PetscCall(PetscViewerDestroy(&Ybusview)); in FormFunction()
H A Dex9bus.c1059 PetscViewer Xview, Ybusview, viewer; in main() local
1100 PetscCall(PetscViewerBinaryOpen(PETSC_COMM_WORLD, "Ybus.bin", FILE_MODE_READ, &Ybusview)); in main()
1110 PetscCall(MatLoad(user.Ybus, Ybusview)); in main()
1134 PetscCall(PetscViewerDestroy(&Ybusview)); in main()
H A Dex9busopt.c1035 PetscViewer Xview, Ybusview; in main() local
1107 PetscCall(PetscViewerBinaryOpen(PETSC_COMM_WORLD, "Ybus.bin", FILE_MODE_READ, &Ybusview)); in main()
1117 PetscCall(MatLoad(user.Ybus, Ybusview)); in main()
1120 PetscCall(PetscViewerDestroy(&Ybusview)); in main()