Skip to content

Commit

Permalink
Merge branch 'master' into mpi
Browse files Browse the repository at this point in the history
  • Loading branch information
michel2323 committed Apr 19, 2018
2 parents 3a08f36 + a251db4 commit d38c2a2
Show file tree
Hide file tree
Showing 2 changed files with 131 additions and 36 deletions.
6 changes: 3 additions & 3 deletions examples/psys/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ int main(int argc, char* argv[]) {
cxxopts::Options options("UQ Power", "Perform UQ on power system with AD");

bool external_init = false;
bool propagate_moments = true;
bool propagate_moments = false;

bool TWO_BUS = false;

Expand Down Expand Up @@ -230,10 +230,10 @@ int main(int argc, char* argv[]) {
pTensor4<double> T(dim, dim, dim, chunk);
pTensor3<double> H(dim, dim, dim);
pMatrix<double> J(dim, dim);

for (size_t i = 0; i < sys.dimension; ++i)
cv0[i][i] = 0.0000001;

cv0[4][4] = 0.000001;

for (size_t i = 0; i < tsteps; ++i) {
Expand Down
161 changes: 128 additions & 33 deletions examples/psys/visual.ipynb

Large diffs are not rendered by default.

0 comments on commit d38c2a2

Please sign in to comment.