Skip to content

Commit

Permalink
change start row from 2 to 1;add truncate row limit
Browse files Browse the repository at this point in the history
  • Loading branch information
Weilei Zeng at qlab01 committed Sep 22, 2023
1 parent 825a77c commit ed76ce8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions generate_css_code.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,12 @@ int main(int args, char ** argv){
std::string note="no note";parser.get(note,"note");
//set up simulation
for (int n=n_start;n<n_end;n++){
for ( int Gx_row = 2;Gx_row<n-1;Gx_row++){
for ( int Gx_row = 1;Gx_row<n-1;Gx_row++){
// std::cout<<"n="<<n<<", Gx_row="<<Gx_row<<std::endl;
// for ( int Gz_row = (n-Gx_row-3>2)?n-Gx_row-3:2 ; Gz_row < n-Gx_row && Gz_row < Gx_row +3 ; Gz_row ++){ //run for k > 22
for ( int Gz_row = 2; Gz_row < n-Gx_row && Gz_row < Gx_row +3 ; Gz_row ++){ //run for k > 22
for ( int Gz_row = 1; Gz_row < n-Gx_row && Gz_row < Gx_row +3 ; Gz_row ++){ //run for k > 22
// if (Gx_row > 3 || Gz_row >3) continue;

std::cout<<"n="<<n<<", Gx_row="<<Gx_row<<", Gz_row="<<Gz_row<<std::endl;

auto start = std::chrono::system_clock::now();
Expand Down

0 comments on commit ed76ce8

Please sign in to comment.