Closed andersonw1 closed 8 months ago
This PR adds a global prom example for the maxwell equation to libROM (based on MFEM ex3p).
Example run:
Build database mpirun -np 8 maxwell_local_rom_greedy -build_database -greedy-param-min 1.0 -greedy-param-max 1.2 -greedy-param-size 5 -greedysubsize 2 -greedyconvsize 3 -greedyrelerrortol 0.01
Run full-order model mpirun -np 8 maxwell_global_rom --fom -f 1.15
Use reduced-order model mpirun -np 8 maxwell_local_rom_greedy -use_database -online -f 1.15
For this example: Elapsed time for solving FOM: 8.870853e-01 second Elapsed time for solving ROM: 9.554200e-05 second
Relative error of ROM solution = 1.88768e-05
Speedup: x9284.76
@dylan-copeland and @siuwuncheung, would you finish or continue reviewing this PR?
This PR adds a global prom example for the maxwell equation to libROM (based on MFEM ex3p).
Example run:
Build database mpirun -np 8 maxwell_local_rom_greedy -build_database -greedy-param-min 1.0 -greedy-param-max 1.2 -greedy-param-size 5 -greedysubsize 2 -greedyconvsize 3 -greedyrelerrortol 0.01
Run full-order model mpirun -np 8 maxwell_global_rom --fom -f 1.15
Use reduced-order model mpirun -np 8 maxwell_local_rom_greedy -use_database -online -f 1.15
For this example: Elapsed time for solving FOM: 8.870853e-01 second Elapsed time for solving ROM: 9.554200e-05 second
Relative error of ROM solution = 1.88768e-05
Speedup: x9284.76