Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion testsou/cpymat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ int main()
auto wallclock1 = chrono::high_resolution_clock::now();

vector<double> ym;
while(concore.simtime<Nsim){
while(concore.simtime<concore.maxtime){
while (concore.unchanged()){
ym = concore.read(1,"ym",init_simtime_ym);
}
Expand Down
3 changes: 1 addition & 2 deletions testsou/pmpymat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,12 @@ int main()
{
Concore concore;
concore.delay = 0.01;
int Nsim = 100;
string init_simtime_u = "[0.0,0.0,0.0]";
string init_simtime_ym = "[0.0,0.0,0.0]";

vector<double> ym = concore.initval(init_simtime_ym);
vector<double> u;
while(concore.simtime<Nsim){
while(concore.simtime<concore.maxtime){
while (concore.unchanged()){
u = concore.read(1,"u",init_simtime_u);
}
Expand Down
3 changes: 1 addition & 2 deletions testsou/powermeter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,13 @@ int main(){
Concore concore2;
concore.delay = 0.07;
concore2.delay = 0.07;
int Nsim = 100;
string init_simtime_u = "[0.0,0.0,0.0]";
string init_simtime_ym = "[0.0,0.0,0.0]";
int energy = 0;

vector<double> ym = concore.initval(init_simtime_ym);
vector<double> u;
while(concore.simtime<Nsim){
while(concore.simtime<concore.maxtime){
while (concore.unchanged()){
u = concore.read(concore.iport["VC"],"u",init_simtime_u);
}
Expand Down