-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathYMatrix.h
68 lines (40 loc) · 1.14 KB
/
YMatrix.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#ifndef YmatrixH
#define YmatrixH
/*
----------------------------------------------------------
Copyright (c) 2008-2022, Electric Power Research Institute, Inc.
All rights reserved.
----------------------------------------------------------
*/
/*
Unit to manage System Y matrix
6-11-00 Created from Solution.Pas
*/
#include "System.h"
#include "Sysutils.h"
#include "Ucomplex.h"
#include "DSSClass.h"
#include "DSSObject.h"
#include "klusolve.h" // klusparseset_t
/*Options for building Y matrix*/
namespace YMatrix
{
//class EEsolv32Problem;
const int SERIESONLY = 1;
const int WHOLEMATRIX = 2;
const int PDE_ONLY = 3;
//class EEsolv32Problem: public EXCEPTion {
// typedef EXCEPTion inherited;
//};
// removed given the lack of EXCEPTion
class EEsolv32Problem {
};
void BuildYMatrix(int BuildOption, bool AllocateVI, int ActorID);
void ResetSparseMatrix(klusparseset_t* hY, int Size, int ActorID);
void InitializeNodeVbase(int ActorID);
String CheckYMatrixforZeroes(int ActorID);
} // namespace Ymatrix
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE)
using namespace YMatrix;
#endif
#endif // YmatrixH