Skip to content

Commit

Permalink
Remove verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
siuwuncheung committed Jun 20, 2024
1 parent b4fc1fd commit 88a9368
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions examples/prom/elliptic_eigenproblem_global_rom.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -729,25 +729,9 @@ int main(int argc, char *argv[])
mode_rom_ifs.precision(16);
mode_rom.Load(mode_rom_ifs, eigenvectors.NumCols());
mode_rom_ifs.close();
std::cout << "Projecting FOM mode " << i
<< " onto ROM mode " << j << std::endl;
std::cout << "ip = " << InnerProduct(mode_fom, mode_rom) << std::endl;
mode_fom.Add(-InnerProduct(mode_fom, mode_rom), mode_rom);
mode_name.str("");
}
else
{
mode_name << "mode_rom_" << setfill('0') << setw(2) << j << "."
<< setfill('0') << setw(6) << myid;
ifstream mode_rom_ifs(mode_name.str().c_str());
mode_rom_ifs.precision(16);
mode_rom.Load(mode_rom_ifs, eigenvectors.NumCols());
mode_rom_ifs.close();
std::cout << "Not projecting FOM mode " << i
<< " onto ROM mode " << j << std::endl;
std::cout << "ip = " << InnerProduct(mode_fom, mode_rom) << std::endl;
mode_name.str("");
}
}

const double diffNorm = sqrt(InnerProduct(mode_fom, mode_fom));
Expand Down

0 comments on commit 88a9368

Please sign in to comment.